1 #ifndef SiStripElectronSeedGenerator_H 2 #define SiStripElectronSeedGenerator_H 89 while (phi > 2.*
M_PI) { phi -= 2.*
M_PI; }
90 while (phi < 0) { phi += 2.*
M_PI; }
102 while (phi >
M_PI) { phi -= 2.*
M_PI; }
103 while (phi < -
M_PI) { phi += 2.*
M_PI; }
116 bool checkHitsAndTSOS(std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit1,
117 std::vector<const SiStripMatchedRecHit2D*>::const_iterator hit2,
118 double scr,
double scz,
double pT,
double scEta);
121 std::vector<const SiStripRecHit2D*>::const_iterator hit2,
122 double scr,
double scz,
double pT,
double scEta);
181 #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
std::vector< ConstRecHitPointer > RecHitContainer
def setup(process, global_tag, zero_tesla=False)
const SiStripMatchedRecHit2D * matchedHitConverter(ConstRecHitPointer crhp)
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerEventTag
double tibPhiMissHit2Cut_
edm::EDGetTokenT< MeasurementTrackerEvent > token_mte
TransientTrackingRecHit::RecHitPointer RecHitPointer
PRecHitContainer recHits_
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
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
std::shared_ptr< TrackingRecHit const > RecHitPointer
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_
static int position[264][3]
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
edm::EDGetTokenT< reco::BeamSpot > token_bs
unsigned long long cacheIDMagField_