1 #ifndef CosmicTrackFinder_h
2 #define CosmicTrackFinder_h
23 unsigned int alay =
nlay;
25 unsigned int blay =
nlay;
34 void AnalHits(
const std::vector<TransientTrackingRecHit::ConstRecHitPointer>& hits) {
40 for (
auto hit = hits.begin();
hit != hits.end();
hit++) {
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))
bool operator()(Trajectory *t1, Trajectory *t2)
const edm::EventSetup & c
TrajectoryStateOnSurface TSOS
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
ConstRecHitContainer recHits() const
~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_
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_