1 #ifndef PixelDetectorConfig_h
2 #define PixelDetectorConfig_h
63 std::ofstream *out1 =
NULL,
64 std::ofstream *out2 =
NULL
67 std::ofstream *out1 =
NULL ,
68 std::ofstream *out2 =
NULL )
const ;
70 std::ofstream *out1 =
NULL,
71 std::ofstream *out2 =
NULL
85 std::map<PixelROCName, PixelROCStatus>
rocs_;
This file contains the base class for "pixel configuration data" management.
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
std::set< unsigned int > getFEDs(PixelNameTranslation *translation) const
std::map< unsigned int, std::set< unsigned int > > getFEDsAndChannels(PixelNameTranslation *translation) const
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) 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...
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
This file contains the base class for "pixel configuration data" management.
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...
void writeASCII(std::string dir="") const
std::vector< PixelModuleName > modules_
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
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.