#include <HitInfo.h>
Public Member Functions | |
HitInfo () | |
HitInfo () | |
~HitInfo () | |
~HitInfo () | |
Static Public Member Functions | |
static std::string | getInfo (const DetId &id) |
static std::string | getInfo (const PSimHit &simHit) |
static std::string | getInfo (std::vector< const TrackingRecHit * > recHits) |
static std::string | getInfo (const TrackingRecHit &recHit) |
static std::string | getInfo (const DetId &id) |
static std::string | getInfo (const PSimHit &simHit) |
static std::string | getInfo (std::vector< const TrackingRecHit * > recHits) |
static std::string | getInfo (const TrackingRecHit &recHit) |
HitInfo::HitInfo | ( | ) |
Definition at line 14 of file HitInfo.cc.
{ }
HitInfo::~HitInfo | ( | ) |
Definition at line 19 of file HitInfo.cc.
{ }
HitInfo::HitInfo | ( | ) |
HitInfo::~HitInfo | ( | ) |
string HitInfo::getInfo | ( | const DetId & | id | ) | [static] |
Definition at line 24 of file HitInfo.cc.
References PXFDetId::blade(), PXFDetId::disk(), info, PXBDetId::ladder(), PXBDetId::layer(), PXFDetId::module(), PXBDetId::module(), connectstrParser::o, PXFDetId::panel(), evf::utils::pid, PixelSubdetector::PixelBarrel, and PXFDetId::side().
Referenced by TrackCleaner::cleanTracks(), LowPtClusterShapeSeedComparitor::compatible(), PlotRecTracks::getPixelInfo(), PlotRecTracks::getStripInfo(), PixelTripletLowPtGenerator::hitTriplets(), and PlotSimTracks::printSimTracks().
{ std::string info; if(id.subdetId() == int(PixelSubdetector::PixelBarrel)) { // 0 + (layer-1)<<1 + (ladder-1)%2 : 0-5 PXBDetId pid(id); ostringstream o; o << " (" << pid.layer() << "|" << pid.ladder() << "|" << pid.module() << ")"; info += o.str(); } else { // 6 + (disk-1)<<1 + (panel-1)%2 PXFDetId pid(id); ostringstream o; o << " (" << pid.side() << "|" << pid.disk() << "|" << pid.blade() << "|" << pid.panel() << "|" << pid.module() << ")"; info += o.str(); } return info; }
static std::string HitInfo::getInfo | ( | const PSimHit & | simHit | ) | [static] |
static std::string HitInfo::getInfo | ( | std::vector< const TrackingRecHit * > | recHits | ) | [static] |
static std::string HitInfo::getInfo | ( | const TrackingRecHit & | recHit | ) | [static] |
static std::string HitInfo::getInfo | ( | const DetId & | id | ) | [static] |
string HitInfo::getInfo | ( | const PSimHit & | simHit | ) | [static] |
Definition at line 73 of file HitInfo.cc.
References PSimHit::detUnitId(), info, connectstrParser::o, and PSimHit::particleType().
string HitInfo::getInfo | ( | std::vector< const TrackingRecHit * > | recHits | ) | [static] |
string HitInfo::getInfo | ( | const TrackingRecHit & | recHit | ) | [static] |
Definition at line 52 of file HitInfo.cc.
References TrackingRecHit::geographicalId(), and ExpressReco_HICollisions_FallBack::id.
{ DetId id(recHit.geographicalId()); return getInfo(id); }