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 
31 namespace edm {
32  class EventSetup;
33  class ParameterSet;
34  class Event;
35 }
36 
37 class TrackerGeometry;
38 class MagneticField;
39 class MagneticFieldMap;
42 
44 class KFUpdator;
46 class TrackerRecHit;
47 class TrajectorySeed;
48 class TrackerTopology;
49 
50 //UB changed
51 //class FastElectronSeedGenerator : public ElectronSeedGenerator
53 {
54 public:
55 
56  //RC
61 
62 
63  enum mode{HLT, offline, unknown}; //to be used later
64 
66  double pTMin,
67  const edm::InputTag& beamSpot);
68 
70 
71  void setup(bool);
72 
73  void setupES(const edm::EventSetup& setup);
74 
75  //UB changed
76 /* void run(edm::Event&, */
77 /* // const edm::Handle<reco::SuperClusterCollection>& clusters, */
78 /* const reco::SuperClusterRefVector &sclRefs, */
79 /* const SiTrackerGSMatchedRecHit2DCollection*, */
80 /* const edm::SimTrackContainer*, */
81 /* reco::ElectronSeedCollection&); */
82  void run(edm::Event& e,
83  const reco::SuperClusterRefVector &sclRefs,
84  const SiTrackerGSMatchedRecHit2DCollection* theGSRecHits,
85  const edm::SimTrackContainer* theSimTracks,
87  const TrackerTopology *tTopo,
89 
90  private:
91 
93  std::vector<TrackerRecHit>& theHits,
94  const TrajectorySeed& theTrackerSeed,
95  std::vector<reco::ElectronSeed>& result);
96 
98  ConstRecHitPointer innerhit,
99  const GlobalPoint& vertexPos);
100 
102 
108  float deltaPhi2_;
110 
111  double zmin1_, zmax1_;
112  double pTMin2;
114 
116 
117  //UB added
120 
126 
129 
132 
135 
136 };
137 
138 #endif // FastElectronSeedGenerator_H
139 
140 
void setupES(const edm::EventSetup &setup)
const edm::EventSetup * theSetup
const MagneticFieldMap * theMagneticFieldMap
const TrackerInteractionGeometry * theTrackerInteractionGeometry
TrajectorySeedCollection * theInitialSeedColl
edm::OwnVector< TrackingRecHit > PRecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
PropagatorWithMaterial * thePropagator
std::vector< TrajectorySeed > TrajectorySeedCollection
FastElectronSeedGenerator(const edm::ParameterSet &pset, double pTMin, const edm::InputTag &beamSpot)
tuple result
Definition: query.py:137
const GeometricSearchTracker * theGeomSearchTracker
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
TransientTrackingRecHit::RecHitContainer RecHitContainer
FastPixelHitMatcher * myGSPixelMatcher
tuple out
Definition: dbtoconf.py:99
void addASeedToThisCluster(edm::Ref< reco::SuperClusterCollection > seedCluster, std::vector< TrackerRecHit > &theHits, const TrajectorySeed &theTrackerSeed, std::vector< reco::ElectronSeed > &result)
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