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 
49 //UB changed
50 //class FastElectronSeedGenerator : public ElectronSeedGenerator
52 {
53 public:
54 
55  //RC
60 
61 
62  enum mode{HLT, offline, unknown}; //to be used later
63 
65  double pTMin,
66  const edm::InputTag& beamSpot);
67 
69 
70  void setup(bool);
71 
72  void setupES(const edm::EventSetup& setup);
73 
74  //UB changed
75 /* void run(edm::Event&, */
76 /* // const edm::Handle<reco::SuperClusterCollection>& clusters, */
77 /* const reco::SuperClusterRefVector &sclRefs, */
78 /* const SiTrackerGSMatchedRecHit2DCollection*, */
79 /* const edm::SimTrackContainer*, */
80 /* reco::ElectronSeedCollection&); */
81  void run(edm::Event& e,
82  const reco::SuperClusterRefVector &sclRefs,
83  const SiTrackerGSMatchedRecHit2DCollection* theGSRecHits,
84  const edm::SimTrackContainer* theSimTracks,
87 
88  private:
89 
91  std::vector<TrackerRecHit>& theHits,
92  const TrajectorySeed& theTrackerSeed,
93  std::vector<reco::ElectronSeed>& result);
94 
96  ConstRecHitPointer innerhit,
97  const GlobalPoint& vertexPos);
98 
100 
106  float deltaPhi2_;
108 
109  double zmin1_, zmax1_;
110  double pTMin2;
112 
114 
115  //UB added
118 
124 
127 
130 
133 
134 };
135 
136 #endif // FastElectronSeedGenerator_H
137 
138 
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)
void run(edm::Event &e, const reco::SuperClusterRefVector &sclRefs, const SiTrackerGSMatchedRecHit2DCollection *theGSRecHits, const edm::SimTrackContainer *theSimTracks, TrajectorySeedCollection *seeds, reco::ElectronSeedCollection &out)
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)
bool prepareElTrackSeed(ConstRecHitPointer outerhit, ConstRecHitPointer innerhit, const GlobalPoint &vertexPos)
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
TransientTrackingRecHit::RecHitPointer RecHitPointer
std::vector< SimTrack > SimTrackContainer
const TrackerGeometry * theTrackerGeometry