1 #ifndef PixelFECConfig_h
2 #define PixelFECConfig_h
35 unsigned int getCrate(
unsigned int i)
const;
48 std::ofstream *out1 =
NULL,
49 std::ofstream *out2 =
NULL
52 std::ofstream *out1 =
NULL ,
53 std::ofstream *out2 =
NULL )
const ;
55 std::ofstream *out1 =
NULL,
56 std::ofstream *out2 =
NULL
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.
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.
unsigned int getFECNumber(unsigned int i) const
unsigned int getVMEBaseAddress(unsigned int i) const
unsigned int getCrate(unsigned int i) const
unsigned int getFECSlot(unsigned int i)
unsigned int crateFromFECNumber(unsigned int fecnumber) const
unsigned int FECSlotFromVMEBaseAddress(unsigned int VMEBaseAddress)
void writeASCII(std::string dir="") const
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 writeXML(pos::PixelConfigKey key, int version, std::string path) const
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
unsigned int getNFECBoards() const
unsigned int FECSlotFromFECNumber(unsigned int fecnumber)