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
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
CRackTrajectoryBuilder crackTrajectoryBuilder_
void AnalHits(const std::vector< TransientTrackingRecHit::ConstRecHitPointer > &hits)
bool operator()(Trajectory *t1, Trajectory *t2)
CosmicTrackFinder(const edm::ParameterSet &conf)
virtual ~CosmicTrackFinder()
virtual void produce(edm::Event &e, const edm::EventSetup &c)