1 #ifndef Fireworks_Tracks_TrackUtils_h
2 #define Fireworks_Tracks_TrackUtils_h
10 #include "TEveVSDStructs.h"
22 class TEveTrackPropagator;
25 class TEveStraightLineSet;
42 State(
const TEveVector& pos,
const TEveVector& mom) :
55 const State& state2 )
const {
58 return product1 < product2;
64 const std::vector<TEveVector>& extraRefPoints = std::vector<TEveVector>() );
66 float pixelLocalX(
const double mpx,
const int m_nrows );
67 float pixelLocalY(
const double mpy,
const int m_ncols );
69 void localSiStrip(
short strip,
float* localTop,
float* localBottom,
const float* pars,
unsigned int id );
87 #endif // Fireworks_Tracks_TrackUtils_h
State(const TEveVector &pos)
bool operator()(const State &state1, const State &state2) const
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
float pixelLocalY(const double mpy, const int m_ncols)
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
State(const TEveVector &pos, const TEveVector &mom)
const SiStripCluster * extractClusterFromTrackingRecHit(const TrackingRecHit *rh)
void pushPixelHits(std::vector< TVector3 > &pixelPoints, const FWEventItem &iItem, const reco::Track &t)
void addSiStripClusters(const FWEventItem *iItem, const reco::Track &t, class TEveElement *tList, bool addNearbyClusters, bool master)
StateOrdering(const TEveVector &momentum)
Pixel cluster – collection of neighboring pixels above threshold.
std::string info(const DetId &)
volatile std::atomic< bool > shutdown_flag false
void pushNearbyPixelHits(std::vector< TVector3 > &pixelPoints, const FWEventItem &iItem, const reco::Track &t)
void pushPixelCluster(std::vector< TVector3 > &pixelPoints, const FWGeometry &geom, DetId id, const SiPixelCluster &c, const float *pars)
float pixelLocalX(const double mpx, const int m_nrows)