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.
unsigned int getFECNumber(unsigned int i) const
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
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
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 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.
tuple key
prepare the HTCondor submission files and eventually submit them
PixelFECConfig(std::string filename)
unsigned int VMEBaseAddressFromFECNumber(unsigned int fecnumber) const
unsigned int getNFECBoards() const
void writeASCII(std::string dir="") const override
std::vector< PixelFECParameters > fecconfig_
unsigned int FECSlotFromFECNumber(unsigned int fecnumber)