|
|
Go to the documentation of this file.
6 thePositionWithinStrip(-999.),
7 theErrorWithinStrip(-999.),
8 theEnergyDeposit(-994.),
16 theLocalPosition(0., 0.),
17 theLocalError(0., 0., 0.) {
36 short int badWireGroup,
41 thePositionWithinStrip(posInStrip),
42 theErrorWithinStrip(errInStrip),
43 theEnergyDeposit(energyDeposit),
45 theScaledWireTime(scaledWireTime),
46 theBadStrip(badStrip),
47 theBadWireGroup(badWireGroup),
48 theLocalPosition(
pos),
54 std::cout <<
"CSCRecHit2D: not enough strips in DataFormat! " << unsigned(
nStrips_) << std::endl;
130 bool foundWire =
false;
139 bool foundStrip =
false;
141 for (
unsigned int i = 0;
i <
nStrips();
i++) {
143 for (
unsigned int j = 0;
j <
nStrips();
j++) {
163 if (!foundWire && !foundStrip)
185 for (
unsigned int i = 0;
i <
nStrips();
i++) {
188 <<
"HEX: " << std::hex <<
channels(
i) <<
")"
197 for (
int k = 0;
k < 8;
k++) {
208 os <<
"CSCRecHit2D: "
212 <<
" tpeak: " << rh.
tpeak() <<
" wireTime: " << rh.
wireTime() << std::endl;
214 for (
size_t iS = 0; iS < rh.
nStrips(); ++iS) {
219 os <<
"central wire: " << rh.
hitWire() <<
" of " << nwgs <<
" wiregroup" << std::endl;
221 os <<
"central wire: " << rh.
hitWire() <<
" of " << nwgs <<
" wiregroups" << std::endl;
std::vector< int > ChannelContainer
int quality() const
quality flag of the reconstruction
void print() const
Print the content of the RecHit2D including L1A (for debugging)
unsigned char theStrips_[MAXSTRIPS]
static const unsigned int MAXSTRIPS
bool sharesInput(const TrackingRecHit *other, TrackingRecHit::SharedInputType what) const override
Returns true if the two TrackingRecHits are using the same input information, false otherwise....
DetId geographicalId() const
CSCDetId cscDetId() const
const uint32_t *__restrict__ Quality * quality
float errorWithinStrip() const
The uncertainty of the estimated position within the strip.
unsigned char nWireGroups_
unsigned int nWireGroups() const
SharedInputType
definition of equality via shared input
float adcs(unsigned int strip, unsigned int timebin) const
Map of strip ADCs for strips comprising the rechit.
GloballyPositioned< float >::LocalPoint LocalPoint
float tpeak() const
Fitted peaking time.
LocalPoint localPosition() const override
short int theBadWireGroup
float thePositionWithinStrip
int channelsl1a(unsigned int i) const
Extract the L1A phase bits from the StripChannelContainer - high.
LocalError localPositionError() const override
int channels(unsigned int i) const
Extracting strip channel numbers comprising the rechit - low.
static const unsigned int MAXTIMEBINS
float positionWithinStrip() const
The estimated position within the strip.
std::ostream & operator<<(std::ostream &os, const CSCRecHit2D &rh)
Output operator for CSCRecHit2D.
float theErrorWithinStrip
unsigned int nStrips() const
short int hitWire() const
L1A.
unsigned char theL1APhaseBits_[MAXSTRIPS]