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;
38 std::vector< ConstReferenceCountingPointer< TransientTrackingRecHit> >::const_iterator
hit;
40 for(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))
ltib1=
true;
46 if ((lay==2)&&(sub==3))
ltib2=
true;
47 if ((lay==1)&&(sub==5))
ltob1=
true;
48 if ((lay==2)&&(sub==5))
ltob2=
true;
bool operator()(Trajectory *t1, Trajectory *t2)
TrajectoryStateOnSurface TSOS
CosmicTrajectoryBuilder cosmicTrajectoryBuilder_
void AnalHits(std::vector< ConstReferenceCountingPointer< TransientTrackingRecHit > > hits)
ConstRecHitContainer recHits(bool splitting=false) const
CRackTrajectoryBuilder crackTrajectoryBuilder_
bool operator()(Trajectory *t1, Trajectory *t2)
CosmicTrackFinder(const edm::ParameterSet &conf)
virtual ~CosmicTrackFinder()
virtual void produce(edm::Event &e, const edm::EventSetup &c)
double chiSquared() const