1 #ifndef PixelFECConfig_h 2 #define PixelFECConfig_h 35 unsigned int getCrate(
unsigned int i)
const;
50 std::ofstream *
out1 =
nullptr,
51 std::ofstream *
out2 =
nullptr)
const override;
52 void writeXML(std::ofstream *
out, std::ofstream *
out1 =
nullptr, std::ofstream *
out2 =
nullptr)
const override;
54 std::ofstream *
out1 =
nullptr,
55 std::ofstream *
out2 =
nullptr)
const override;
62 assert(VMEBaseAddress % 0x8000000 == 0);
63 return VMEBaseAddress / 0x8000000;
This class specifies which FEC boards are used and how they are addressed.
This file contains the base class for "pixel configuration data" management.
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
unsigned int getFECSlot(unsigned int i)
unsigned int crateFromFECNumber(unsigned int fecnumber) const
unsigned int FECSlotFromVMEBaseAddress(unsigned int VMEBaseAddress)
This file contains the base class for "pixel configuration data" management.
unsigned int getVMEBaseAddress(unsigned int i) const
PixelFECConfig(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
void writeASCII(std::string dir="") const override
unsigned int getFECNumber(unsigned int i) const
std::vector< PixelFECParameters > fecconfig_
unsigned int getCrate(unsigned int i) const
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
unsigned int VMEBaseAddressFromFECNumber(unsigned int fecnumber) const
unsigned int FECSlotFromFECNumber(unsigned int fecnumber)
unsigned int getNFECBoards() const