CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Attributes | Friends
EcalLogicID Class Reference

#include <EcalLogicID.h>

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.

9 {
10 }
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.

18 {
19  this->name = name;
20  this->logicID = logicID;
21  this->id1 = id1;
22  this->id2 = id2;
23  this->id3 = id3;
24  if (mapsTo.size() == 0) {
25  this->mapsTo = name;
26  } else {
27  this->mapsTo = mapsTo;
28  }
29 }
std::string name
Definition: EcalLogicID.h:49
std::string mapsTo
Definition: EcalLogicID.h:54
EcalLogicID::~EcalLogicID ( )
virtual

Definition at line 32 of file EcalLogicID.cc.

33 {
34 }

Member Function Documentation

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

Definition at line 52 of file EcalLogicID.cc.

References id2.

Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), RunDCSHVDat::fillTheMapByTime(), EcalTPGParamBuilder::getCoeff(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::insertLVDataSetToOffline(), popcon::EcalChannelStatusHandler::laserAnalysis(), popcon::EcalChannelStatusHandler::laserMasking(), popcon::EcalChannelStatusHandler::nBadLaserModules(), popcon::EcalChannelStatusHandler::pedAnalysis(), popcon::EcalChannelStatusHandler::pedMasking(), popcon::EcalChannelStatusHandler::pedOnlineMasking(), popcon::EcalChannelStatusHandler::physicsMasking(), popcon::EcalDCSHandler::printHVDataSet(), popcon::EcalDCSHandler::printLVDataSet(), and EcalTPGDBApp::readFromConfDB_TPGPedestals().

53 {
54  return id2;
55 }
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(), MODCCSFEDat::writeArrayDB(), MODCCSTRDat::writeArrayDB(), MODDCCOperationDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), FEConfigWeightDat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), FEConfigFgrDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), FEConfigLUTDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), FEConfigSlidingDat::writeArrayDB(), FEConfigSpikeDat::writeArrayDB(), FEConfigTimingDat::writeArrayDB(), FEConfigFgrEETowerDat::writeArrayDB(), FEConfigLinParamDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), FEConfigFgrEEStripDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), FEConfigFgrParamDat::writeArrayDB(), FEConfigLUTParamDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), FEConfigPedDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), CaliTempDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLaserIRedDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MODCCSHFDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MODDCCDetailsDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), DCUCCSDat::writeArrayDB(), and ITimingDat::writeArrayDB().

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

Definition at line 62 of file EcalLogicID.cc.

References mapsTo.

63 {
64  return mapsTo;
65 }
std::string mapsTo
Definition: EcalLogicID.h:54
std::string EcalLogicID::getName ( void  ) const
void EcalLogicID::setID1 ( int  x)
inline

Definition at line 35 of file EcalLogicID.h.

References id1, and vdt::x.

35 { id1 = x; }
x
Definition: VDTMath.h:216
void EcalLogicID::setID2 ( int  x)
inline

Definition at line 36 of file EcalLogicID.h.

References id2, and vdt::x.

36 { id2 = x; }
x
Definition: VDTMath.h:216
void EcalLogicID::setID3 ( int  x)
inline

Definition at line 37 of file EcalLogicID.h.

References id3, and vdt::x.

37 { id3 = x; }
x
Definition: VDTMath.h:216

Friends And Related Function Documentation

bool operator< ( EcalLogicID  lhs,
EcalLogicID  rhs 
)
friend

Definition at line 46 of file EcalLogicID.h.

46 { 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
const int EcalLogicID::NULLID = -100
static