|
|
Go to the documentation of this file.
12 ss <<
"\n\t\t strip " << ++
idx <<
" adc " << (size_t)
adc;
23 for (
size_t ie = 0; ie < 15; ++ie)
26 ss <<
"\n\t TrackingRecHit on detid " << iter->geographicalId().rawId() <<
" \t localPos " << iter->localPosition();
37 if (
a.subdetId() == 3) {
39 sprintf(cindex,
"%d", tTopo->
tibLayer(detid));
40 }
else if (
a.subdetId() == 4) {
41 if (tTopo->
tidSide(detid) == 1) {
46 sprintf(cindex,
"%d", tTopo->
tidWheel(detid));
47 }
else if (
a.subdetId() == 5) {
49 sprintf(cindex,
"%d", tTopo->
tobLayer(detid));
50 }
else if (
a.subdetId() == 6) {
51 if (tTopo->
tecSide(detid) == 1) {
56 sprintf(cindex,
"%d", tTopo->
tecWheel(detid));
64 ss <<
"[PrintObject] "
65 <<
"\n\tcharge \t" <<
track->charge() <<
"\talgo \t" <<
track->algo() <<
"\n\treferencePoint \t"
66 <<
track->referencePoint() <<
" \t r: " <<
track->referencePoint().rho() <<
"\n\tinnerpos \t"
67 <<
track->innerPosition() <<
" \t r: " <<
track->innerPosition().rho();
69 ss <<
"\n\tmomentum \t" <<
track->momentum() <<
" pt " <<
track->momentum().rho() <<
"\n\tinnerMom \t"
70 <<
track->innerMomentum() <<
" pt " <<
track->innerMomentum().rho();
72 ss <<
"\n\tinnerok \t" <<
track->innerOk() <<
"\n\tinnerdetid \t" <<
track->innerDetId() <<
"\n\tdxy \t"
73 <<
track->dxy() <<
"\n\tdxy(vx) \t" <<
track->dxy(vx) <<
"\t where vx \t" << vx << std::endl;
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
void print(std::stringstream &ss, const SiStripCluster &clus)
unsigned int nHits() const
recHitContainer::const_iterator const_iterator
unsigned int tidWheel(const DetId &id) const
uint16_t firstStrip() const
unsigned int detId() const
std::string getString(uint32_t detid, const TrackerTopology *tTopo) const
TrackCharge charge() const
Charge (-1, 0 or 1)
XYZPointD XYZPoint
point in space with cartesian internal representation
unsigned int tidSide(const DetId &id) const
const std::vector< uint8_t > & amplitudes() const
unsigned int tobLayer(const DetId &id) const
const LocalTrajectoryParameters & parameters() const
LocalVector momentum() const
Momentum vector in the local frame.
PTrajectoryStateOnDet const & startingState() const
Detector identifier class for the strip tracker.
unsigned int tecWheel(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const