#include <PixelToFEDAssociateFromAscii.h>
Classes | |
struct | Bdu |
struct | Edu |
Public Member Functions | |
virtual int | operator() (const PixelModuleName &) const override |
FED id for module. More... | |
int | operator() (const PixelBarrelName &) const |
FED id to which barrel modul (identified by name) should be assigned. More... | |
int | operator() (const PixelEndcapName &) const |
FED id to which endcape modul (identified by name) should be assigned. More... | |
PixelToFEDAssociateFromAscii (const std::string &fileName) | |
virtual std::string | version () const override |
version More... | |
Public Member Functions inherited from PixelToFEDAssociate | |
virtual const CablingRocId * | operator() (const DetectorRocId &roc) const |
LNK id for module. More... | |
virtual | ~PixelToFEDAssociate () |
Private Types | |
typedef std::vector< std::pair< int, std::vector< Bdu > > > | BarrelConnections |
typedef std::vector< std::pair< int, std::vector< Edu > > > | EndcapConnections |
typedef TRange< int > | Range |
Private Member Functions | |
Bdu | getBdu (std::string) const |
Edu | getEdu (std::string) const |
void | init (const std::string &fileName) |
initialisatin (read file) More... | |
Range | readRange (const std::string &) const |
void | send (std::pair< int, std::vector< Bdu > > &, std::pair< int, std::vector< Edu > > &) |
initialisation (read input file) More... | |
Private Attributes | |
BarrelConnections | theBarrel |
EndcapConnections | theEndcap |
std::string | theVersion |
Check to which FED pixel module belongs to. The associacions are read from the datafile
Definition at line 21 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 54 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 55 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 44 of file PixelToFEDAssociateFromAscii.h.
PixelToFEDAssociateFromAscii::PixelToFEDAssociateFromAscii | ( | const std::string & | fileName | ) |
Definition at line 14 of file PixelToFEDAssociateFromAscii.cc.
References init.
|
private |
Definition at line 174 of file PixelToFEDAssociateFromAscii.cc.
References PixelToFEDAssociateFromAscii::Bdu::b, PixelToFEDAssociateFromAscii::Bdu::f, PixelToFEDAssociateFromAscii::Bdu::l, mps_fire::result, and PixelToFEDAssociateFromAscii::Bdu::z.
|
private |
Definition at line 196 of file PixelToFEDAssociateFromAscii.cc.
References PixelToFEDAssociateFromAscii::Edu::b, PixelToFEDAssociateFromAscii::Edu::d, PixelToFEDAssociateFromAscii::Edu::e, and mps_fire::result.
|
private |
initialisatin (read file)
Definition at line 63 of file PixelToFEDAssociateFromAscii.cc.
References cppFunctionSkipper::exception, FrontierConditions_GlobalTag_cff::file, hcalTTPDigis_cfi::id, geometryCSVtoXML::line, LogDebug, and harvestTrackValidationPlots::str.
|
overridevirtual |
FED id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 22 of file PixelToFEDAssociateFromAscii.cc.
int PixelToFEDAssociateFromAscii::operator() | ( | const PixelBarrelName & | id | ) | const |
FED id to which barrel modul (identified by name) should be assigned.
Definition at line 29 of file PixelToFEDAssociateFromAscii.cc.
References edm::moduleName().
int PixelToFEDAssociateFromAscii::operator() | ( | const PixelEndcapName & | id | ) | const |
FED id to which endcape modul (identified by name) should be assigned.
Definition at line 46 of file PixelToFEDAssociateFromAscii.cc.
|
private |
Definition at line 215 of file PixelToFEDAssociateFromAscii.cc.
References Exception, plotBeamSpotDB::first, checklumidiff::l, geometryCSVtoXML::line, LogDebug, pileupDistInMC::num, and alignCSCRings::s.
|
private |
initialisation (read input file)
Definition at line 165 of file PixelToFEDAssociateFromAscii.cc.
References b, and MillePedeFileConverter_cfg::e.
|
overridevirtual |
version
Implements PixelToFEDAssociate.
Definition at line 17 of file PixelToFEDAssociateFromAscii.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 56 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 57 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 61 of file PixelToFEDAssociateFromAscii.h.