CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
DTConfigManager Class Reference

#include <DTConfigManager.h>

Public Types

typedef std::map< DTChamberId,
innerBtiMap
BtiMap
 
typedef std::map< DTBtiId,
DTConfigBti
innerBtiMap
 
typedef std::map< DTTracoId,
DTConfigTraco
innerTracoMap
 
typedef std::map< DTChamberId,
DTConfigLUTs
LUTMap
 
typedef std::map< DTSectCollId,
DTConfigSectColl
SectCollMap
 
typedef std::map< DTChamberId,
innerTracoMap
TracoMap
 
typedef std::map< DTChamberId,
DTConfigTrigUnit
TrigUnitMap
 
typedef std::map< DTChamberId,
DTConfigTSPhi
TSPhiMap
 
typedef std::map< DTChamberId,
DTConfigTSTheta
TSThetaMap
 

Public Member Functions

bool CCBConfigValidity () const
 flag for CCB configuration validity More...
 
 DTConfigManager ()
 Constructor. More...
 
void dumpLUTParam (DTChamberId &chambid) const
 Dump luts string commands from configuration parameters. More...
 
int getBXOffset () const
 Get BX Offset for a given vdrift config. More...
 
const DTConfigBtigetDTConfigBti (DTBtiId) const
 Get desired BTI configuration. More...
 
const std::map< DTBtiId,
DTConfigBti > & 
getDTConfigBtiMap (DTChamberId) const
 Get desired BTI configuration map for a given DTChamber. More...
 
const DTConfigLUTsgetDTConfigLUTs (DTChamberId) const
 Get desired LUT configuration. More...
 
const DTConfigPedestalsgetDTConfigPedestals () const
 Get desired Pedestals configuration. More...
 
const DTConfigSectCollgetDTConfigSectColl (DTSectCollId) const
 Get desired SectorCollector configuration. More...
 
const DTConfigTracogetDTConfigTraco (DTTracoId) const
 Get desired TRACO configuration. More...
 
const std::map< DTTracoId,
DTConfigTraco > & 
getDTConfigTracoMap (DTChamberId) const
 Get desired TRACO configuration map for a given DTChamber. More...
 
const DTConfigTrigUnitgetDTConfigTrigUnit (DTChamberId) const
 Get desired Trigger Unit configuration. More...
 
const DTConfigTSPhigetDTConfigTSPhi (DTChamberId) const
 Get desired Trigger Server Phi configuration. More...
 
const DTConfigTSThetagetDTConfigTSTheta (DTChamberId) const
 Get desired Trigger Server Theta configuration. More...
 
bool getDTTPGDebug () const
 Get global debug flag. More...
 
bool lutFromDB () const
 Lut from DB flag. More...
 
void setCCBConfigValidity (bool CCBValid)
 Set the flag for CCB configuration validity. More...
 
void setDTConfigBti (DTBtiId, DTConfigBti)
 Set DTConfigBti for desired chip. More...
 
void setDTConfigLUTs (DTChamberId chambid, DTConfigLUTs conf)
 Set DTConfigLUTs for desired chamber. More...
 
void setDTConfigPedestals (DTConfigPedestals pedestals)
 Set DTConfigPedestals configuration. More...
 
void setDTConfigSectColl (DTSectCollId sectcollid, DTConfigSectColl conf)
 Set DTConfigSectColl for desired chip. More...
 
void setDTConfigTraco (DTTracoId, DTConfigTraco)
 Set DTConfigTraco for desired chip. More...
 
void setDTConfigTrigUnit (DTChamberId chambid, DTConfigTrigUnit conf)
 Set DTConfigTrigUnit for desired chamber. More...
 
void setDTConfigTSPhi (DTChamberId chambid, DTConfigTSPhi conf)
 Set DTConfigTSPhi for desired chip. More...
 
void setDTConfigTSTheta (DTChamberId chambid, DTConfigTSTheta conf)
 Set DTConfigTSTheta for desired chip. More...
 
void setDTTPGDebug (bool debug)
 SetGlobalDebug flag. More...
 
void setLutFromDB (bool lutFromDB)
 Set lut from DB flag. More...
 
void setUseAcceptParam (bool acceptparam)
 Set the use of Bti acceptance parameters (LL,LH,CL,CH,RL,RH) More...
 
