#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 init, and runGCPTkAlMap::phase.
|
private |
Definition at line 126 of file PixelToLNKAssociateFromAscii.cc.
References Exception, l1t::stage2::layer2::fedId, PixelToFEDAssociate::CablingRocId::fedId, PixelBarrelName::isHalfModule(), PixelToFEDAssociate::CablingRocId::linkId, TRange< T >::max(), PixelEndcapName::mI, PixelBarrelName::mI, TRange< T >::min(), PixelBarrelName::mO, PixelEndcapName::mO, PixelToFEDAssociate::DetectorRocId::module, PixelEndcapName::name(), dataset::name, AlCaHLTBitMon_ParallelJobs::p, PixelPannelType::p2x8, PixelPannelType::p3L, PixelPannelType::p3R, PixelPannelType::p4L, PixelPannelType::p4R, PixelEndcapName::pI, PixelBarrelName::pI, PixelEndcapName::pO, PixelBarrelName::pO, relativeConstraints::ring, PixelToFEDAssociate::DetectorRocId::rocDetId, and PixelToFEDAssociate::CablingRocId::rocLinkId.
|
private |
initialisatin (read file)
Definition at line 32 of file PixelToLNKAssociateFromAscii.cc.
References cppFunctionSkipper::exception, l1t::stage2::layer2::fedId, FrontierConditions_GlobalTag_cff::file, mps_splice::line, and str.
|
overridevirtual |
LNK id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 20 of file PixelToLNKAssociateFromAscii.cc.
References PixelToFEDAssociate::DetectorRocId::module, and PixelToFEDAssociate::DetectorRocId::rocDetId.
|
private |
Definition at line 502 of file PixelToLNKAssociateFromAscii.cc.
References 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.