1 #ifndef PixelFECConfig_h 2 #define PixelFECConfig_h 35 unsigned int getCrate(
unsigned int i)
const;
48 std::ofstream *out1 =
nullptr,
49 std::ofstream *out2 =
nullptr 52 std::ofstream *out1 =
nullptr ,
53 std::ofstream *out2 =
nullptr )
const override ;
55 std::ofstream *out1 =
nullptr,
56 std::ofstream *out2 =
nullptr 64 unsigned int FECSlotFromVMEBaseAddress(
unsigned int VMEBaseAddress) {assert(VMEBaseAddress%0x8000000 == 0);
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.
unsigned int getFECNumber(unsigned int i) const
unsigned int getVMEBaseAddress(unsigned int i) const
unsigned int getCrate(unsigned int i) const
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
unsigned int getFECSlot(unsigned int i)
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
unsigned int crateFromFECNumber(unsigned int fecnumber) const
unsigned int FECSlotFromVMEBaseAddress(unsigned int VMEBaseAddress)
std::vector< PixelFECParameters > fecconfig_
This file contains the base class for "pixel configuration data" management.
PixelFECConfig(std::string filename)
unsigned int VMEBaseAddressFromFECNumber(unsigned int fecnumber) const
void writeASCII(std::string dir="") const override
unsigned int getNFECBoards() const
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 FECSlotFromFECNumber(unsigned int fecnumber)