#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) | |
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 | |
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 | ) |
Definition at line 14 of file PixelToLNKAssociateFromAscii.cc.
References init.
|
private |
Definition at line 135 of file PixelToLNKAssociateFromAscii.cc.
References edm::hlt::Exception, 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, mergeVDriftHistosByStation::name, PixelPannelType::p3L, PixelPannelType::p3R, PixelPannelType::p4L, PixelPannelType::p4R, PixelBarrelName::pI, PixelEndcapName::pI, PixelEndcapName::pO, PixelBarrelName::pO, PixelToFEDAssociate::DetectorRocId::rocDetId, PixelToFEDAssociate::CablingRocId::rocLinkId, and relval_parameters_module::step.
|
private |
initialisatin (read file)
Definition at line 37 of file PixelToLNKAssociateFromAscii.cc.
References cppFunctionSkipper::exception, mergeVDriftHistosByStation::file, geometryCSVtoXML::line, LogDebug, and LogTrace.
|
virtual |
LNK id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 22 of file PixelToLNKAssociateFromAscii.cc.
References PixelToFEDAssociate::DetectorRocId::module, and PixelToFEDAssociate::DetectorRocId::rocDetId.
|
private |
Definition at line 358 of file PixelToLNKAssociateFromAscii.cc.
References edm::hlt::Exception, first, prof2calltree::l, geometryCSVtoXML::line, LogTrace, pileupDistInMC::num, and alignCSCRings::s.
|
virtual |
version
Implements PixelToFEDAssociate.
Definition at line 17 of file PixelToLNKAssociateFromAscii.cc.
|
private |
Definition at line 42 of file PixelToLNKAssociateFromAscii.h.
|
private |
Definition at line 41 of file PixelToLNKAssociateFromAscii.h.