test
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 7 of file EcalLogicID.h.

Constructor & Destructor Documentation

EcalLogicID::EcalLogicID ( )

Definition at line 7 of file EcalLogicID.cc.

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

Definition at line 11 of file EcalLogicID.cc.

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

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

Definition at line 31 of file EcalLogicID.cc.

32 {
33 }

Member Function Documentation

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

Definition at line 51 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().

52 {
53  return id2;
54 }
int EcalLogicID::getID3 ( ) const
int EcalLogicID::getLogicID ( ) const

Definition at line 41 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().

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

Definition at line 61 of file EcalLogicID.cc.

References mapsTo.

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

Definition at line 34 of file EcalLogicID.h.

References id1, and x.

34 { id1 = x; }
Definition: DDAxes.h:10
void EcalLogicID::setID2 ( int  x)
inline

Definition at line 35 of file EcalLogicID.h.

References id2, and x.

35 { id2 = x; }
Definition: DDAxes.h:10
void EcalLogicID::setID3 ( int  x)
inline

Definition at line 36 of file EcalLogicID.h.

References id3, and x.

36 { id3 = x; }
Definition: DDAxes.h:10

Friends And Related Function Documentation

bool operator< ( EcalLogicID  lhs,
EcalLogicID  rhs 
)
friend

Definition at line 45 of file EcalLogicID.h.

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

Member Data Documentation

int EcalLogicID::id1
private

Definition at line 50 of file EcalLogicID.h.

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

int EcalLogicID::id2
private

Definition at line 51 of file EcalLogicID.h.

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

int EcalLogicID::id3
private

Definition at line 52 of file EcalLogicID.h.

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

int EcalLogicID::logicID
private

Definition at line 49 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getLogicID().

std::string EcalLogicID::mapsTo
private

Definition at line 53 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getMapsTo().

std::string EcalLogicID::name
private
const int EcalLogicID::NULLID = -100
static