#include <CSCWireHit.h>
Public Types | |
typedef std::vector< int > | ChannelContainer |
Public Member Functions | |
CSCWireHit * | clone () const |
CSCWireHit base class interface. More... | |
CSCDetId | cscDetId () const |
Position of the wire hit in CSC. More... | |
CSCWireHit () | |
CSCWireHit (const CSCDetId &id, const float &wHitPos, ChannelContainer &wgroups, const int &tmax, const short int &deadWG, const std::vector< int > &timeBinsOn) | |
short int | deadWG () const |
a dead WG in the cluster? More... | |
void | print () const |
Print content of the wirehit. More... | |
std::vector< int > | timeBinsOn () const |
Vector of time bins ON for central wire digi, lower of center pair if even number. More... | |
int | tmax () const |
The timing for the wire hit. More... | |
ChannelContainer | wgroups () const |
The wire groups used for forming the cluster. More... | |
ChannelContainer | wgroupsBX () const |
The BX number. More... | |
ChannelContainer | wgroupsBXandWire () const |
The BX + wire group number. More... | |
float | wHitPos () const |
The wire hit position expressed in terms of wire #. More... | |
~CSCWireHit () | |
Private Attributes | |
short int | theDeadWG |
CSCDetId | theDetId |
std::vector< int > | theTimeBinsOn |
ChannelContainer | theWgroups |
ChannelContainer | theWgroupsHighBits |
BX and wire group number combined. More... | |
ChannelContainer | theWgroupsLowBits |
to extract BX More... | |
float | theWireHitPosition |
int | theWireHitTmax |
to extract the wire group number More... | |
Definition at line 17 of file CSCWireHit.h.
typedef std::vector<int> CSCWireHit::ChannelContainer |
Definition at line 19 of file CSCWireHit.h.
CSCWireHit::CSCWireHit | ( | ) |
Definition at line 4 of file CSCWireHit.cc.
References mps_fire::i, theWgroups, theWgroupsHighBits, and theWgroupsLowBits.
Referenced by clone().
CSCWireHit::CSCWireHit | ( | const CSCDetId & | id, |
const float & | wHitPos, | ||
ChannelContainer & | wgroups, | ||
const int & | tmax, | ||
const short int & | deadWG, | ||
const std::vector< int > & | timeBinsOn | ||
) |
Definition at line 14 of file CSCWireHit.cc.
References mps_fire::i, theWgroups, theWgroupsHighBits, and theWgroupsLowBits.
CSCWireHit::~CSCWireHit | ( | ) |
Definition at line 34 of file CSCWireHit.cc.
|
inline |
CSCWireHit base class interface.
Definition at line 32 of file CSCWireHit.h.
References CSCWireHit().
|
inline |
Position of the wire hit in CSC.
Definition at line 35 of file CSCWireHit.h.
References theDetId.
Referenced by print().
|
inline |
a dead WG in the cluster?
Definition at line 54 of file CSCWireHit.h.
References theDeadWG.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
void CSCWireHit::print | ( | void | ) | const |
Print content of the wirehit.
Debug.
Definition at line 37 of file CSCWireHit.cc.
References gather_cfg::cout, cscDetId(), deadWG(), TauDecayModes::dec, mps_fire::i, timeBinsOn(), tmax(), wgroups(), wgroupsBX(), wgroupsBXandWire(), and wHitPos().
|
inline |
Vector of time bins ON for central wire digi, lower of center pair if even number.
Definition at line 57 of file CSCWireHit.h.
References theTimeBinsOn.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
The timing for the wire hit.
Definition at line 51 of file CSCWireHit.h.
References theWireHitTmax.
Referenced by print().
|
inline |
The wire groups used for forming the cluster.
Definition at line 42 of file CSCWireHit.h.
References theWgroupsLowBits.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
The BX number.
Definition at line 45 of file CSCWireHit.h.
References theWgroupsHighBits.
Referenced by print().
|
inline |
The BX + wire group number.
Definition at line 48 of file CSCWireHit.h.
References theWgroups.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
The wire hit position expressed in terms of wire #.
Definition at line 38 of file CSCWireHit.h.
References theWireHitPosition.
Referenced by print().
|
private |
Definition at line 69 of file CSCWireHit.h.
Referenced by deadWG().
|
private |
Definition at line 63 of file CSCWireHit.h.
Referenced by cscDetId().
|
private |
Definition at line 70 of file CSCWireHit.h.
Referenced by timeBinsOn().
|
private |
Definition at line 65 of file CSCWireHit.h.
Referenced by CSCWireHit(), and wgroupsBXandWire().
|
private |
BX and wire group number combined.
Definition at line 66 of file CSCWireHit.h.
Referenced by CSCWireHit(), and wgroupsBX().
|
private |
to extract BX
Definition at line 67 of file CSCWireHit.h.
Referenced by CSCWireHit(), and wgroups().
|
private |
Definition at line 64 of file CSCWireHit.h.
Referenced by wHitPos().
|
private |