bool useAcceptParam () const
 Use Bti acceptance parameters (LL,LH,CL,CH,RL,RH) More...
 
 ~DTConfigManager ()
 Destructor. More...
 

Private Attributes

bool my_acceptparam
 
BtiMap my_btimap
 
bool my_CCBvalid
 
bool my_dttpgdebug
 
bool my_lutfromdb
 
LUTMap my_lutmap
 
DTConfigPedestals my_pedestals
 
SectCollMap my_sectcollmap
 
TracoMap my_tracomap
 
TrigUnitMap my_trigunitmap
 
TSPhiMap my_tsphimap
 
TSThetaMap my_tsthetamap
 

Detailed Description

DTTPG Configuration manager Includes config classes for every single chip

Author
C. Battilana april 07 : SV DTConfigTrigUnit added april 07 : CB Removed DTGeometry dependecies september 08 : SV LUTs added 091106 SV flags for DB/geometry lut or bti acceptance compute

Definition at line 50 of file DTConfigManager.h.

Member Typedef Documentation

Definition at line 56 of file DTConfigManager.h.

Definition at line 54 of file DTConfigManager.h.

Definition at line 55 of file DTConfigManager.h.

Definition at line 61 of file DTConfigManager.h.

Definition at line 62 of file DTConfigManager.h.

Definition at line 57 of file DTConfigManager.h.

Definition at line 60 of file DTConfigManager.h.

Definition at line 59 of file DTConfigManager.h.

Definition at line 58 of file DTConfigManager.h.

Constructor & Destructor Documentation

DTConfigManager::DTConfigManager ( )

Constructor.

Definition at line 40 of file DTConfigManager.cc.

DTConfigManager::~DTConfigManager ( )

Destructor.

Definition at line 48 of file DTConfigManager.cc.

Member Function Documentation

bool DTConfigManager::CCBConfigValidity ( ) const
inline

flag for CCB configuration validity

Definition at line 115 of file DTConfigManager.h.

void DTConfigManager::dumpLUTParam ( DTChamberId chambid) const

Dump luts string commands from configuration parameters.

Definition at line 243 of file DTConfigManager.cc.

int DTConfigManager::getBXOffset ( ) const

Get BX Offset for a given vdrift config.

Definition at line 222 of file DTConfigManager.cc.

const DTConfigBti * DTConfigManager::getDTConfigBti ( DTBtiId  btiid) const

Get desired BTI configuration.

Definition at line 63 of file DTConfigManager.cc.

const std::map< DTBtiId, DTConfigBti > & DTConfigManager::getDTConfigBtiMap ( DTChamberId  chambid) const

Get desired BTI configuration map for a given DTChamber.

Definition at line 89 of file DTConfigManager.cc.

const DTConfigLUTs * DTConfigManager::getDTConfigLUTs ( DTChamberId  chambid) const

Get desired LUT configuration.

Definition at line 187 of file DTConfigManager.cc.

const DTConfigPedestals * DTConfigManager::getDTConfigPedestals ( ) const

Get desired Pedestals configuration.

Definition at line 216 of file DTConfigManager.cc.

const DTConfigSectColl * DTConfigManager::getDTConfigSectColl ( DTSectCollId  scid) const

Get desired SectorCollector configuration.

Definition at line 202 of file DTConfigManager.cc.

const DTConfigTraco * DTConfigManager::getDTConfigTraco ( DTTracoId  tracoid) const

Get desired TRACO configuration.

Definition at line 103 of file DTConfigManager.cc.

const std::map< DTTracoId, DTConfigTraco > & DTConfigManager::getDTConfigTracoMap ( DTChamberId  chambid) const

Get desired TRACO configuration map for a given DTChamber.

Definition at line 128 of file DTConfigManager.cc.

const DTConfigTrigUnit * DTConfigManager::getDTConfigTrigUnit ( DTChamberId  chambid) const

Get desired Trigger Unit configuration.

Definition at line 172 of file DTConfigManager.cc.

const DTConfigTSPhi * DTConfigManager::getDTConfigTSPhi ( DTChamberId  chambid) const

Get desired Trigger Server Phi configuration.

Definition at line 157 of file DTConfigManager.cc.

const DTConfigTSTheta * DTConfigManager::getDTConfigTSTheta ( DTChamberId  chambid) const

Get desired Trigger Server Theta configuration.

Definition at line 142 of file DTConfigManager.cc.

