#include <PixelToLNKAssociateFromAscii.h>
Public Types | |
typedef PixelToFEDAssociate::CablingRocId | CablingRocId |
typedef PixelToFEDAssociate::DetectorRocId | DetectorRocId |
Public Member Functions | |
virtual const CablingRocId * | operator() (const DetectorRocId &roc) const |
LNK id for module. More... | |
PixelToLNKAssociateFromAscii (const std::string &fileName, const bool phase1=false) | |
virtual std::string | version () const |
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 23 of file PixelToLNKAssociateFromAscii.h.
Definition at line 24 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 34 of file PixelToLNKAssociateFromAscii.h.
PixelToLNKAssociateFromAscii::PixelToLNKAssociateFromAscii | ( | const std::string & | fileName, |
const bool | phase1 = false |
||
) |
Definition at line 14 of file PixelToLNKAssociateFromAscii.cc.
References StGenEvtProducer_cfi::init.
|
private |
Definition at line 135 of file PixelToLNKAssociateFromAscii.cc.
References Exception, l1t::stage2::layer2::fedId, PixelToFEDAssociate::CablingRocId::fedId, PixelBarrelName::isHalfModule(), PixelToFEDAssociate::CablingRocId::linkId, TRange< T >::max(), PixelBarrelName::mI, PixelEndcapName::mI, TRange< T >::min(), PixelEndcapName::mO, PixelBarrelName::mO, PixelToFEDAssociate::DetectorRocId::module, python.rootplot.argparse::module, PixelEndcapName::name(), dataset::name, AlCaHLTBitMon_ParallelJobs::p, PixelPannelType::p2x8, PixelPannelType::p3L, PixelPannelType::p3R, PixelPannelType::p4L, PixelPannelType::p4R, PixelEndcapName::pI, PixelBarrelName::pI, PixelBarrelName::pO, PixelEndcapName::pO, relativeConstraints::ring, PixelToFEDAssociate::DetectorRocId::rocDetId, and PixelToFEDAssociate::CablingRocId::rocLinkId.
|
private |
initialisatin (read file)
Definition at line 36 of file PixelToLNKAssociateFromAscii.cc.
References cppFunctionSkipper::exception, l1t::stage2::layer2::fedId, FrontierConditions_GlobalTag_cff::file, geometryCSVtoXML::line, and harvestTrackValidationPlots::str.
|
virtual |
LNK id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 23 of file PixelToLNKAssociateFromAscii.cc.
References PixelToFEDAssociate::DetectorRocId::module, and PixelToFEDAssociate::DetectorRocId::rocDetId.
|
private |
Definition at line 431 of file PixelToLNKAssociateFromAscii.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
virtual |
version
Implements PixelToFEDAssociate.
Definition at line 19 of file PixelToLNKAssociateFromAscii.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 42 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 40 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 39 of file PixelToLNKAssociateFromAscii.h.