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*> layerList() const { return theLayerList_;}
68 
69 
72 
74  void setEventSetup( const edm::EventSetup& es ) ;
75  void setEvent( const edm::Event& e ) ;
76 
77 
78 
79  protected:
80 
81 
83  void findLayers() const ;
84  void findLayers(const FreeTrajectoryState & fts) const ;
85 
87  const GlobalPoint & gpOrigine,
89  float scaleFactor ) const;
90 
91 
92  void printLayer(int i) const ;
93 
94 
97 
98 
101 
102 
105 
106 
110  mutable float theSCenergy_;
111 
112 
113  mutable std::vector<const DetLayer *> theLayerList_ ;
114 
116  mutable float theBCEnergy_;
117 
120 
122 
123 
124 
125 };
126 
127 #endif
const Propagator * thePropagatorAlongMomentum_
void setMeasurementTracker(const MeasurementTracker *tracker) const
int i
Definition: DBlmapReader.cc:9
const MeasurementTracker * getMeasurementTracker() const
const MeasurementTracker * theMeasurementTracker_
edm::ParameterSet conf_
PropagationDirection
TrajectorySeedCollection theSeeds_
TrajectorySeedCollection seeds()
const Propagator * thePropagatorOppositeToMomentum_
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_
std::vector< const DetLayer * > layerList() const
edm::ESHandle< MagneticField > theMF_
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.
tuple config
Definition: cmsDriver.py:17
reco::CaloCluster * theSC_
PropagationDirection dir_
dbl *** dir
Definition: mlp_gen.cc:35