|
|
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 " <<
recHit.geographicalId().rawId() <<
" \t localPos "
39 if (
a.subdetId() == 3) {
41 sprintf(cindex,
"%d", tTopo->
tibLayer(detid));
42 }
else if (
a.subdetId() == 4) {
43 if (tTopo->
tidSide(detid) == 1) {
48 sprintf(cindex,
"%d", tTopo->
tidWheel(detid));
49 }
else if (
a.subdetId() == 5) {
51 sprintf(cindex,
"%d", tTopo->
tobLayer(detid));
52 }
else if (
a.subdetId() == 6) {
53 if (tTopo->
tecSide(detid) == 1) {
58 sprintf(cindex,
"%d", tTopo->
tecWheel(detid));
66 ss <<
"[PrintObject] "
67 <<
"\n\tcharge \t" <<
track->charge() <<
"\talgo \t" <<
track->algo() <<
"\n\treferencePoint \t"
68 <<
track->referencePoint() <<
" \t r: " <<
track->referencePoint().rho() <<
"\n\tinnerpos \t"
69 <<
track->innerPosition() <<
" \t r: " <<
track->innerPosition().rho();
71 ss <<
"\n\tmomentum \t" <<
track->momentum() <<
" pt " <<
track->momentum().rho() <<
"\n\tinnerMom \t"
72 <<
track->innerMomentum() <<
" pt " <<
track->innerMomentum().rho();
74 ss <<
"\n\tinnerok \t" <<
track->innerOk() <<
"\n\tinnerdetid \t" <<
track->innerDetId() <<
"\n\tdxy \t"
75 <<
track->dxy() <<
"\n\tdxy(vx) \t" <<
track->dxy(vx) <<
"\t where vx \t" << vx << std::endl;
void print(std::stringstream &ss, const SiStripCluster &clus)
unsigned int nHits() const
unsigned int tidWheel(const DetId &id) const
uint16_t firstStrip() const
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
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
SiStripCluster const & amplitudes() const
RecHitRange recHits() 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