#include <PixelToFEDAssociateFromAscii.h>
Classes | |
struct | Bdu |
struct | Edu |
Public Member Functions | |
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) | |
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 19 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 57 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 58 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 39 of file PixelToFEDAssociateFromAscii.h.
PixelToFEDAssociateFromAscii::PixelToFEDAssociateFromAscii | ( | const std::string & | fileName | ) |
Definition at line 13 of file PixelToFEDAssociateFromAscii.cc.
References personalPlayback::fn, and init.
|
private |
Definition at line 149 of file PixelToFEDAssociateFromAscii.cc.
References mps_splice::line, and mps_fire::result.
|
private |
Definition at line 173 of file PixelToFEDAssociateFromAscii.cc.
References mps_splice::line, and mps_fire::result.
|
private |
initialisatin (read file)
Definition at line 44 of file PixelToFEDAssociateFromAscii.cc.
References submitPVResolutionJobs::err, cppFunctionSkipper::exception, geometryDiff::file, triggerObjects_cff::id, mps_splice::line, LogDebug, and str.
|
overridevirtual |
FED id for module.
Reimplemented from PixelToFEDAssociate.
Definition at line 16 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 21 of file PixelToFEDAssociateFromAscii.cc.
References phase1PixelTopology::layerName, and EcalCalibMonitorClient_cfi::moduleName.
int PixelToFEDAssociateFromAscii::operator() | ( | const PixelEndcapName & | id | ) | const |
FED id to which endcape modul (identified by name) should be assigned.
Definition at line 33 of file PixelToFEDAssociateFromAscii.cc.
|
private |
Definition at line 192 of file PixelToFEDAssociateFromAscii.cc.
References Exception, first, cmsLHEtoEOSManager::l, mps_splice::line, LogDebug, EgammaValidation_cff::num, and alignCSCRings::s.
|
private |
initialisation (read input file)
Definition at line 140 of file PixelToFEDAssociateFromAscii.cc.
References b, and MillePedeFileConverter_cfg::e.
|
overridevirtual |
version
Implements PixelToFEDAssociate.
Definition at line 14 of file PixelToFEDAssociateFromAscii.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 59 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 60 of file PixelToFEDAssociateFromAscii.h.
|
private |
Definition at line 63 of file PixelToFEDAssociateFromAscii.h.