bool DTConfigManager::getDTTPGDebug ( ) const
inline

Get global debug flag.

Definition at line 103 of file DTConfigManager.h.

bool DTConfigManager::lutFromDB ( ) const
inline

Lut from DB flag.

Definition at line 109 of file DTConfigManager.h.

void DTConfigManager::setCCBConfigValidity ( bool  CCBValid)
inline

Set the flag for CCB configuration validity.

Definition at line 152 of file DTConfigManager.h.

void DTConfigManager::setDTConfigBti ( DTBtiId  btiid,
DTConfigBti  conf 
)

Set DTConfigBti for desired chip.

Definition at line 229 of file DTConfigManager.cc.

void DTConfigManager::setDTConfigLUTs ( DTChamberId  chambid,
DTConfigLUTs  conf 
)
inline

Set DTConfigLUTs for desired chamber.

Definition at line 134 of file DTConfigManager.h.

void DTConfigManager::setDTConfigPedestals ( DTConfigPedestals  pedestals)
inline

Set DTConfigPedestals configuration.

Definition at line 140 of file DTConfigManager.h.

void DTConfigManager::setDTConfigSectColl ( DTSectCollId  sectcollid,
DTConfigSectColl  conf 
)
inline

Set DTConfigSectColl for desired chip.

Definition at line 137 of file DTConfigManager.h.

void DTConfigManager::setDTConfigTraco ( DTTracoId  tracoid,
DTConfigTraco  conf 
)

Set DTConfigTraco for desired chip.

Definition at line 236 of file DTConfigManager.cc.

void DTConfigManager::setDTConfigTrigUnit ( DTChamberId  chambid,
DTConfigTrigUnit  conf 
)
inline

Set DTConfigTrigUnit for desired chamber.

Definition at line 131 of file DTConfigManager.h.

void DTConfigManager::setDTConfigTSPhi ( DTChamberId  chambid,
DTConfigTSPhi  conf 
)
inline

Set DTConfigTSPhi for desired chip.

Definition at line 128 of file DTConfigManager.h.

void DTConfigManager::setDTConfigTSTheta ( DTChamberId  chambid,
DTConfigTSTheta  conf 
)
inline

Set DTConfigTSTheta for desired chip.

Definition at line 125 of file DTConfigManager.h.

void DTConfigManager::setDTTPGDebug ( bool  debug)
inline

SetGlobalDebug flag.

Definition at line 143 of file DTConfigManager.h.

void DTConfigManager::setLutFromDB ( bool  lutFromDB)
inline

Set lut from DB flag.

Definition at line 146 of file DTConfigManager.h.

void DTConfigManager::setUseAcceptParam ( bool  acceptparam)
inline

Set the use of Bti acceptance parameters (LL,LH,CL,CH,RL,RH)

Definition at line 149 of file DTConfigManager.h.

bool DTConfigManager::useAcceptParam ( ) const
inline

Use Bti acceptance parameters (LL,LH,CL,CH,RL,RH)

Definition at line 112 of file DTConfigManager.h.

Member Data Documentation

bool DTConfigManager::my_acceptparam
private

Definition at line 173 of file DTConfigManager.h.

BtiMap DTConfigManager::my_btimap
private

Definition at line 161 of file DTConfigManager.h.

bool DTConfigManager::my_CCBvalid
private

Definition at line 174 of file DTConfigManager.h.

bool DTConfigManager::my_dttpgdebug
private

Definition at line 170 of file DTConfigManager.h.

bool DTConfigManager::my_lutfromdb
private

Definition at line 172 of file DTConfigManager.h.

LUTMap DTConfigManager::my_lutmap
private

Definition at line 166 of file DTConfigManager.h.

DTConfigPedestals DTConfigManager::my_pedestals
private

Definition at line 168 of file DTConfigManager.h.

SectCollMap DTConfigManager::my_sectcollmap
private

Definition at line 167 of file DTConfigManager.h.

TracoMap DTConfigManager::my_tracomap
private

Definition at line 162 of file DTConfigManager.h.

TrigUnitMap DTConfigManager::my_trigunitmap
private

Definition at line 165 of file DTConfigManager.h.

TSPhiMap DTConfigManager::my_tsphimap
private

Definition at line 164 of file DTConfigManager.h.

TSThetaMap DTConfigManager::my_tsthetamap
private

Definition at line 163 of file DTConfigManager.h.