6 thePositionWithinStrip(-999.),
7 theErrorWithinStrip(-999.),
8 theEnergyDeposit( -994. ),
10 theScaledWireTime( 0 ),
16 theLocalPosition(0.,0.),
17 theLocalError(0.,0.,0.)
34 int quality,
short int badStrip,
short int badWireGroup,
39 thePositionWithinStrip( posInStrip ),
40 theErrorWithinStrip( errInStrip ),
41 theEnergyDeposit( energyDeposit ),
42 theQuality( quality ),
43 theScaledWireTime ( scaledWireTime ),
44 theBadStrip( badStrip ), theBadWireGroup( badWireGroup ),
45 theLocalPosition( pos ),
52 std::cout <<
"CSCRecHit2D: not enough strips in DataFormat! " << unsigned(
nStrips_) << std::endl;
125 bool foundWire =
false;
133 bool foundStrip =
false;
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
CSCDetId cscDetId() const
size_t size() const
return number of contained object
unsigned char nWireGroups_
float tpeak() const
Fitted peaking time.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
virtual bool sharesInput(const TrackingRecHit *other, TrackingRecHit::SharedInputType what) const
Returns true if the two TrackingRecHits are using the same input information, false otherwise...
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)
LocalError localPositionError() const
unsigned int nStrips() const
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
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
LocalPoint localPosition() const
unsigned char theStrips_[MAXSTRIPS]
std::vector< int > ChannelContainer
unsigned char theL1APhaseBits_[MAXSTRIPS]
unsigned int nWireGroups() const