#include <MTDifSoftId.hh>
Inheritance diagram for MTDifSoftId:
Public Member Functions | |
MTDifSoftId () | |
MTDifSoftId (const MTDifSoftId &orig) | |
~MTDifSoftId () | |
unsigned int | GetChamberId () const |
unsigned int | GetDifId () const |
std::string | toString () const |
std::string | ToString () const |
void | SetValue (unsigned int _chamberId, unsigned int _difId) |
Protected Attributes | |
unsigned int | chamberId |
unsigned int | difId |
Definition at line 18 of file MTDifSoftId.hh.
MTDifSoftId::MTDifSoftId | ( | ) |
MTDifSoftId::MTDifSoftId | ( | const MTDifSoftId & | orig | ) |
MTDifSoftId::~MTDifSoftId | ( | ) |
unsigned int MTDifSoftId::GetChamberId | ( | void | ) | const [inline] |
Definition at line 24 of file MTDifSoftId.hh.
Referenced by MTChannel::GetChamberId(), MTChipSoftId::GetValue(), and MTChannelSoftId::GetValue().
00024 { return chamberId; } ;
unsigned int MTDifSoftId::GetDifId | ( | void | ) | const [inline] |
Definition at line 25 of file MTDifSoftId.hh.
Referenced by MTChannel::GetDifId(), MTChipSoftId::GetValue(), MTChannelSoftId::GetValue(), and MTChip::Info().
00025 { return difId; };
string MTDifSoftId::toString | ( | ) | const |
Reimplemented in MTChannelSoftId, and MTChipSoftId.
Definition at line 36 of file MTDifSoftId.cpp.
Referenced by MTChipSoftId::toString(), and ToString().
00037 { 00038 00039 string result; 00040 stringstream schamberId,sdifId, schipId,srow,scol;// (stringstream::in | stringstream::out); 00041 00042 schamberId<<chamberId; 00043 result="chamber["+schamberId.str(); 00044 sdifId<<difId; 00045 result+="]dif["+sdifId.str()+ "]"; 00046 00047 return result; 00048 00049 }
std::string MTDifSoftId::ToString | ( | ) | const [inline] |
Reimplemented in MTChannelSoftId, and MTChipSoftId.
Definition at line 27 of file MTDifSoftId.hh.
00027 { return toString(); };
void MTDifSoftId::SetValue | ( | unsigned int | _chamberId, | |
unsigned int | _difId | |||
) |
unsigned int MTDifSoftId::chamberId [protected] |
Definition at line 34 of file MTDifSoftId.hh.
Referenced by GetChamberId(), MTChipSoftId::MTChipSoftId(), MTDifSoftId(), SetValue(), and toString().
unsigned int MTDifSoftId::difId [protected] |
Definition at line 35 of file MTDifSoftId.hh.
Referenced by GetDifId(), MTChipSoftId::MTChipSoftId(), MTDifSoftId(), SetValue(), and toString().