1 #ifndef CosmicTrackFinder_h
2 #define CosmicTrackFinder_h
26 unsigned int alay=
nlay;
28 unsigned int blay=
nlay;
29 if (alay!=blay)
return alay > blay;
36 void AnalHits(
const std::vector< TransientTrackingRecHit::ConstRecHitPointer >& hits){
39 for(
auto hit=hits.begin();
hit!=hits.end();
hit++){
40 unsigned int iid=(*hit)->hit()->geographicalId().rawId();
42 int sub=(iid>>25)&0x7 ;
43 int lay=(iid>>16) & 0xF;
44 if ((lay==1)&&(sub==3))
ltib1=
true;
45 if ((lay==2)&&(sub==3))
ltib2=
true;
46 if ((lay==1)&&(sub==5))
ltob1=
true;
47 if ((lay==2)&&(sub==5))
ltob2=
true;
bool operator()(Trajectory *t1, Trajectory *t2)
TrajectoryStateOnSurface TSOS
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
CRackTrajectoryBuilder crackTrajectoryBuilder_
void AnalHits(const std::vector< TransientTrackingRecHit::ConstRecHitPointer > &hits)
bool operator()(Trajectory *t1, Trajectory *t2)
edm::EDGetTokenT< SiPixelRecHitCollection > pixelRecHitsToken_
CosmicTrackFinder(const edm::ParameterSet &conf)
edm::EDGetTokenT< TrajectorySeedCollection > seedToken_
virtual ~CosmicTrackFinder()
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
virtual void produce(edm::Event &e, const edm::EventSetup &c)
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_