#include <DifSoftId.hh>
Inheritance diagram for DifSoftId:
Public Member Functions | |
DifSoftId () | |
DifSoftId (const DifSoftId &orig) | |
~DifSoftId () | |
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 16 of file DifSoftId.hh.
DifSoftId::DifSoftId | ( | ) |
DifSoftId::DifSoftId | ( | const DifSoftId & | orig | ) |
DifSoftId::~DifSoftId | ( | ) |
unsigned int DifSoftId::GetChamberId | ( | ) | const [inline] |
Definition at line 22 of file DifSoftId.hh.
Referenced by ChipSoftId::GetValue(), and ChannelSoftId::GetValue().
00022 { return chamberId; } ;
unsigned int DifSoftId::GetDifId | ( | ) | const [inline] |
Definition at line 23 of file DifSoftId.hh.
Referenced by ChipSoftId::GetValue(), and ChannelSoftId::GetValue().
00023 { return difId; };
string DifSoftId::toString | ( | ) | const |
Reimplemented in ChannelSoftId, and ChipSoftId.
Definition at line 32 of file DifSoftId.cpp.
Referenced by BeamProfile::FillHitPerChipDist(), ChipSoftId::toString(), and ToString().
00033 { 00034 00035 string result; 00036 stringstream schamberId,sdifId, schipId,srow,scol;// (stringstream::in | stringstream::out); 00037 00038 schamberId<<chamberId; 00039 result="chamber["+schamberId.str(); 00040 sdifId<<difId; 00041 result+="]dif["+sdifId.str()+ "]"; 00042 00043 return result; 00044 00045 }
std::string DifSoftId::ToString | ( | ) | const [inline] |
Reimplemented in ChannelSoftId, and ChipSoftId.
Definition at line 25 of file DifSoftId.hh.
00025 { return toString(); };
void DifSoftId::SetValue | ( | unsigned int | _chamberId, | |
unsigned int | _difId | |||
) |
unsigned int DifSoftId::chamberId [protected] |
Definition at line 32 of file DifSoftId.hh.
Referenced by ChipSoftId::ChipSoftId(), DifSoftId(), GetChamberId(), SetValue(), and toString().
unsigned int DifSoftId::difId [protected] |
Definition at line 33 of file DifSoftId.hh.
Referenced by ChipSoftId::ChipSoftId(), DifSoftId(), GetDifId(), SetValue(), and toString().