CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastElectronSeedGenerator.h
Go to the documentation of this file.
1 #ifndef FastElectronSeedGenerator_H
2 #define FastElectronSeedGenerator_H
3 
13 //UB added
18 //UB added
21 
23 
26 
28 
30 
32 
33 namespace edm {
34  class EventSetup;
35  class ParameterSet;
36  class Event;
37 }
38 
39 class TrackerGeometry;
40 class MagneticField;
41 class MagneticFieldMap;
44 
46 class KFUpdator;
48 class TrajectorySeed;
49 class TrackerTopology;
50 
51 //UB changed
52 //class FastElectronSeedGenerator : public ElectronSeedGenerator
54 {
55 public:
56 
57  //RC
62 
63 
64  enum mode{HLT, offline, unknown}; //to be used later
65 
67  double pTMin,
68  const edm::InputTag& beamSpot);
69 
71 
72  void setup(bool);
73 
74  void setupES(const edm::EventSetup& setup);
75 
76  //UB changed
77 /* void run(edm::Event&, */
78 /* // const edm::Handle<reco::SuperClusterCollection>& clusters, */
79 /* const reco::SuperClusterRefVector &sclRefs, */
80 /* const SiTrackerGSMatchedRecHit2DCollection*, */
81 /* const edm::SimTrackContainer*, */
82 /* reco::ElectronSeedCollection&); */
83  void run(edm::Event& e,
84  const reco::SuperClusterRefVector &sclRefs,
85  const SiTrackerGSMatchedRecHit2DCollection* theGSRecHits,
86  const edm::SimTrackContainer* theSimTracks,
88  const TrackerTopology *tTopo,
90 
91  private:
92 
94  std::vector<TrajectorySeedHitCandidate>& theHits,
95  const TrajectorySeed& theTrackerSeed,
96  std::vector<reco::ElectronSeed>& result);
97 
99  ConstRecHitPointer innerhit,
100  const GlobalPoint& vertexPos);
101 
103 
109  float deltaPhi2_;
111 
112  double zmin1_, zmax1_;
113  double pTMin2;
115 
117 
118  //UB added
121 
127 
130 
133 
136 
137 };
138 
139 #endif // FastElectronSeedGenerator_H
140 
141 
void setupES(const edm::EventSetup &setup)
const edm::EventSetup * theSetup
const MagneticFieldMap * theMagneticFieldMap
const TrackerInteractionGeometry * theTrackerInteractionGeometry
std::vector< ConstRecHitPointer > RecHitContainer
TrajectorySeedCollection * theInitialSeedColl
edm::OwnVector< TrackingRecHit > PRecHitContainer
void addASeedToThisCluster(edm::Ref< reco::SuperClusterCollection > seedCluster, std::vector< TrajectorySeedHitCandidate > &theHits, const TrajectorySeed &theTrackerSeed, std::vector< reco::ElectronSeed > &result)
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
PropagatorWithMaterial * thePropagator
std::vector< TrajectorySeed > TrajectorySeedCollection
FastElectronSeedGenerator(const edm::ParameterSet &pset, double pTMin, const edm::InputTag &beamSpot)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
tuple result
Definition: query.py:137
const GeometricSearchTracker * theGeomSearchTracker
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
TransientTrackingRecHit::RecHitContainer RecHitContainer
std::shared_ptr< TrackingRecHit const > RecHitPointer
FastPixelHitMatcher * myGSPixelMatcher
tuple out
Definition: dbtoconf.py:99
void run(edm::Event &e, const reco::SuperClusterRefVector &sclRefs, const SiTrackerGSMatchedRecHit2DCollection *theGSRecHits, const edm::SimTrackContainer *theSimTracks, TrajectorySeedCollection *seeds, const TrackerTopology *tTopo, reco::ElectronSeedCollection &out)
bool prepareElTrackSeed(ConstRecHitPointer outerhit, ConstRecHitPointer innerhit, const GlobalPoint &vertexPos)
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
TransientTrackingRecHit::RecHitPointer RecHitPointer
std::vector< SimTrack > SimTrackContainer
const TrackerGeometry * theTrackerGeometry