1 #ifndef DataFormats_CSCRecHit2D_H
2 #define DataFormats_CSCRecHit2D_H
27 static const unsigned int MAXSTRIPS=3;
28 static const unsigned int MAXTIMEBINS=4;
29 static const unsigned int N_ADC=MAXSTRIPS*MAXTIMEBINS;
41 short int badStrip=0,
short int badWireGroup=0,
43 float energyDeposit=-995.);
55 int channels(
unsigned int i)
const {
return theStrips_[
i]; }
56 unsigned int nStrips()
const {
return nStrips_;}
62 short int hitWire()
const {
return hitWire_;}
68 float adcs(
unsigned int strip,
unsigned int timebin)
const {
return theADCs_[strip*MAXTIMEBINS+timebin]; }
73 float tpeak()
const {
return theTpeak; }
85 short int badStrip()
const {
return theBadStrip; }
89 float wireTime()
const {
return (
float)theScaledWireTime/100.; }
106 bool sharesInput(
const TrackingRecHit *other, CSCRecHit2D::SharedInputType what)
const;
109 bool sharesInput(
const CSCRecHit2D *otherRecHit, CSCRecHit2D::SharedInputType what)
const;
129 unsigned char theL1APhaseBits_[MAXSTRIPS];
130 unsigned char theStrips_[MAXSTRIPS];
131 float theADCs_[N_ADC];
SharedInputType
definition of equality via shared input
LocalPoint localPosition() const
float theErrorWithinStrip
float errorWithinStrip() const
The uncertainty of the estimated position within the strip.
LocalPoint theLocalPosition
float energyDepositedInLayer() const
short int hitWire() const
L1A.
edm::RangeMap< int, std::vector< float > > ADCContainer
short int badStrip() const
flags for involvement of 'bad' channels
int channelsl1a(unsigned int i) const
Extract the L1A phase bits from the StripChannelContainer - high.
std::vector< int > ChannelContainer
unsigned int nTimeBins() const
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
short int wgroupsBX() const
float positionWithinStrip() const
The estimated position within the strip.
int quality() const
quality flag of the reconstruction
std::ostream & operator<<(std::ostream &out, const ALILine &li)
unsigned int nWireGroups() const
unsigned char nWireGroups_
float adcs(unsigned int strip, unsigned int timebin) const
Map of strip ADCs for strips comprising the rechit.
float thePositionWithinStrip
short int badWireGroup() const
unsigned int nStrips() const
CSCRecHit2D * clone() const
RecHit2DLocalPos base class interface.
int channels(unsigned int i) const
Extracting strip channel numbers comprising the rechit - low.
LocalError localPositionError() const
float tpeak() const
Fitted peaking time.
CSCDetId cscDetId() const
short int theBadWireGroup
Unlimited (trivial) bounds.