1 #ifndef PixelPortcardMap_h
2 #define PixelPortcardMap_h
54 std::set< PixelModuleName >
modules(std::string portCardName)
const;
60 bool getName(std::string moduleName, std::string &portcardName) ;
68 std::ofstream *out1 =
NULL,
69 std::ofstream *out2 =
NULL
72 std::ofstream *out1 =
NULL ,
73 std::ofstream *out2 =
NULL )
const ;
75 std::ofstream *out1 =
NULL,
76 std::ofstream *out2 =
NULL
81 std::map< PixelChannel, std::pair<std::string, int> >
map_;
This class specifies which detector components are used in the configuration (and eventually should s...
This file contains the base class for "pixel configuration data" management.
Simple class to hold either "A" or "B" for the TBM channel.
PixelPortcardMap(std::string filename)
std::set< PixelModuleName > modules(std::string portCardName) const
This file contains the base class for "pixel configuration data" management.
virtual void writeASCII(std::string dir) const
This is the documentation about PixelDetectorConfig...
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
virtual ~PixelPortcardMap()
const std::pair< std::string, int > PortCardAndAOH(const PixelModuleName &aModule, const std::string &TBMChannel) const
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
const std::set< std::pair< std::string, int > > PortCardAndAOHs(const PixelModuleName &aModule) const
const std::set< std::string > portcards(const PixelModuleName &aModule) const
Simple class to hold either "A" or "B" for the TBM channel.
int numChannels(const PixelModuleName &aModule)
std::map< PixelChannel, std::pair< std::string, int > > map_
bool getName(std::string moduleName, std::string &portcardName)