#include <PixelToLNKAssociateFromAscii.h>
Public Types | |
typedef PixelToFEDAssociate::CablingRocId | CablingRocId |
typedef PixelToFEDAssociate::DetectorRocId | DetectorRocId |
Public Member Functions | |
const CablingRocId * | operator() (const DetectorRocId &roc) const override |
LNK id for module. More... | |
PixelToLNKAssociateFromAscii (const std::string &fileName, const bool phase1=false) | |
std::string | version () const override |
version More... | |
Public Member Functions inherited from PixelToFEDAssociate | |
virtual int | operator() (const PixelModuleName &) const |
FED id for module. More... | |
virtual | ~PixelToFEDAssociate () |
Private Types | |
typedef TRange< int > | Range |
Private Member Functions | |
void | addConnections (int fedId, int linkId, std::string module, Range rocDetIds) |
void | init (const std::string &fileName) |
initialisatin (read file) More... | |
Range | readRange (const std::string &) const |
Private Attributes | |
bool | phase1_ |
std::vector< std::pair< DetectorRocId, CablingRocId > > | theConnection |
std::string | theVersion |
Check to which FED pixel module belongs to. The associacions are read from the datafile
Definition at line 20 of file PixelToLNKAssociateFromAscii.h.
Definition at line 22 of file PixelToLNKAssociateFromAscii.h.
Definition at line 23 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 33 of file PixelToLNKAssociateFromAscii.h.
PixelToLNKAssociateFromAscii::PixelToLNKAssociateFromAscii | ( | const std::string & | fileName, |
const bool | phase1 = false |
||
) |
Definition at line 14 of file PixelToLNKAssociateFromAscii.cc.
References personalPlayback::fn, init, and HLT_2018_cff::phase.
|
private |
Definition at line 126 of file PixelToLNKAssociateFromAscii.cc.
References Exception, PixelToFEDAssociate::CablingRocId::fedId, l1tstage2_dqm_sourceclient-live_cfg::fedId, PixelToFEDAssociate::CablingRocId::linkId, TRange< T >::max(), PixelEndcapName::mI, PixelBarrelName::mI, TRange< T >::min(), PixelBarrelName::mO, PixelEndcapName::mO, PixelToFEDAssociate::DetectorRocId::module, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, PixelPannelType::p2x8, PixelPannelType::p3L, PixelPannelType::p3R, PixelPannelType::p4L, PixelPannelType::p4R, PixelBarrelName::pI, PixelEndcapName::pI, PixelEndcapName::pO, PixelBarrelName::pO, relativeConstraints::ring, PixelToFEDAssociate::DetectorRocId::rocDetId, PixelToFEDAssociate::CablingRocId::rocLinkId, and PixelMapPlotter::rocs.
|
private |
initialisatin (read file)
Definition at line 32 of file PixelToLNKAssociateFromAscii.cc.
References runTheMatrix::err, cppFunctionSkipper::exception, l1tstage2_dqm_sourceclient-live_cfg::fedId, FrontierConditions_GlobalTag_cff::file, mps_splice::line, FastTimerService_cff::range, and str.
|
overridevirtual |
LNK id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 20 of file PixelToLNKAssociateFromAscii.cc.
References PixelMapPlotter::roc.
|
private |
Definition at line 502 of file PixelToLNKAssociateFromAscii.cc.
References testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, cmsLHEtoEOSManager::l, and AlCaHLTBitMon_ParallelJobs::p.
|
overridevirtual |
version
Implements PixelToFEDAssociate.
Definition at line 18 of file PixelToLNKAssociateFromAscii.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 41 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 39 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 38 of file PixelToLNKAssociateFromAscii.h.