CMS 3D CMS Logo

EcalLogicID Class Reference

#include <OnlineDB/EcalCondDB/interface/EcalLogicID.h>

List of all members.

Public Member Functions

 EcalLogicID (std::string name, int logicID, int id1=NULLID, int id2=NULLID, int id3=NULLID, std::string mapsTo="")
 EcalLogicID ()
int getID1 () const
int getID2 () const
int getID3 () const
int getLogicID () const
std::string getMapsTo () const
std::string getName () const
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.

00009 {
00010 }

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.

00018 {
00019   this->name = name;
00020   this->logicID = logicID;
00021   this->id1 = id1;
00022   this->id2 = id2;
00023   this->id3 = id3;
00024   if (mapsTo.size() == 0) {
00025     this->mapsTo = name;
00026   } else {
00027     this->mapsTo = mapsTo;
00028   }
00029 }

EcalLogicID::~EcalLogicID (  )  [virtual]

Definition at line 32 of file EcalLogicID.cc.

00033 {
00034 }


Member Function Documentation

int EcalLogicID::getID1 (  )  const

Definition at line 47 of file EcalLogicID.cc.

References id1.

Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalTPGDBApp::readFromConfDB_TPGPedestals().

00048 {
00049   return id1;
00050 }

int EcalLogicID::getID2 (  )  const

Definition at line 52 of file EcalLogicID.cc.

References id2.

Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalTPGDBApp::readFromConfDB_TPGPedestals().

00053 {
00054   return id2;
00055 }

int EcalLogicID::getID3 (  )  const

Definition at line 57 of file EcalLogicID.cc.

References id3.

00058 {
00059   return id3;
00060 }

int EcalLogicID::getLogicID (  )  const

Definition at line 42 of file EcalLogicID.cc.

References logicID.

Referenced by EEPedestalClient::analyze(), EETimingClient::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EEIntegrityClient::analyze(), EETestPulseClient::analyze(), EEPedestalOnlineClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EELedClient::analyze(), EBIntegrityClient::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), MonLaserIRedDat::writeArrayDB(), FEConfigWeightDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), LMFTestPulseConfigDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), LMFLaserPrimDat::writeArrayDB(), LMFLaserBluePrimDat::writeArrayDB(), FEConfigPedDat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), LMFPNBlueDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), LMFLaserPNPrimDat::writeArrayDB(), FEConfigLUTDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), LMFLaserBlueRawDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), CaliTempDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), LMFPNBluePrimDat::writeArrayDB(), LMFCalibPrimDat::writeArrayDB(), FEConfigSlidingDat::writeArrayDB(), FEConfigFgrDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), LMFLaserConfigDat::writeArrayDB(), LMFLaserBlueNormDat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), and ITimingDat::writeArrayDB().

00043 {
00044   return logicID;
00045 }

std::string EcalLogicID::getMapsTo (  )  const

Definition at line 62 of file EcalLogicID.cc.

References mapsTo.

00063 {
00064   return mapsTo;
00065 }

std::string EcalLogicID::getName ( void   )  const

Definition at line 37 of file EcalLogicID.cc.

References name.

00038 {
00039   return name;
00040 }


Friends And Related Function Documentation

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

Definition at line 43 of file EcalLogicID.h.

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


Member Data Documentation

int EcalLogicID::id1 [private]

Definition at line 48 of file EcalLogicID.h.

Referenced by getID1().

int EcalLogicID::id2 [private]

Definition at line 49 of file EcalLogicID.h.

Referenced by getID2().

int EcalLogicID::id3 [private]

Definition at line 50 of file EcalLogicID.h.

Referenced by getID3().

int EcalLogicID::logicID [private]

Definition at line 47 of file EcalLogicID.h.

Referenced by getLogicID().

std::string EcalLogicID::mapsTo [private]

Definition at line 51 of file EcalLogicID.h.

Referenced by getMapsTo().

std::string EcalLogicID::name [private]

Definition at line 46 of file EcalLogicID.h.

Referenced by getName().

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

Definition at line 40 of file EcalLogicID.h.

Referenced by EcalTPGParamBuilder::analyze(), LogicID::getEcalLogicID(), and EcalCondDBInterface::getEcalLogicID().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:44 2009 for CMSSW by  doxygen 1.5.4