|
ATLAS Offline Software
|
#include <VP1TrackSummary.h>
|
static bool | countHits (const Trk::Track *, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc) |
|
static bool | countHits (const Trk::Segment *, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc) |
|
static void | addCounts (std::set< const Trk::TrkDetElementBase * > &detelems, const Trk::MeasurementBase *meas, const AtlasDetectorID *idhelper, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc) |
|
Definition at line 25 of file VP1TrackSummary.h.
◆ VP1TrackSummary()
VP1TrackSummary::VP1TrackSummary |
( |
| ) |
|
|
private |
◆ ~VP1TrackSummary()
VP1TrackSummary::~VP1TrackSummary |
( |
| ) |
|
|
private |
◆ addCounts()
void VP1TrackSummary::addCounts |
( |
std::set< const Trk::TrkDetElementBase * > & |
detelems, |
|
|
const Trk::MeasurementBase * |
meas, |
|
|
const AtlasDetectorID * |
idhelper, |
|
|
unsigned & |
nPixelHits, |
|
|
unsigned & |
nSCTHits, |
|
|
unsigned & |
nTRTHits, |
|
|
unsigned & |
nhits_muon_phi, |
|
|
unsigned & |
nhits_rpc, |
|
|
unsigned & |
nhits_mdt, |
|
|
unsigned & |
nhits_tgc, |
|
|
unsigned & |
nhits_csc, |
|
|
unsigned & |
nhits_mm, |
|
|
unsigned & |
nhits_stgc |
|
) |
| |
|
static |
Definition at line 92 of file VP1TrackSummary.cxx.
118 std::set<const Trk::TrkDetElementBase*>::const_iterator
it = detelems.begin(), itEnd=detelems.end();
119 for (;
it!=itEnd;++
it){
121 if (!detelem)
continue;
128 else if (idhelper->
is_mdt(
id)) ++nhits_mdt;
129 else if (idhelper->
is_rpc(
id)) ++nhits_rpc;
130 else if (idhelper->
is_tgc(
id)) ++nhits_tgc;
131 else if (idhelper->
is_csc(
id)) ++nhits_csc;
132 else if (idhelper->
is_mm(
id)) ++nhits_mm;
133 else if (idhelper->
is_stgc(
id)) ++nhits_stgc;
◆ countHits() [1/2]
bool VP1TrackSummary::countHits |
( |
const Trk::Segment * |
seg, |
|
|
unsigned & |
nPixelHits, |
|
|
unsigned & |
nSCTHits, |
|
|
unsigned & |
nTRTHits, |
|
|
unsigned & |
nhits_muon_phi, |
|
|
unsigned & |
nhits_rpc, |
|
|
unsigned & |
nhits_mdt, |
|
|
unsigned & |
nhits_tgc, |
|
|
unsigned & |
nhits_csc, |
|
|
unsigned & |
nhits_mm, |
|
|
unsigned & |
nhits_stgc |
|
) |
| |
|
static |
Definition at line 62 of file VP1TrackSummary.cxx.
83 std::set<const Trk::TrkDetElementBase*> detelems;
85 for (; tsos_iter != tsos_end; ++tsos_iter) {
87 addCounts(detelems, meas, idhelper,
nPixelHits ,
nSCTHits ,
nTRTHits , nhits_muon_phi , nhits_rpc , nhits_mdt , nhits_tgc , nhits_csc, nhits_mm, nhits_stgc);
◆ countHits() [2/2]
bool VP1TrackSummary::countHits |
( |
const Trk::Track * |
trk, |
|
|
unsigned & |
nPixelHits, |
|
|
unsigned & |
nSCTHits, |
|
|
unsigned & |
nTRTHits, |
|
|
unsigned & |
nhits_muon_phi, |
|
|
unsigned & |
nhits_rpc, |
|
|
unsigned & |
nhits_mdt, |
|
|
unsigned & |
nhits_tgc, |
|
|
unsigned & |
nhits_csc, |
|
|
unsigned & |
nhits_mm, |
|
|
unsigned & |
nhits_stgc |
|
) |
| |
|
static |
Definition at line 30 of file VP1TrackSummary.cxx.
51 std::set<const Trk::TrkDetElementBase*> detelems;
54 for (; tsos_iter != tsos_end; ++tsos_iter) {
56 VP1TrackSummary::addCounts(detelems, meas, idhelper,
nPixelHits ,
nSCTHits ,
nTRTHits , nhits_muon_phi , nhits_rpc , nhits_mdt , nhits_tgc , nhits_csc, nhits_mm, nhits_stgc);
The documentation for this class was generated from the following files:
bool is_pixel(Identifier id) const
bool is_rpc(Identifier id) const
Const iterator class for DataVector/DataList.
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
bool is_csc(Identifier id) const
bool is_sct(Identifier id) const
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
bool is_mm(Identifier id) const
static const AtlasDetectorID * atlasIDHelper()
bool is_trt(Identifier id) const
virtual Identifier identify() const =0
Identifier.
float nPixelHits(const U &p)
static void addCounts(std::set< const Trk::TrkDetElementBase * > &detelems, const Trk::MeasurementBase *meas, const AtlasDetectorID *idhelper, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc)
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
virtual unsigned int numberOfContainedROTs() const =0
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
float nSCTHits(const U &p)
bool is_tgc(Identifier id) const
float nTRTHits(const U &p)
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
bool is_stgc(Identifier id) const
virtual const TrkDetElementBase * detectorElement() const =0
returns the detector element, assoicated with the PRD of this class
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
bool is_mdt(Identifier id) const