#include <DTBtiCard.h>
Public Member Functions | |
std::vector< DTBtiChip * > | btiList (int) |
Returns the active BTI list in a given superlayer. More... | |
void | clearCache () |
Clear all BTI stuff (map & cache) More... | |
DTConfigBti * | config_bti (DTBtiId &btiid) const |
Return bti chip configuration. More... | |
bool | debug () const |
Return TU debug flag. More... | |
DTBtiCard (DTTrigGeom *) | |
Constructor. More... | |
DTBtiChip * | getBTI (int sl, int n) const |
Returns the required BTI. Return 0 if it doesn't exist. More... | |
DTBtiChip * | getBTI (const DTBtiId &btiid) const |
Returns the required BTI. Return 0 if it doesn't exist. More... | |
LocalVector | localDirection (const DTTrigData *) const |
NEWGEO Local direction in chamber of a trigger-data object. More... | |
LocalPoint | localPosition (const DTTrigData *) const |
NEWGEO Local position in chamber of a trigger-data object. More... | |
virtual void | reconstruct (const DTDigiCollection dtDigis) |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
DTBtiTrig * | storeTrigger (DTBtiTrigData) |
bool | useAcceptParamFlag () |
Return acceptance flag. More... | |
~DTBtiCard () | |
Destructor. More... | |
Public Member Functions inherited from DTCache< T, Coll > | |
const_iterator | begin () const |
Get first cache element. More... | |
void | clearCache () |
Clear cache vector. More... | |
DTCache () | |
Constructor. More... | |
const_iterator | end () const |
Get last cache element. More... | |
virtual void | reconstruct () |
Virtual reconstruct member. More... | |
int | size () const |
Get cache vector's size. More... | |
virtual | ~DTCache () |
Destructor. More... | |
Public Member Functions inherited from DTGeomSupplier | |
DTChamberId | ChamberId () const |
Identifier of the associated chamber. More... | |
GlobalVector | CMSDirection (const DTTrigData *trig) const |
CMS direction in chamber of a trigger -data object. More... | |
GlobalPoint | CMSPosition (const DTTrigData *trig) const |
CMS position in chamber of a trigger-data object. More... | |
DTGeomSupplier (DTTrigGeom *geom) | |
Constructor. More... | |
DTTrigGeom * | geom () const |
Associated geometry. More... | |
virtual void | print (const DTTrigData *trig) const |
Print a trigger-data object with also local and global position/direction. More... | |
int | sector () const |
Return sector number. More... | |
const DTChamber * | stat () const |
Associated chamber. More... | |
int | station () const |
Return station number. More... | |
int | wheel () const |
Return wheel number. More... | |
virtual | ~DTGeomSupplier () |
Destructor. More... | |
Private Member Functions | |
DTBtiChip * | activeGetBTI (int sl, int n) |
Returns the required DTBtiChip. Create it if it doesn't exist. More... | |
DTBtiChip * | activeGetBTI (const DTBtiId &btiid) |
Returns the required DTBtiChip. Create it if it doesn't exist. More... | |
void | loadBTI (const DTDigiCollection dtDigis) |
store digi's in DTBtiChip's More... | |
void | localClear () |
clear the BTI maps More... | |
void | runBTI () |
run DTBtiChip algorithm More... | |
Private Attributes | |
BTIContainer | _btimap [3] |
ConfBtiMap | _conf_bti_map |
bool | _debug |
std::vector< DTDigi * > | _digis |
bool | _flag_acc |
const DTConfigPedestals * | _pedestals |
Additional Inherited Members | |
Public Types inherited from DTCache< T, Coll > | |
typedef my_collection::const_iterator | const_iterator |
typedef my_collection::iterator | iterator |
typedef Coll | my_collection |
typedef T | my_type |
Protected Attributes inherited from DTCache< T, Coll > | |
my_collection | _cache |
Protected Attributes inherited from DTGeomSupplier | |
DTTrigGeom * | _geom |
Contains active DTBtiChips
Modifications: V/05 S.Vanini : modified to run with new geometry III/07 : SV configuration with DTConfigManager
Definition at line 59 of file DTBtiCard.h.
DTBtiCard::DTBtiCard | ( | DTTrigGeom * | geom | ) |
Constructor.
Definition at line 62 of file DTBtiCard.cc.
DTBtiCard::~DTBtiCard | ( | ) |
Destructor.
Definition at line 83 of file DTBtiCard.cc.
|
private |
Returns the required DTBtiChip. Create it if it doesn't exist.
Definition at line 406 of file DTBtiCard.cc.
Referenced by activeGetBTI().
Returns the required DTBtiChip. Create it if it doesn't exist.
Definition at line 121 of file DTBtiCard.h.
References activeGetBTI(), DTBtiId::bti(), and DTBtiId::superlayer().
std::vector< DTBtiChip * > DTBtiCard::btiList | ( | int | sl | ) |
Returns the active BTI list in a given superlayer.
Definition at line 471 of file DTBtiCard.cc.
void DTBtiCard::clearCache | ( | ) |
Clear all BTI stuff (map & cache)
Definition at line 95 of file DTBtiCard.cc.
Referenced by reconstruct().
DTConfigBti * DTBtiCard::config_bti | ( | DTBtiId & | btiid | ) | const |
Return bti chip configuration.
Definition at line 676 of file DTBtiCard.cc.
|
inline |
DTBtiChip * DTBtiCard::getBTI | ( | int | sl, |
int | n | ||
) | const |
Returns the required BTI. Return 0 if it doesn't exist.
Definition at line 456 of file DTBtiCard.cc.
Referenced by getBTI().
Returns the required BTI. Return 0 if it doesn't exist.
Definition at line 82 of file DTBtiCard.h.
References DTBtiId::bti(), getBTI(), and DTBtiId::superlayer().
|
private |
store digi's in DTBtiChip's
Definition at line 258 of file DTBtiCard.cc.
Referenced by reconstruct().
|
private |
clear the BTI maps
Definition at line 117 of file DTBtiCard.cc.
|
virtual |
NEWGEO Local direction in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 600 of file DTBtiCard.cc.
|
virtual |
NEWGEO Local position in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 553 of file DTBtiCard.cc.
|
inlinevirtual |
Definition at line 101 of file DTBtiCard.h.
References clearCache(), loadBTI(), and runBTI().
|
private |
void DTBtiCard::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 103 of file DTBtiCard.cc.
Referenced by DTSCTrigUnit::setConfig().
DTBtiTrig * DTBtiCard::storeTrigger | ( | DTBtiTrigData | td | ) |
Returns a DTBtiTrig corresponding to a DTBtiTrigData. Creates the corresponding BTI chip if needed and stores the trigger
Definition at line 492 of file DTBtiCard.cc.
|
inline |
|
private |
Definition at line 130 of file DTBtiCard.h.
|
private |
Definition at line 131 of file DTBtiCard.h.
|
private |
Definition at line 135 of file DTBtiCard.h.
Referenced by debug().
|
private |
Definition at line 133 of file DTBtiCard.h.
|
private |
Definition at line 138 of file DTBtiCard.h.
Referenced by useAcceptParamFlag().
|
private |
Definition at line 136 of file DTBtiCard.h.