1 #ifndef SiStripElectronSeedGenerator_H
2 #define SiStripElectronSeedGenerator_H
92 while (phi > 2.*
M_PI) { phi -= 2.*
M_PI; }
93 while (phi < 0) { phi += 2.*
M_PI; }
100 if(result < -
M_PI) result += 2*
M_PI;
105 while (phi >
M_PI) { phi -= 2.*
M_PI; }
106 while (phi < -
M_PI) { phi += 2.*
M_PI; }
119 bool checkHitsAndTSOS(std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit1,
120 std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit2,
121 double scr,
double scz,
double pT,
double scEta);
124 std::vector<const SiStripRecHit2D*>::const_iterator hit2,
125 double scr,
double scz,
double pT,
double scEta);
184 #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)
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)
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
std::vector< ConstRecHitPointer > RecHitContainer
static int position[TOTALCHAMBERS][3]
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerEventTag
double tibPhiMissHit2Cut_
edm::EDGetTokenT< MeasurementTrackerEvent > token_mte
TransientTrackingRecHit::RecHitPointer RecHitPointer
PRecHitContainer recHits_
edm::OwnVector< TrackingRecHit > PRecHitContainer
const edm::EventSetup * theSetup
SiStripElectronSeedGenerator(const edm::ParameterSet &, const Tokens &)
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)
void findSeedsFromCluster(edm::Ref< reco::SuperClusterCollection >, edm::Handle< reco::BeamSpot >, const MeasurementTrackerEvent &trackerData, reco::ElectronSeedCollection &)
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_
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::EDGetTokenT< reco::BeamSpot > token_bs
unsigned long long cacheIDMagField_