CMS 3D CMS Logo

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() [1/2]

EcalLogicID::EcalLogicID ( )

Definition at line 7 of file EcalLogicID.cc.

7 {}

◆ EcalLogicID() [2/2]

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

Definition at line 9 of file EcalLogicID.cc.

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

9  {
10  this->name = name;
11  this->logicID = logicID;
12  this->id1 = id1;
13  this->id2 = id2;
14  this->id3 = id3;
15  if (mapsTo.empty()) {
16  this->mapsTo = name;
17  } else {
18  this->mapsTo = mapsTo;
19  }
20 }
std::string name
Definition: EcalLogicID.h:41
std::string mapsTo
Definition: EcalLogicID.h:46

◆ ~EcalLogicID()

EcalLogicID::~EcalLogicID ( )
virtual

Definition at line 23 of file EcalLogicID.cc.

23 {}

Member Function Documentation

◆ getID1()

int EcalLogicID::getID1 ( ) const

Definition at line 30 of file EcalLogicID.cc.

References id1.

Referenced by EcalTPGParamBuilder::analyze(), EcalPedestalHistory::beginRun(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), popcon::EcalChannelStatusHandler::daqOut(), RunDCSHVDat::fillTheMapByTime(), EcalTPGParamBuilder::getCoeff(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGOddWeightGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), 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(), and popcon::EcalDCSHandler::printLVDataSet().

30 { return id1; }

◆ getID2()

int EcalLogicID::getID2 ( ) const

Definition at line 32 of file EcalLogicID.cc.

References id2.

Referenced by EcalTPGParamBuilder::analyze(), EcalPedestalHistory::beginRun(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), RunDCSHVDat::fillTheMapByTime(), EcalTPGParamBuilder::getCoeff(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGOddWeightGroupHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::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().

32 { return id2; }

◆ getID3()

int EcalLogicID::getID3 ( ) const

◆ getLogicID()

int EcalLogicID::getLogicID ( ) const

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

28 { return logicID; }

◆ getMapsTo()

std::string EcalLogicID::getMapsTo ( ) const

Definition at line 36 of file EcalLogicID.cc.

References mapsTo.

36 { return mapsTo; }
std::string mapsTo
Definition: EcalLogicID.h:46

◆ getName()

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

◆ setID1()

void EcalLogicID::setID1 ( int  x)
inline

Definition at line 28 of file EcalLogicID.h.

References id1, and x.

28 { id1 = x; }

◆ setID2()

void EcalLogicID::setID2 ( int  x)
inline

Definition at line 29 of file EcalLogicID.h.

References id2, and x.

29 { id2 = x; }

◆ setID3()

void EcalLogicID::setID3 ( int  x)
inline

Definition at line 30 of file EcalLogicID.h.

References id3, and x.

30 { id3 = x; }

Friends And Related Function Documentation

◆ operator<

bool operator< ( EcalLogicID  lhs,
EcalLogicID  rhs 
)
friend

Definition at line 38 of file EcalLogicID.h.

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

Member Data Documentation

◆ id1

int EcalLogicID::id1
private

Definition at line 43 of file EcalLogicID.h.

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

◆ id2

int EcalLogicID::id2
private

Definition at line 44 of file EcalLogicID.h.

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

◆ id3

int EcalLogicID::id3
private

Definition at line 45 of file EcalLogicID.h.

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

◆ logicID

int EcalLogicID::logicID
private

Definition at line 42 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getLogicID().

◆ mapsTo

std::string EcalLogicID::mapsTo
private

Definition at line 46 of file EcalLogicID.h.

Referenced by EcalLogicID(), and getMapsTo().

◆ name

std::string EcalLogicID::name
private

Definition at line 41 of file EcalLogicID.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), EcalLogicID(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), getName(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), counter.Counter::write(), and average.Average::write().

◆ NULLID

const int EcalLogicID::NULLID = -100
static