Go to the documentation of this file. 1 #ifndef CosmicTrackFinder_h
2 #define CosmicTrackFinder_h
23 unsigned int alay =
nlay;
25 unsigned int blay =
nlay;
28 if (
t1->foundHits() !=
t2->foundHits())
29 return t1->foundHits() >
t2->foundHits();
30 return t1->chiSquared() <
t2->chiSquared();
34 void AnalHits(
const std::vector<TransientTrackingRecHit::ConstRecHitPointer>&
hits) {
41 unsigned int iid = (*hit)->hit()->geographicalId().rawId();
43 int sub = (iid >> 25) & 0x7;
44 int lay = (iid >> 16) & 0xF;
45 if ((lay == 1) && (sub == 3))
47 if ((lay == 2) && (sub == 3))
49 if ((lay == 1) && (sub == 5))
51 if ((lay == 2) && (sub == 5))
64 if (
t1->foundHits() !=
t2->foundHits())
65 return t1->foundHits() >
t2->foundHits();
66 return t1->chiSquared() <
t2->chiSquared();
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
void produce(edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< SiPixelRecHitCollection > pixelRecHitsToken_
TrajectoryStateOnSurface TSOS
CosmicTrackFinder(const edm::ParameterSet &conf)
CRackTrajectoryBuilder crackTrajectoryBuilder_
void AnalHits(const std::vector< TransientTrackingRecHit::ConstRecHitPointer > &hits)
bool operator()(Trajectory *t1, Trajectory *t2)
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
~CosmicTrackFinder() override
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
edm::EDGetTokenT< TrajectorySeedCollection > seedToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_
bool operator()(Trajectory *t1, Trajectory *t2)
Namespace of DDCMS conversion namespace.