#include <CSCStripHit.h>
Public Types | |
typedef std::vector< int > | ChannelContainer |
typedef std::vector< float > | StripHitADCContainer |
Public Member Functions | |
CSCStripHit * | clone () const |
Required for storage in RangeMap. More... | |
int | closestMaximum () const |
Number of strips to the closest other maximum. More... | |
CSCDetId | cscDetId () const |
Strip Hit is in this DetId. More... | |
CSCStripHit () | |
CSCStripHit (const CSCDetId &id, const float &sHitPos, const int &tmax, const ChannelContainer &strips, const StripHitADCContainer &s_adc, const StripHitADCContainer &s_adcRaw, const int &numberOfConsecutiveStrips, const int &closestMaximum, const short int &deadStrip) | |
short int | deadStrip () const |
is a neighbouring string a dead strip? More... | |
int | numberOfConsecutiveStrips () const |
Number of consecutive strips with charge. More... | |
void | print () const |
Print content of the striphit including L1A. More... | |
const StripHitADCContainer & | s_adc () const |
L1A. More... | |
const StripHitADCContainer & | s_adcRaw () const |
the raw ADC counts for each of the strip within cluster More... | |
float | sHitPos () const |
Strip hit position (centroid) More... | |
const ChannelContainer & | strips () const |
L1A. More... | |
const ChannelContainer & | stripsl1a () const |
L1A. More... | |
const ChannelContainer & | stripsTotal () const |
The strips used in cluster to produce strip hit (total content) More... | |
int | tmax () const |
Strip hit maximum time bin. More... | |
~CSCStripHit () | |
Private Attributes | |
int | theClosestMaximum |
int | theConsecutiveStrips |
short int | theDeadStrip |
CSCDetId | theDetId |
StripHitADCContainer | theStripHitADCs |
L1A. More... | |
float | theStripHitPosition |
StripHitADCContainer | theStripHitRawADCs |
int | theStripHitTmax |
ChannelContainer | theStrips |
ChannelContainer | theStripsHighBits |
L1A. More... | |
ChannelContainer | theStripsLowBits |
A (1-dim) hit reconstructed from strip data alone
Definition at line 16 of file CSCStripHit.h.
typedef std::vector<int> CSCStripHit::ChannelContainer |
Definition at line 22 of file CSCStripHit.h.
typedef std::vector<float> CSCStripHit::StripHitADCContainer |
Definition at line 21 of file CSCStripHit.h.
CSCStripHit::CSCStripHit | ( | ) |
Extract the lower byte for strip number
Extract the middle byte for L1A phase
Definition at line 4 of file CSCStripHit.cc.
References i, theStrips, theStripsHighBits, and theStripsLowBits.
Referenced by clone().
CSCStripHit::CSCStripHit | ( | const CSCDetId & | id, |
const float & | sHitPos, | ||
const int & | tmax, | ||
const ChannelContainer & | strips, | ||
const StripHitADCContainer & | s_adc, | ||
const StripHitADCContainer & | s_adcRaw, | ||
const int & | numberOfConsecutiveStrips, | ||
const int & | closestMaximum, | ||
const short int & | deadStrip | ||
) |
Extract the 2 lowest bytes for strip number
Extract the 2 highest bytes for L1A phase
Definition at line 29 of file CSCStripHit.cc.
References i, theStrips, theStripsHighBits, and theStripsLowBits.
CSCStripHit::~CSCStripHit | ( | ) |
Definition at line 62 of file CSCStripHit.cc.
|
inline |
Required for storage in RangeMap.
Definition at line 38 of file CSCStripHit.h.
References CSCStripHit().
|
inline |
Number of strips to the closest other maximum.
Definition at line 68 of file CSCStripHit.h.
References theClosestMaximum.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip().
|
inline |
|
inline |
is a neighbouring string a dead strip?
Definition at line 71 of file CSCStripHit.h.
References theDeadStrip.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), and CSCMake2DRecHit::hitFromStripAndWire().
|
inline |
Number of consecutive strips with charge.
Definition at line 65 of file CSCStripHit.h.
References theConsecutiveStrips.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip().
void CSCStripHit::print | ( | void | ) | const |
Print content of the striphit including L1A.
Debug.
L1A
Definition at line 67 of file CSCStripHit.cc.
References gather_cfg::cout, cscDetId(), i, gen::k, s_adc(), s_adcRaw(), sHitPos(), strips(), stripsl1a(), and tmax().
|
inline |
L1A.
the ADC counts for each of the strip within cluster
Definition at line 59 of file CSCStripHit.h.
References theStripHitADCs.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
the raw ADC counts for each of the strip within cluster
Definition at line 62 of file CSCStripHit.h.
References theStripHitRawADCs.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
Strip hit position (centroid)
Definition at line 44 of file CSCStripHit.h.
References theStripHitPosition.
Referenced by print().
|
inline |
L1A.
The strips used in cluster to produce strip hit
Definition at line 53 of file CSCStripHit.h.
References theStripsLowBits.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
L1A.
The L1A phase in strips used to produce strip hit
Definition at line 56 of file CSCStripHit.h.
References theStripsHighBits.
Referenced by CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
inline |
The strips used in cluster to produce strip hit (total content)
Definition at line 50 of file CSCStripHit.h.
References theStrips.
Referenced by CSCMake2DRecHit::hitFromStripAndWire().
|
inline |
Strip hit maximum time bin.
Definition at line 47 of file CSCStripHit.h.
References theStripHitTmax.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), CSCMake2DRecHit::hitFromStripAndWire(), and print().
|
private |
Definition at line 87 of file CSCStripHit.h.
Referenced by closestMaximum().
|
private |
Definition at line 86 of file CSCStripHit.h.
Referenced by numberOfConsecutiveStrips().
|
private |
Definition at line 88 of file CSCStripHit.h.
Referenced by deadStrip().
|
private |
Definition at line 78 of file CSCStripHit.h.
Referenced by cscDetId().
|
private |
|
private |
Definition at line 79 of file CSCStripHit.h.
Referenced by sHitPos().
|
private |
Definition at line 85 of file CSCStripHit.h.
Referenced by s_adcRaw().
|
private |
Definition at line 80 of file CSCStripHit.h.
Referenced by tmax().
|
private |
Definition at line 81 of file CSCStripHit.h.
Referenced by CSCStripHit(), and stripsTotal().
|
private |
|
private |
Definition at line 82 of file CSCStripHit.h.
Referenced by CSCStripHit(), and strips().