1 #ifndef SiStripElectronSeedGenerator_H
2 #define SiStripElectronSeedGenerator_H
85 while (phi > 2.*
M_PI) { phi -= 2.*
M_PI; }
86 while (phi < 0) { phi += 2.*
M_PI; }
98 while (phi >
M_PI) { phi -= 2.*
M_PI; }
99 while (phi < -
M_PI) { phi += 2.*
M_PI; }
111 bool checkHitsAndTSOS(std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit1,
112 std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit2,
113 double scr,
double scz,
double pT,
double scEta);
116 std::vector<const SiStripRecHit2D*>::const_iterator hit2,
117 double scr,
double scz,
double pT,
double scEta);
175 #endif // SiStripElectronSeedGenerator_H
bool checkHitsAndTSOS(std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta)
double tidPhiMissHit2Cut_
std::vector< bool > useDetLayer(double scEta)
SiStripElectronSeedGenerator(const edm::ParameterSet &)
double monoPhiMissHit2Cut_
std::string theMeasurementTrackerName
const MeasurementTracker * theMeasurementTracker
double normalPhi(double phi) const
edm::ESHandle< MagneticField > theMagField
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Chi2MeasurementEstimator * theEstimator
const SiStripMatchedRecHit2D * matchedHitConverter(ConstRecHitPointer crhp)
std::vector< ConstRecHitPointer > RecHitContainer
static int position[TOTALCHAMBERS][3]
double tibPhiMissHit2Cut_
TransientTrackingRecHit::RecHitPointer RecHitPointer
PRecHitContainer recHits_
edm::OwnVector< TrackingRecHit > PRecHitContainer
const edm::EventSetup * theSetup
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
edm::ESHandle< TrackerGeometry > trackerGeometryHandle
unsigned long long cacheIDTrkGeom_
edm::Handle< reco::BeamSpot > theBeamSpot
PropagatorWithMaterial * thePropagator
int whichSubdetector(std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit)
bool preselection(GlobalPoint position, GlobalPoint superCluster, double phiVsRSlope, int hitLayer)
unsigned long long cacheIDCkfComp_
const SiStripRecHit2D * backupHitConverter(ConstRecHitPointer crhp)
bool altCheckHitsAndTSOS(std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta)
void setupES(const edm::EventSetup &setup)
const SiStripRecHitMatcher * theMatcher_
void findSeedsFromCluster(edm::Ref< reco::SuperClusterCollection >, edm::Handle< reco::BeamSpot >, reco::ElectronSeedCollection &)
std::vector< const SiStripMatchedRecHit2D * > layer2Hits_
~SiStripElectronSeedGenerator()
double tecPhiMissHit2Cut_
double phiDiff(double phi1, double phi2)
double unwrapPhi(double phi) const
PTrajectoryStateOnDet pts_
edm::ESHandle< MeasurementTracker > measurementTrackerHandle
std::vector< const SiStripRecHit2D * > backupLayer2Hits_
void run(edm::Event &, const edm::EventSetup &setup, const edm::Handle< reco::SuperClusterCollection > &, reco::ElectronSeedCollection &)
std::vector< const SiStripMatchedRecHit2D * > layer1Hits_
TransientTrackingRecHit::RecHitContainer RecHitContainer
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
edm::InputTag beamSpotTag_
unsigned long long cacheIDMagField_