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 
27 
30 
31 
34 
35 // C/C++ headers
36 #include <string>
37 #include <vector>
38 
39 
40 
41 
42 //
43 
44 
45 class DetLayer;
48 
49 
51 
52  public:
53 
54 
57 
59 
60 
61  virtual void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> > & allBc ) const =0 ;
62 
63 
64 
66  virtual void setCandidate( float e, GlobalPoint pos ) const { theSCenergy_=e; theSCPosition_= pos; }
67  std::vector<const DetLayer*> const & layerList() const { return theLayerList_;}
68 
69 
72 
74  void setEventSetup( const edm::EventSetup& es ) ;
75  void setEvent( const edm::Event& e ) ;
76 
77  void clear() {
78  theSeeds_.clear();
79  }
80 
81  protected:
82 
83 
85  void findLayers() const ;
86  void findLayers(const FreeTrajectoryState & fts) const ;
87 
89  const GlobalPoint & gpOrigine,
91  float scaleFactor ) const;
92 
93 
94  void printLayer(int i) const ;
95 
96 
99 
100 
104 
105 
108 
109 
113  mutable float theSCenergy_;
114 
115 
116  mutable std::vector<const DetLayer *> theLayerList_ ;
117 
119  mutable float theBCEnergy_;
120 
123 
125 
126 
127 
128 };
129 
130 #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