CMS 3D CMS Logo

ConversionSeedFinder.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionSeed_ConversionSeedFinder_h
2 #define RecoEGAMMA_ConversionSeed_ConversionSeedFinder_h
3 
26 
29 
32 
33 // C/C++ headers
34 #include <string>
35 #include <vector>
36 
37 //
38 namespace edm {
39  class ConsumesCollector;
40 }
41 
42 class DetLayer;
45 class NavigationSchool;
46 
48 public:
51 
52  virtual ~ConversionSeedFinder() {}
53 
54  virtual void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> >& allBc) = 0;
55 
57  virtual void setCandidate(float e, GlobalPoint pos) {
58  theSCenergy_ = e;
60  }
61  std::vector<const DetLayer*> const& layerList() const { return theLayerList_; }
62 
65 
67  void setEventSetup(const edm::EventSetup& es);
68  void setNavigationSchool(const NavigationSchool* navigation) { theNavigationSchool_ = navigation; }
69  void setEvent(const edm::Event& e);
70 
71  void clear() { theSeeds_.clear(); }
72 
73 protected:
74  //edm::ParameterSet conf_; found this to be completely unused
75  void findLayers();
76  void findLayers(const FreeTrajectoryState& fts);
77 
79  const GlobalPoint& gpOrigine,
81  float scaleFactor) const;
82 
83  void printLayer(int i) const;
84 
87 
92 
95 
98 
103 
104  std::vector<const DetLayer*> theLayerList_;
105 
108 
111 
114 };
115 
116 #endif
ConversionSeedFinder::layerList
std::vector< const DetLayer * > const & layerList() const
Definition: ConversionSeedFinder.h:61
ConversionSeedFinder::theBeamSpot_
reco::BeamSpot theBeamSpot_
Definition: ConversionSeedFinder.h:112
ConversionSeedFinder::setEventSetup
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
Definition: ConversionSeedFinder.cc:41
ConversionSeedFinder::clear
void clear()
Definition: ConversionSeedFinder.h:71
Handle.h
mps_fire.i
i
Definition: mps_fire.py:355
MeasurementTrackerEvent.h
FreeTrajectoryState.h
TrackingGeometry
Definition: TrackingGeometry.h:26
ConversionSeedFinder::theMeasurementTrackerName_
std::string theMeasurementTrackerName_
Definition: ConversionSeedFinder.h:88
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
ConversionSeedFinder::findLayers
void findLayers()
Definition: ConversionSeedFinder.cc:58
DetLayer
Definition: DetLayer.h:21
edm::EDGetTokenT< reco::BeamSpot >
edm
HLT enums.
Definition: AlignableModifier.h:19
pos
Definition: PixelAliasList.h:18
ConversionSeedFinder::theTrackerData_
edm::Handle< MeasurementTrackerEvent > theTrackerData_
Definition: ConversionSeedFinder.h:113
TrajectoryMeasurement.h
NavigationSchool
Definition: NavigationSchool.h:18
ConversionSeedFinder::theMF_
edm::ESHandle< MagneticField > theMF_
Definition: ConversionSeedFinder.h:93
edm::Handle
Definition: AssociativeIterator.h:50
ConversionSeedFinder::thePropagatorOppositeToMomentum_
const Propagator * thePropagatorOppositeToMomentum_
Definition: ConversionSeedFinder.h:110
config
Definition: config.py:1
Propagator
Definition: Propagator.h:44
MeasurementTracker
Definition: MeasurementTracker.h:21
GeometricSearchTracker.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
BeamSpot.h
reco::CaloCluster
Definition: CaloCluster.h:31
ConversionSeedFinder::theUpdator_
KFUpdator theUpdator_
Definition: ConversionSeedFinder.h:99
reco::BeamSpot
Definition: BeamSpot.h:21
edm::ESHandle< MagneticField >
CaloClusterFwd.h
ConversionSeedFinder::printLayer
void printLayer(int i) const
Definition: ConversionSeedFinder.cc:125
Point3DBase< float, GlobalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConversionSeedFinder::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: ConversionSeedFinder.h:96
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
ConversionSeedFinder::theBCEnergy_
float theBCEnergy_
Definition: ConversionSeedFinder.h:107
edm::View
Definition: CaloClusterFwd.h:14
ConversionSeedFinder::setNavigationSchool
void setNavigationSchool(const NavigationSchool *navigation)
Definition: ConversionSeedFinder.h:68
KFUpdator.h
edm::ParameterSet
Definition: ParameterSet.h:36
ConversionSeedFinder::theSCenergy_
float theSCenergy_
Definition: ConversionSeedFinder.h:102
PropagatorWithMaterial.h
ConversionSeedFinder::theSCPosition_
GlobalPoint theSCPosition_
Definition: ConversionSeedFinder.h:86
ConversionSeedFinder::thePropagatorAlongMomentum_
const Propagator * thePropagatorAlongMomentum_
Definition: ConversionSeedFinder.h:109
ConversionSeedFinder::seeds
TrajectorySeedCollection & seeds()
Definition: ConversionSeedFinder.h:56
ConversionSeedFinder::getMeasurementTracker
const MeasurementTracker * getMeasurementTracker() const
Definition: ConversionSeedFinder.h:64
ConversionSeedFinder::setCandidate
virtual void setCandidate(float e, GlobalPoint pos)
Definition: ConversionSeedFinder.h:57
edm::EventSetup
Definition: EventSetup.h:57
ConversionSeedFinder::theSeeds_
TrajectorySeedCollection theSeeds_
Definition: ConversionSeedFinder.h:85
StraightLinePropagator.h
ConversionSeedFinder::measurementTrkToken_
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkToken_
Definition: ConversionSeedFinder.h:97
TrajectorySeedCollection.h
ConversionSeedFinder
Definition: ConversionSeedFinder.h:47
PropagationDirection.h
ConversionSeedFinder::theGeomSearchTracker_
edm::ESHandle< GeometricSearchTracker > theGeomSearchTracker_
Definition: ConversionSeedFinder.h:94
ConversionSeedFinder::trackStateFromClusters
FreeTrajectoryState trackStateFromClusters(int aCharge, const GlobalPoint &gpOrigine, PropagationDirection dir, float scaleFactor) const
Definition: ConversionSeedFinder.cc:70
ConversionSeedFinder::~ConversionSeedFinder
virtual ~ConversionSeedFinder()
Definition: ConversionSeedFinder.h:52
ConversionSeedFinder::setEvent
void setEvent(const edm::Event &e)
Definition: ConversionSeedFinder.cc:30
ConversionSeedFinder::theBCPosition_
GlobalPoint theBCPosition_
Definition: ConversionSeedFinder.h:106
ConversionSeedFinder::theSC_
reco::CaloCluster * theSC_
Definition: ConversionSeedFinder.h:101
ConversionSeedFinder::theTrackerGeom_
const TrackingGeometry * theTrackerGeom_
Definition: ConversionSeedFinder.h:90
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
multiplicitycorr_cfi.scaleFactor
scaleFactor
Definition: multiplicitycorr_cfi.py:7
ConversionSeedFinder::ConversionSeedFinder
ConversionSeedFinder()
ConversionSeedFinder::theNavigationSchool_
const NavigationSchool * theNavigationSchool_
Definition: ConversionSeedFinder.h:91
Point3D.h
ConversionSeedFinder::theLayerList_
std::vector< const DetLayer * > theLayerList_
Definition: ConversionSeedFinder.h:104
GlobalVector.h
EventSetup.h
View.h
ParameterSet.h
ConversionSeedFinder::makeSeeds
virtual void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc)=0
edm::Event
Definition: Event.h:73
Vector3D.h
GlobalPoint.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
KFUpdator
Definition: KFUpdator.h:32
ConversionSeedFinder::dir_
PropagationDirection dir_
Definition: ConversionSeedFinder.h:100
CaloCluster.h
ConversionSeedFinder::theMeasurementTracker_
const MeasurementTracker * theMeasurementTracker_
Definition: ConversionSeedFinder.h:89
MeasurementTracker.h
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
ConversionSeedFinder::setMeasurementTracker
void setMeasurementTracker(const MeasurementTracker *tracker) const
Definition: ConversionSeedFinder.h:63