1 #ifndef PixelDetectorConfig_h 2 #define PixelDetectorConfig_h 61 std::ofstream *
out1 =
nullptr,
62 std::ofstream *
out2 =
nullptr)
const override;
63 void writeXML(std::ofstream *out, std::ofstream *
out1 =
nullptr, std::ofstream *
out2 =
nullptr)
const override;
65 std::ofstream *
out1 =
nullptr,
66 std::ofstream *
out2 =
nullptr)
const override;
78 std::map<PixelROCName, PixelROCStatus>
rocs_;
This file contains the base class for "pixel configuration data" management.
std::set< unsigned int > getFEDs(PixelNameTranslation *translation) const
std::map< unsigned int, std::set< unsigned int > > getFEDsAndChannels(PixelNameTranslation *translation) const
Store mfec, mfecchannel etc.
unsigned int getNModules() const
This class provides a translation from the naming documents standard to specify the ROC to the corres...
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
This file contains the base class for "pixel configuration data" management.
void writeASCII(std::string dir="") const override
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
PixelDetectorConfig(std::vector< std::vector< std::string > > &tableMat)
std::map< PixelROCName, PixelROCStatus > rocs_
PixelModuleName getModule(unsigned int i) const
This is the documentation about PixelDetectorConfig...
std::vector< PixelModuleName > modules_
const std::vector< PixelModuleName > & getModuleList() const
void addROC(PixelROCName &, std::string statusLabel)
This is the documentation about PixelNameTranslation...
bool containsModule(const PixelModuleName &moduleToFind) const
const std::map< PixelROCName, PixelROCStatus > & getROCsList() const
void removeROC(PixelROCName &)
This class keeps the possible non-standard status a ROC can have.