CMS 3D CMS Logo

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
ElectronSeedGenerator::run
void run(edm::Event &, const reco::SuperClusterRefVector &, const std::vector< const TrajectorySeedCollection * > &seedsV, reco::ElectronSeedCollection &)
Definition: ElectronSeedGenerator.cc:172
ElectronSeedGenerator::magneticFieldWatcher_
edm::ESWatcher< IdealMagneticFieldRecord > magneticFieldWatcher_
Definition: ElectronSeedGenerator.h:78
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
ElectronSeedGenerator::deltaZ1WithVertex_
const float deltaZ1WithVertex_
Definition: ElectronSeedGenerator.h:84
TrackerGeometry.h
edm::ESWatcher< IdealMagneticFieldRecord >
ESHandle.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
ElectronSeedGenerator::dPhi1Coef1_
const double dPhi1Coef1_
Definition: ElectronSeedGenerator.h:92
ElectronSeedGenerator::magFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Definition: ElectronSeedGenerator.h:76
ElectronSeedGenerator::RecHitPointer
TransientTrackingRecHit::RecHitPointer RecHitPointer
Definition: ElectronSeedGenerator.h:55
ElectronSeedGenerator::Tokens::token_bs
edm::EDGetTokenT< reco::BeamSpot > token_bs
Definition: ElectronSeedGenerator.h:50
ElectronSeedGenerator::sizeWindowENeg_
const float sizeWindowENeg_
Definition: ElectronSeedGenerator.h:85
TransientTrackingRecHit.h
ElectronSeedGenerator::phiMin2F_
const float phiMin2F_
Definition: ElectronSeedGenerator.h:102
edm::RefVector
Definition: EDProductfwd.h:27
ElectronSeedGenerator::ElectronSeedGenerator
ElectronSeedGenerator(const edm::ParameterSet &, const Tokens &, edm::ConsumesCollector &&)
Definition: ElectronSeedGenerator.cc:128
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
ElectronSeedGenerator::ConstRecHitPointer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition: ElectronSeedGenerator.h:54
ElectronSeedGenerator::phiMax2B_
const float phiMax2B_
Definition: ElectronSeedGenerator.h:103
ElectronSeedGenerator::highPtThresh_
const float highPtThresh_
Definition: ElectronSeedGenerator.h:82
ElectronSeedGenerator::deltaPhi1High_
const float deltaPhi1High_
Definition: ElectronSeedGenerator.h:88
TrajectoryStateUpdator.h
ElectronSeedGenerator::nSigmasDeltaZ1_
const float nSigmasDeltaZ1_
Definition: ElectronSeedGenerator.h:83
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
ElectronSeedGenerator::deltaPhi1Low_
const float deltaPhi1Low_
Definition: ElectronSeedGenerator.h:87
ElectronSeedGenerator::lowPtThresh_
const float lowPtThresh_
Definition: ElectronSeedGenerator.h:81
ElectronSeedGenerator::beamSpotTag_
const edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: ElectronSeedGenerator.h:75
ElectronSeedFwd.h
edm::Ref
Definition: AssociativeIterator.h:58
ElectronSeedGenerator
Definition: ElectronSeedGenerator.h:46
ElectronSeedGenerator::setupES
void setupES(const edm::EventSetup &setup)
Definition: ElectronSeedGenerator.cc:166
BeamSpot.h
TrackingRecHit::RecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
Definition: TrackingRecHit.h:31
reco::BeamSpot
Definition: BeamSpot.h:21
IdealMagneticFieldRecord.h
reco::ElectronSeedCollection
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
Definition: ElectronSeedFwd.h:10
PixelHitMatcher
Definition: PixelHitMatcher.h:44
Vertex.h
ElectronSeedGenerator::RecHitContainer
TransientTrackingRecHit::RecHitContainer RecHitContainer
Definition: ElectronSeedGenerator.h:56
TrackerDigiGeometryRecord.h
KFUpdator.h
edm::ParameterSet
Definition: ParameterSet.h:47
TSiPixelRecHit.h
EDConsumerBase.h
Event.h
ElectronSeedGenerator::Tokens::token_vtx
edm::EDGetTokenT< std::vector< reco::Vertex > > token_vtx
Definition: ElectronSeedGenerator.h:49
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition: TrackingRecHit.h:25
ElectronSeedGenerator::Tokens
Definition: ElectronSeedGenerator.h:48
ElectronSeedGenerator::phiMin2B_
const float phiMin2B_
Definition: ElectronSeedGenerator.h:101
ElectronSeedGenerator::seedsFromThisCluster
void seedsFromThisCluster(edm::Ref< reco::SuperClusterCollection > seedCluster, reco::BeamSpot const &beamSpot, std::vector< reco::Vertex > const *vertices, reco::ElectronSeedCollection &out)
Definition: ElectronSeedGenerator.cc:197
edm::EventSetup
Definition: EventSetup.h:58
ElectronSeedGenerator::matcher_
PixelHitMatcher matcher_
Definition: ElectronSeedGenerator.h:106
TrajectorySeedCollection.h
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
ElectronSeedGenerator::deltaPhi2F_
const float deltaPhi2F_
Definition: ElectronSeedGenerator.h:99
ElectronSeedGenerator::dynamicPhiRoad_
const bool dynamicPhiRoad_
Definition: ElectronSeedGenerator.h:72
VertexFwd.h
ElectronSeedGenerator::PRecHitContainer
edm::OwnVector< TrackingRecHit > PRecHitContainer
Definition: ElectronSeedGenerator.h:53
ElectronSeedGenerator::trackerGeometryWatcher_
edm::ESWatcher< TrackerDigiGeometryRecord > trackerGeometryWatcher_
Definition: ElectronSeedGenerator.h:79
ElectronSeedGenerator::deltaPhi2B_
const float deltaPhi2B_
Definition: ElectronSeedGenerator.h:98
SuperClusterFwd.h
ESWatcher.h
PixelHitMatcher.h
ElectronSeedGenerator::initialSeedCollectionVector_
const std::vector< const TrajectorySeedCollection * > * initialSeedCollectionVector_
Definition: ElectronSeedGenerator.h:94
EventSetup.h
ElectronSeedGenerator::useRecoVertex_
const bool useRecoVertex_
Definition: ElectronSeedGenerator.h:96
TrajectoryStateTransform.h
ElectronSeedGenerator::dPhi1Coef2_
const double dPhi1Coef2_
Definition: ElectronSeedGenerator.h:91
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
ElectronSeedGenerator::trackerGeometryToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
Definition: ElectronSeedGenerator.h:77
ConsumesCollector.h
ParameterSet.h
ElectronSeedGenerator::phiMax2F_
const float phiMax2F_
Definition: ElectronSeedGenerator.h:104
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
ElectronSeed.h
edm::OwnVector< TrackingRecHit >
pwdgSkimBPark_cfi.vertices
vertices
Definition: pwdgSkimBPark_cfi.py:7
ElectronSeedGenerator::verticesTag_
const edm::EDGetTokenT< std::vector< reco::Vertex > > verticesTag_
Definition: ElectronSeedGenerator.h:74