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();
bool operator()(Trajectory *t1, Trajectory *t2)
TrajectoryStateOnSurface TSOS
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
~CosmicTrackFinder() override
CRackTrajectoryBuilder crackTrajectoryBuilder_
void AnalHits(const std::vector< TransientTrackingRecHit::ConstRecHitPointer > &hits)
bool operator()(Trajectory *t1, Trajectory *t2)
edm::EDGetTokenT< SiPixelRecHitCollection > pixelRecHitsToken_
void produce(edm::Event &e, const edm::EventSetup &c) override
CosmicTrackFinder(const edm::ParameterSet &conf)
edm::EDGetTokenT< TrajectorySeedCollection > seedToken_
Namespace of DDCMS conversion namespace.
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_