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::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.empty()) {
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

Definition at line 46 of file EcalLogicID.cc.

References id1.

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

47 {
48  return id1;
49 }
int EcalLogicID::getID2 ( ) const

Definition at line 51 of file EcalLogicID.cc.

References id2.

Referenced by EcalTPGParamBuilder::analyze(), EcalPedestalHistory::beginRun(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), RunDCSHVDat::fillTheMapByTime(), EcalTPGParamBuilder::getCoeff(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::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(), FEConfigWeightDat::writeArrayDB(), FEConfigFgrDat::writeArrayDB(), FEConfigLUTDat::writeArrayDB(), FEConfigSlidingDat::writeArrayDB(), FEConfigSpikeDat::writeArrayDB(), FEConfigTimingDat::writeArrayDB(), MODCCSFEDat::writeArrayDB(), MODCCSTRDat::writeArrayDB(), MODDCCOperationDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), FEConfigFgrEETowerDat::writeArrayDB(), FEConfigLinParamDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), FEConfigFgrEEStripDat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), FEConfigFgrParamDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), FEConfigLUTParamDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), FEConfigPedDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), CaliTempDat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonLaserIRedDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MODCCSHFDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonPNGreenDat::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.

Referenced by setID3().

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; }
void EcalLogicID::setID2 ( int  x)
inline

Definition at line 35 of file EcalLogicID.h.

References id2, and x.

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

Definition at line 36 of file EcalLogicID.h.

References getMapsTo(), id3, AlCaHLTBitMon_QueryRunRegistry::string, and x.

36 { id3 = x; }

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

Definition at line 48 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(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), 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(), 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(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().

const int EcalLogicID::NULLID = -100
static