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++) {
198 std::cout << ((channelsl1a(i) >> (15 -
k)) & 0x1) <<
" ";
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;
SharedInputType
definition of equality via shared input
CSCDetId cscDetId() const
size_t size() const
return number of contained object
uint32_t const *__restrict__ Quality * quality
unsigned char nWireGroups_
float tpeak() const
Fitted peaking time.
bool sharesInput(const TrackingRecHit *other, TrackingRecHit::SharedInputType what) const override
Returns true if the two TrackingRecHits are using the same input information, false otherwise...
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const unsigned int MAXSTRIPS
int channels(unsigned int i) const
Extracting strip channel numbers comprising the rechit - low.
short int theBadWireGroup
void print() const
Print the content of the RecHit2D including L1A (for debugging)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
unsigned int nStrips() const
float positionWithinStrip() const
The estimated position within the strip.
LocalError localPositionError() const override
LocalPoint localPosition() const override
float thePositionWithinStrip
float theErrorWithinStrip
short int hitWire() const
L1A.
int quality() const
quality flag of the reconstruction
static const unsigned int MAXTIMEBINS
float errorWithinStrip() const
The uncertainty of the estimated position within the strip.
GloballyPositioned< float >::LocalPoint LocalPoint
DetId geographicalId() const
unsigned char theStrips_[MAXSTRIPS]
std::vector< int > ChannelContainer
unsigned char theL1APhaseBits_[MAXSTRIPS]
unsigned int nWireGroups() const