Go to the documentation of this file.
16 #ifndef DT_CONFIG_MANAGER_H
17 #define DT_CONFIG_MANAGER_H
53 typedef std::map<DTChamberId, innerBtiMap>
BtiMap;
54 typedef std::map<DTChamberId, innerTracoMap>
TracoMap;
55 typedef std::map<DTChamberId, DTConfigTSTheta>
TSThetaMap;
56 typedef std::map<DTChamberId, DTConfigTSPhi>
TSPhiMap;
58 typedef std::map<DTChamberId, DTConfigLUTs>
LUTMap;
bool CCBConfigValidity() const
flag for CCB configuration validity
const DTConfigTraco * getDTConfigTraco(DTTracoId) const
Get desired TRACO configuration.
const DTConfigLUTs * getDTConfigLUTs(DTChamberId) const
Get desired LUT configuration.
bool getDTTPGDebug() const
Get global debug flag.
bool lutFromDB() const
Lut from DB flag.
void setDTConfigLUTs(DTChamberId chambid, DTConfigLUTs conf)
Set DTConfigLUTs for desired chamber.
SectCollMap my_sectcollmap
std::map< DTChamberId, DTConfigTSTheta > TSThetaMap
void setDTConfigPedestals(DTConfigPedestals pedestals)
Set DTConfigPedestals configuration.
void dumpLUTParam(DTChamberId &chambid) const
Dump luts string commands from configuration parameters.
TrigUnitMap my_trigunitmap
const DTConfigBti * getDTConfigBti(DTBtiId) const
Get desired BTI configuration.
std::map< DTTracoId, DTConfigTraco > innerTracoMap
std::map< DTChamberId, innerTracoMap > TracoMap
DTConfigPedestals my_pedestals
void setDTConfigTSTheta(DTChamberId chambid, DTConfigTSTheta conf)
Set DTConfigTSTheta for desired chip.
void setDTConfigTSPhi(DTChamberId chambid, DTConfigTSPhi conf)
Set DTConfigTSPhi for desired chip.
void setDTConfigTrigUnit(DTChamberId chambid, DTConfigTrigUnit conf)
Set DTConfigTrigUnit for desired chamber.
void setDTTPGDebug(bool debug)
SetGlobalDebug flag.
const DTConfigTSTheta * getDTConfigTSTheta(DTChamberId) const
Get desired Trigger Server Theta configuration.
void setUseAcceptParam(bool acceptparam)
Set the use of Bti acceptance parameters (LL,LH,CL,CH,RL,RH)
std::map< DTChamberId, DTConfigLUTs > LUTMap
bool useAcceptParam() const
Use Bti acceptance parameters (LL,LH,CL,CH,RL,RH)
std::map< DTSectCollId, DTConfigSectColl > SectCollMap
const std::map< DTBtiId, DTConfigBti > & getDTConfigBtiMap(DTChamberId) const
Get desired BTI configuration map for a given DTChamber.
void setDTConfigTraco(DTTracoId, DTConfigTraco)
Set DTConfigTraco for desired chip.
void setDTConfigBti(DTBtiId, DTConfigBti)
Set DTConfigBti for desired chip.
void setLutFromDB(bool lutFromDB)
Set lut from DB flag.
int getBXOffset() const
Get BX Offset for a given vdrift config.
std::map< DTChamberId, DTConfigTSPhi > TSPhiMap
~DTConfigManager()
Destructor.
const DTConfigTrigUnit * getDTConfigTrigUnit(DTChamberId) const
Get desired Trigger Unit configuration.
const DTConfigPedestals * getDTConfigPedestals() const
Get desired Pedestals configuration.
void setDTConfigSectColl(DTSectCollId sectcollid, DTConfigSectColl conf)
Set DTConfigSectColl for desired chip.
const std::map< DTTracoId, DTConfigTraco > & getDTConfigTracoMap(DTChamberId) const
Get desired TRACO configuration map for a given DTChamber.
std::map< DTBtiId, DTConfigBti > innerBtiMap
DTConfigManager()
Constructor.
std::map< DTChamberId, innerBtiMap > BtiMap
void setCCBConfigValidity(bool CCBValid)
Set the flag for CCB configuration validity.
const DTConfigTSPhi * getDTConfigTSPhi(DTChamberId) const
Get desired Trigger Server Phi configuration.
const DTConfigSectColl * getDTConfigSectColl(DTSectCollId) const
Get desired SectorCollector configuration.
std::map< DTChamberId, DTConfigTrigUnit > TrigUnitMap