CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Private Attributes | Friends

EcalLogicID Class Reference

#include <EcalLogicID.h>

List of all members.

Public Member Functions

 EcalLogicID ()
 EcalLogicID (std::string name, int logicID, int id1=NULLID, int id2=NULLID, int id3=NULLID, std::string mapsTo="")
int getID1 () const
int getID2 () const
int getID3 () const
int getLogicID () const
std::string getMapsTo () const
std::string getName () const
void setID1 (int x)
void setID2 (int x)
void setID3 (int x)
virtual ~EcalLogicID ()

Static Public Attributes

static const int NULLID = -100

Private Attributes

int id1
int id2
int id3
int logicID
std::string mapsTo
std::string name

Friends

bool operator< (EcalLogicID lhs, EcalLogicID rhs)

Detailed Description

Definition at line 8 of file EcalLogicID.h.


Constructor & Destructor Documentation

EcalLogicID::EcalLogicID ( )

Definition at line 8 of file EcalLogicID.cc.

{
}
EcalLogicID::EcalLogicID ( std::string  name,
int  logicID,
int  id1 = NULLID,
int  id2 = NULLID,
int  id3 = NULLID,
std::string  mapsTo = "" 
)

Definition at line 12 of file EcalLogicID.cc.

References id1, id2, id3, logicID, mapsTo, and name.

{
  this->name = name;
  this->logicID = logicID;
  this->id1 = id1;
  this->id2 = id2;
  this->id3 = id3;
  if (mapsTo.size() == 0) {
    this->mapsTo = name;
  } else {
    this->mapsTo = mapsTo;
  }
}
EcalLogicID::~EcalLogicID ( ) [virtual]

Definition at line 32 of file EcalLogicID.cc.

{
}

Member Function Documentation

int EcalLogicID::getID1 ( ) const
int EcalLogicID::getID2 ( ) const
int EcalLogicID::getID3 ( ) const
int EcalLogicID::getLogicID ( ) const

Definition at line 42 of file EcalLogicID.cc.

References logicID.

Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalChannelStatusHandler::daqOut(), EcalCondDBInterface::getEcalLogicIDForLMPN(), EcalCondDBInterface::getEcalLogicIDForLMR(), popcon::EcalDAQHandler::getNewObjects(), DataReducer< T >::getReducedDataList(), LMFDat::setData(), FEConfigFgrParamDat::writeArrayDB(), FEConfigWeightDat::writeArrayDB(), MonLaserIRedDat::writeArrayDB(), FEConfigFgrEETowerDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), MODCCSHFDat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), FEConfigPedDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), FEConfigLUTParamDat::writeArrayDB(), MODDCCOperationDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), DCUCCSDat::writeArrayDB(), FEConfigFgrEEStripDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNPedDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), FEConfigLinParamDat::writeArrayDB(), MODCCSFEDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), FEConfigLUTDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MODCCSTRDat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), FEConfigSpikeDat::writeArrayDB(), CaliTempDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), FEConfigFgrDat::writeArrayDB(), FEConfigSlidingDat::writeArrayDB(), FEConfigTimingDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), ITimingDat::writeArrayDB(), MODDCCDetailsDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), and MonPNIRedDat::writeArrayDB().

{
  return logicID;
}
std::string EcalLogicID::getMapsTo ( ) const

Definition at line 62 of file EcalLogicID.cc.

References mapsTo.

{
  return mapsTo;
}
std::string EcalLogicID::getName ( void  ) const
void EcalLogicID::setID1 ( int  x) [inline]

Definition at line 35 of file EcalLogicID.h.

References id1, and x.

{ id1 = x; }
void EcalLogicID::setID2 ( int  x) [inline]

Definition at line 36 of file EcalLogicID.h.

References id2, and x.

{ id2 = x; }
void EcalLogicID::setID3 ( int  x) [inline]

Definition at line 37 of file EcalLogicID.h.

References id3, and x.

{ id3 = x; }

Friends And Related Function Documentation

bool operator< ( EcalLogicID  lhs,
EcalLogicID  rhs 
) [friend]

Definition at line 46 of file EcalLogicID.h.

{ return (lhs.logicID < rhs.logicID); }

Member Data Documentation

int EcalLogicID::id1 [private]

Definition at line 51 of file EcalLogicID.h.

Referenced by EcalLogicID(), getID1(), and setID1().

int EcalLogicID::id2 [private]

Definition at line 52 of file EcalLogicID.h.

Referenced by EcalLogicID(), getID2(), and setID2().

int EcalLogicID::id3 [private]

Definition at line 53 of file EcalLogicID.h.

Referenced by EcalLogicID(), getID3(), and setID3().

int EcalLogicID::logicID [private]

Definition at line 50 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getLogicID().

std::string EcalLogicID::mapsTo [private]

Definition at line 54 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getMapsTo().

std::string EcalLogicID::name [private]

Definition at line 49 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getName().

const int EcalLogicID::NULLID = -100 [static]