CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConversionSeedFinder.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionSeed_ConversionSeedFinder_h
2 #define RecoEGAMMA_ConversionSeed_ConversionSeedFinder_h
3 
26 
29 
30 
33 
34 // C/C++ headers
35 #include <string>
36 #include <vector>
37 
38 
39 
40 
41 //
42 
43 
44 class DetLayer;
47 
48 
50 
51  public:
52 
53 
56 
58 
59 
60  virtual void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> > & allBc ) const =0 ;
61 
62 
63 
65  virtual void setCandidate( float e, GlobalPoint pos ) const { theSCenergy_=e; theSCPosition_= pos; }
66  std::vector<const DetLayer*> const & layerList() const { return theLayerList_;}
67 
68 
71 
73  void setEventSetup( const edm::EventSetup& es ) ;
74  void setEvent( const edm::Event& e ) ;
75 
76  void clear() {
77  theSeeds_.clear();
78  }
79 
80  protected:
81 
82 
84  void findLayers() const ;
85  void findLayers(const FreeTrajectoryState & fts) const ;
86 
88  const GlobalPoint & gpOrigine,
90  float scaleFactor ) const;
91 
92 
93  void printLayer(int i) const ;
94 
95 
98 
99 
103 
104 
107 
108 
112  mutable float theSCenergy_;
113 
114 
115  mutable std::vector<const DetLayer *> theLayerList_ ;
116 
118  mutable float theBCEnergy_;
119 
122 
125 
126 
127 };
128 
129 #endif
const Propagator * thePropagatorAlongMomentum_
void setMeasurementTracker(const MeasurementTracker *tracker) const
std::vector< const DetLayer * > const & layerList() const
int i
Definition: DBlmapReader.cc:9
const MeasurementTracker * getMeasurementTracker() const
const MeasurementTracker * theMeasurementTracker_
edm::ParameterSet conf_
PropagationDirection
TrajectorySeedCollection theSeeds_
const Propagator * thePropagatorOppositeToMomentum_
std::string theMeasurementTrackerName_
std::vector< TrajectorySeed > TrajectorySeedCollection
void printLayer(int i) const
std::vector< const DetLayer * > theLayerList_
virtual void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const =0
const TrackingGeometry * theTrackerGeom_
edm::ESHandle< GeometricSearchTracker > theGeomSearchTracker_
edm::ESHandle< MagneticField > theMF_
TrajectorySeedCollection & seeds()
void setEvent(const edm::Event &e)
virtual void setCandidate(float e, GlobalPoint pos) const
FreeTrajectoryState trackStateFromClusters(int aCharge, const GlobalPoint &gpOrigine, PropagationDirection dir, float scaleFactor) const
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
reco::CaloCluster * theSC_
PropagationDirection dir_
dbl *** dir
Definition: mlp_gen.cc:35
edm::Handle< MeasurementTrackerEvent > theTrackerData_