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 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)
void writeASCII(std::string dir) const override
std::set< PixelModuleName > modules(std::string portCardName) const
This file contains the base class for "pixel configuration data" management.
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
~PixelPortcardMap() override
This is the documentation about PixelDetectorConfig...
const std::pair< std::string, int > PortCardAndAOH(const PixelModuleName &aModule, const std::string &TBMChannel) 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.
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
int numChannels(const PixelModuleName &aModule)
bool getName(std::string moduleName, std::string &portcardName)
std::map< PixelChannel, std::pair< std::string, int > > map_
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override