CMS 3D CMS Logo

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

#include <DTTSTheta.h>

Inheritance diagram for DTTSTheta:
DTCache< T, Coll > DTGeomSupplier

Public Member Functions

const DTConfigTSThetaconfig () const
 Return configuration. More...
 
 DTTSTheta (DTTrigGeom *, DTBtiCard *)
 Constructor. More...
 
LocalVector localDirection (const DTTrigData *) const
 Local direction in chamber of a L1Trigger-data object. More...
 
LocalPoint localPosition (const DTTrigData *) const
 Local position in chamber of a L1Trigger-data object. More...
 
int nHTrig (int step)
 Return number of DTBtiChip fired with a HTRIG (used by DTTracoChip) More...
 
int nSegm (int step)
 Return number of TStheta segments (just 1) More...
 
int nTrig (int step)
 Return number of DTBtiChip fired (used by DTTracoChip) More...
 
void print (const DTTrigData *trig) const
 Print a L1Trigger-data object with also local and global position/direction. More...
 
void reconstruct ()
 Load BTIs triggers and run TSTheta algoritm. More...
 
const DTChambThSegmsegment (int step, unsigned n)
 Return the requested DTTSTheta segment (only the first) More...
 
void setConfig (const DTConfigManager *conf)
 Set configuration. More...
 
 ~DTTSTheta ()
 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...
 
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...
 
DTTrigGeomgeom () const
 Associated geometry. More...
 
int sector () const
 Return sector number. More...
 
const DTChamberstat () 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

void add_btiT (int step, const DTBtiTrigData *btitrig)
 Add a DTBtiChip L1Trigger to the DTTSTheta. More...
 
BitArray
< DTConfigTSTheta::NCELLTH > * 
btiMask (int step) const
 Return the BitArray of DTBtiChip fired. More...
 
BitArray
< DTConfigTSTheta::NCELLTH > * 
btiQual (int step) const
 Return the BitArray of DTBtiChip fired with a HTRIG. More...
 
void loadDTTSTheta ()
 store DTBtiChip L1Triggers in the TST More...
 
void localClear ()
 Clear. More...
 
void runDTTSTheta ()
 run DTTSTheta algorithm (build the mask) More...
 

Private Attributes

DTBtiCard_bticard
 
const DTConfigTSTheta_config
 
BitArray
< DTConfigTSTheta::NCELLTH
_Htrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
 
int _nHtrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
 
int _ntrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
 
BitArray
< DTConfigTSTheta::NCELLTH
_trig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
 

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
 

Detailed Description

Implementation of TS Theta L1Trigger algorithm

Author
C.Grandi

Definition at line 44 of file DTTSTheta.h.

Constructor & Destructor Documentation

DTTSTheta::DTTSTheta ( DTTrigGeom geom,
DTBtiCard bticard 
)

Constructor.

Definition at line 37 of file DTTSTheta.cc.

DTTSTheta::~DTTSTheta ( )

Destructor.

Definition at line 53 of file DTTSTheta.cc.

Member Function Documentation

void DTTSTheta::add_btiT ( int  step,
const DTBtiTrigData btitrig 
)
private

Add a DTBtiChip L1Trigger to the DTTSTheta.

Definition at line 107 of file DTTSTheta.cc.

BitArray< DTConfigTSTheta::NCELLTH > * DTTSTheta::btiMask ( int  step) const
private

Return the BitArray of DTBtiChip fired.

Definition at line 254 of file DTTSTheta.cc.

BitArray< DTConfigTSTheta::NCELLTH > * DTTSTheta::btiQual ( int  step) const
private

Return the BitArray of DTBtiChip fired with a HTRIG.

Definition at line 264 of file DTTSTheta.cc.

const DTConfigTSTheta* DTTSTheta::config ( void  ) const
inline

Return configuration.

Definition at line 56 of file DTTSTheta.h.

References _config.

56 { return _config; }
const DTConfigTSTheta * _config
Definition: DTTSTheta.h:109
void DTTSTheta::loadDTTSTheta ( )
private

store DTBtiChip L1Triggers in the TST

Definition at line 82 of file DTTSTheta.cc.

Referenced by reconstruct().

void DTTSTheta::localClear ( )
private

Clear.

Definition at line 63 of file DTTSTheta.cc.

LocalVector DTTSTheta::localDirection ( const DTTrigData tr) const
virtual

Local direction in chamber of a L1Trigger-data object.

Implements DTGeomSupplier.

Definition at line 281 of file DTTSTheta.cc.

LocalPoint DTTSTheta::localPosition ( const DTTrigData tr) const
virtual

Local position in chamber of a L1Trigger-data object.

Implements DTGeomSupplier.

Definition at line 274 of file DTTSTheta.cc.

int DTTSTheta::nHTrig ( int  step)

Return number of DTBtiChip fired with a HTRIG (used by DTTracoChip)

Definition at line 243 of file DTTSTheta.cc.

int DTTSTheta::nSegm ( int  step)

Return number of TStheta segments (just 1)

Definition at line 212 of file DTTSTheta.cc.

Referenced by DTSCTrigUnit::nThetaSegm().

int DTTSTheta::nTrig ( int  step)

Return number of DTBtiChip fired (used by DTTracoChip)

Definition at line 232 of file DTTSTheta.cc.

void DTTSTheta::print ( const DTTrigData trig) const
virtual

Print a L1Trigger-data object with also local and global position/direction.

Reimplemented from DTGeomSupplier.

Definition at line 288 of file DTTSTheta.cc.

void DTTSTheta::reconstruct ( )
inlinevirtual

Load BTIs triggers and run TSTheta algoritm.

Reimplemented from DTCache< T, Coll >.

Definition at line 83 of file DTTSTheta.h.

References loadDTTSTheta(), and runDTTSTheta().

void runDTTSTheta()
run DTTSTheta algorithm (build the mask)
Definition: DTTSTheta.cc:148
void loadDTTSTheta()
store DTBtiChip L1Triggers in the TST
Definition: DTTSTheta.cc:82
void DTTSTheta::runDTTSTheta ( )
private

run DTTSTheta algorithm (build the mask)

Definition at line 148 of file DTTSTheta.cc.

Referenced by reconstruct().

const DTChambThSegm * DTTSTheta::segment ( int  step,
unsigned  n 
)

Return the requested DTTSTheta segment (only the first)

Definition at line 222 of file DTTSTheta.cc.

Referenced by DTSCTrigUnit::thetaSegment().

void DTTSTheta::setConfig ( const DTConfigManager conf)

Set configuration.

Definition at line 74 of file DTTSTheta.cc.

Referenced by DTSCTrigUnit::setConfig().

Member Data Documentation

DTBtiCard* DTTSTheta::_bticard
private

Definition at line 107 of file DTTSTheta.h.

const DTConfigTSTheta* DTTSTheta::_config
private

Definition at line 109 of file DTTSTheta.h.

Referenced by config().

Definition at line 113 of file DTTSTheta.h.

int DTTSTheta::_nHtrig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
private

Definition at line 115 of file DTTSTheta.h.

int DTTSTheta::_ntrig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
private

Definition at line 114 of file DTTSTheta.h.

Definition at line 112 of file DTTSTheta.h.