CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ElectronSeedGenerator.h
Go to the documentation of this file.
1 #ifndef ElectronSeedGenerator_H
2 #define ElectronSeedGenerator_H
3 
17 
21 
24 
32 
40 
42 
45 
47 public:
48  struct Tokens {
51  };
52 
57 
59 
60  void setupES(const edm::EventSetup& setup);
61  void run(edm::Event&,
63  const std::vector<const TrajectorySeedCollection*>& seedsV,
65 
66 private:
68  reco::BeamSpot const& beamSpot,
69  std::vector<reco::Vertex> const* vertices,
71 
72  const bool dynamicPhiRoad_;
73 
80 
81  const float lowPtThresh_;
82  const float highPtThresh_;
83  const float nSigmasDeltaZ1_; // first z window size if not using the reco vertex
84  const float deltaZ1WithVertex_; // first z window size when using the reco vertex
85  const float sizeWindowENeg_;
86 
87  const float deltaPhi1Low_;
88  const float deltaPhi1High_;
89 
90  // so that deltaPhi1 = dPhi1Coef1_ + dPhi1Coef2_/clusterEnergyT
91  const double dPhi1Coef2_;
92  const double dPhi1Coef1_;
93 
94  const std::vector<const TrajectorySeedCollection*>* initialSeedCollectionVector_ = nullptr;
95 
96  const bool useRecoVertex_;
97 
98  const float deltaPhi2B_;
99  const float deltaPhi2F_;
100 
101  const float phiMin2B_;
102  const float phiMin2F_;
103  const float phiMax2B_;
104  const float phiMax2F_;
105 
107 };
108 
109 #endif // ElectronSeedGenerator_H
void seedsFromThisCluster(edm::Ref< reco::SuperClusterCollection > seedCluster, reco::BeamSpot const &beamSpot, std::vector< reco::Vertex > const *vertices, reco::ElectronSeedCollection &out)
void run(edm::Event &, const reco::SuperClusterRefVector &, const std::vector< const TrajectorySeedCollection * > &seedsV, reco::ElectronSeedCollection &)
edm::EDGetTokenT< reco::BeamSpot > token_bs
const edm::EDGetTokenT< std::vector< reco::Vertex > > verticesTag_
void setupES(const edm::EventSetup &setup)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
std::vector< ConstRecHitPointer > RecHitContainer
edm::OwnVector< TrackingRecHit > PRecHitContainer
const std::vector< const TrajectorySeedCollection * > * initialSeedCollectionVector_
TransientTrackingRecHit::RecHitPointer RecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
const edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
TransientTrackingRecHit::RecHitContainer RecHitContainer
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
std::shared_ptr< TrackingRecHit const > RecHitPointer
ElectronSeedGenerator(const edm::ParameterSet &, const Tokens &, edm::ConsumesCollector &&)
edm::EDGetTokenT< std::vector< reco::Vertex > > token_vtx
edm::ESWatcher< TrackerDigiGeometryRecord > trackerGeometryWatcher_
edm::ESWatcher< IdealMagneticFieldRecord > magneticFieldWatcher_