Go to the documentation of this file. 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;
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
unsigned int getFECNumber(unsigned int i) const
unsigned int getCrate(unsigned int i) const
unsigned int getNFECBoards() const
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This file contains the base class for "pixel configuration data" management.
unsigned int VMEBaseAddressFromFECNumber(unsigned int fecnumber) const
unsigned int FECSlotFromFECNumber(unsigned int fecnumber)
unsigned int getVMEBaseAddress(unsigned int i) const
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
unsigned int getFECSlot(unsigned int i)
unsigned int crateFromFECNumber(unsigned int fecnumber) const
std::vector< PixelFECParameters > fecconfig_
unsigned int FECSlotFromVMEBaseAddress(unsigned int VMEBaseAddress)
This class specifies which FEC boards are used and how they are addressed.