6 thePositionWithinStrip(-999.),
7 theErrorWithinStrip(-999.),
8 theEnergyDeposit( -994. ),
10 theScaledWireTime( 0 ),
16 theLocalPosition(0.,0.),
17 theLocalError(0.,0.,0.)
52 std::cout <<
"CSCRecHit2D: not enough strips in DataFormat! " << unsigned(
nStrips_) << std::endl;
125 bool foundWire =
false;
133 bool foundStrip =
false;
137 for (
unsigned int j=0; j<
nStrips(); j++) {
150 if (what ==
someStrips && !foundStrip)
return false;
154 if (!foundWire && !foundStrip)
return false;
173 <<
" (" <<
"HEX: " << std::hex <<
channels(
i) <<
")" <<
" ";
182 for (
int k=0;
k<8 ;
k++){
183 std::cout << ((channelsl1a(i) >> (15-
k)) & 0x1) <<
" ";}
193 os <<
"CSCRecHit2D: " <<
197 " quality: " << rh.
quality() <<
" tpeak: " << rh.
tpeak() <<
" wireTime: " << rh.
wireTime() << std::endl;
199 for(
size_t iS =0;iS< rh.
nStrips();++iS){
204 os <<
"central wire: " << rh.
hitWire() <<
" of " << nwgs <<
" wiregroup" << std::endl; }
206 os <<
"central wire: " << rh.
hitWire() <<
" of " << nwgs <<
" wiregroups" << std::endl; }
SharedInputType
definition of equality via shared input
LocalPoint theLocalPosition
CSCDetId cscDetId() const
size_t size() const
return number of contained object
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...
short int badStrip() const
flags for involvement of 'bad' channels
LocalPoint localPosition() const override
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)
unsigned int nStrips() const
float adcs(unsigned int strip, unsigned int timebin) const
Map of strip ADCs for strips comprising the rechit.
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
float positionWithinStrip() const
The estimated position within the strip.
float thePositionWithinStrip
float theErrorWithinStrip
LocalError localPositionError() const override
short int hitWire() const
L1A.
int quality() const
quality flag of the reconstruction
std::vector< std::vector< double > > tmp
static const unsigned int MAXTIMEBINS
float errorWithinStrip() const
The uncertainty of the estimated position within the strip.
GloballyPositioned< float >::LocalPoint LocalPoint
DetId geographicalId() const
short int badWireGroup() const
unsigned char theStrips_[MAXSTRIPS]
std::vector< int > ChannelContainer
std::ostream & operator<<(std::ostream &os, const CSCRecHit2D &rh)
Output operator for CSCRecHit2D.
unsigned char theL1APhaseBits_[MAXSTRIPS]
unsigned int nWireGroups() const