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