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 class TrackingGeometry;
47 
49 public:
52 
53  virtual ~ConversionSeedFinder() {}
54 
55  virtual void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> >& allBc) = 0;
56 
58  virtual void setCandidate(float e, GlobalPoint pos) {
59  theSCenergy_ = e;
61  }
62  std::vector<const DetLayer*> const& layerList() const { return theLayerList_; }
63 
66 
68  void setEventSetup(const edm::EventSetup& es);
69  void setNavigationSchool(const NavigationSchool* navigation) { theNavigationSchool_ = navigation; }
70  void setEvent(const edm::Event& e);
71 
72  void clear() { theSeeds_.clear(); }
73 
74 protected:
75  //edm::ParameterSet conf_; found this to be completely unused
76  void findLayers();
77  void findLayers(const FreeTrajectoryState& fts);
78 
80  const GlobalPoint& gpOrigine,
82  float scaleFactor) const;
83 
84  void printLayer(int i) const;
85 
88 
93 
96 
99 
104 
105  std::vector<const DetLayer*> theLayerList_;
106 
109 
112 
115 };
116 
117 #endif
ConversionSeedFinder::layerList
std::vector< const DetLayer * > const & layerList() const
Definition: ConversionSeedFinder.h:62
ConversionSeedFinder::theBeamSpot_
reco::BeamSpot theBeamSpot_
Definition: ConversionSeedFinder.h:113
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:72
Handle.h
mps_fire.i
i
Definition: mps_fire.py:428
MeasurementTrackerEvent.h
FreeTrajectoryState.h
TrackingGeometry
Definition: TrackingGeometry.h:26
ConversionSeedFinder::theMeasurementTrackerName_
std::string theMeasurementTrackerName_
Definition: ConversionSeedFinder.h:89
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:114
TrajectoryMeasurement.h
NavigationSchool
Definition: NavigationSchool.h:18
ConversionSeedFinder::theMF_
edm::ESHandle< MagneticField > theMF_
Definition: ConversionSeedFinder.h:94
edm::Handle
Definition: AssociativeIterator.h:50
ConversionSeedFinder::thePropagatorOppositeToMomentum_
const Propagator * thePropagatorOppositeToMomentum_
Definition: ConversionSeedFinder.h:111
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:100
reco::BeamSpot
Definition: BeamSpot.h:21
edm::ESHandle< MagneticField >
CaloClusterFwd.h
ConversionSeedFinder::printLayer
void printLayer(int i) const
Definition: ConversionSeedFinder.cc:123
Point3DBase< float, GlobalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConversionSeedFinder::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: ConversionSeedFinder.h:97
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
ConversionSeedFinder::theBCEnergy_
float theBCEnergy_
Definition: ConversionSeedFinder.h:108
edm::View
Definition: CaloClusterFwd.h:14
ConversionSeedFinder::setNavigationSchool
void setNavigationSchool(const NavigationSchool *navigation)
Definition: ConversionSeedFinder.h:69
KFUpdator.h
edm::ParameterSet
Definition: ParameterSet.h:47
ConversionSeedFinder::theSCenergy_
float theSCenergy_
Definition: ConversionSeedFinder.h:103
PropagatorWithMaterial.h
ConversionSeedFinder::theSCPosition_
GlobalPoint theSCPosition_
Definition: ConversionSeedFinder.h:87
ConversionSeedFinder::thePropagatorAlongMomentum_
const Propagator * thePropagatorAlongMomentum_
Definition: ConversionSeedFinder.h:110
ConversionSeedFinder::seeds
TrajectorySeedCollection & seeds()
Definition: ConversionSeedFinder.h:57
ConversionSeedFinder::getMeasurementTracker
const MeasurementTracker * getMeasurementTracker() const
Definition: ConversionSeedFinder.h:65
ConversionSeedFinder::setCandidate
virtual void setCandidate(float e, GlobalPoint pos)
Definition: ConversionSeedFinder.h:58
edm::EventSetup
Definition: EventSetup.h:57
ConversionSeedFinder::theSeeds_
TrajectorySeedCollection theSeeds_
Definition: ConversionSeedFinder.h:86
StraightLinePropagator.h
ConversionSeedFinder::measurementTrkToken_
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkToken_
Definition: ConversionSeedFinder.h:98
TrajectorySeedCollection.h
ConversionSeedFinder
Definition: ConversionSeedFinder.h:48
PropagationDirection.h
ConversionSeedFinder::theGeomSearchTracker_
edm::ESHandle< GeometricSearchTracker > theGeomSearchTracker_
Definition: ConversionSeedFinder.h:95
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:53
ConversionSeedFinder::setEvent
void setEvent(const edm::Event &e)
Definition: ConversionSeedFinder.cc:30
ConversionSeedFinder::theBCPosition_
GlobalPoint theBCPosition_
Definition: ConversionSeedFinder.h:107
ConversionSeedFinder::theSC_
reco::CaloCluster * theSC_
Definition: ConversionSeedFinder.h:102
ConversionSeedFinder::theTrackerGeom_
const TrackingGeometry * theTrackerGeom_
Definition: ConversionSeedFinder.h:91
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:92
Point3D.h
ConversionSeedFinder::theLayerList_
std::vector< const DetLayer * > theLayerList_
Definition: ConversionSeedFinder.h:105
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:45
KFUpdator
Definition: KFUpdator.h:32
ConversionSeedFinder::dir_
PropagationDirection dir_
Definition: ConversionSeedFinder.h:101
CaloCluster.h
ConversionSeedFinder::theMeasurementTracker_
const MeasurementTracker * theMeasurementTracker_
Definition: ConversionSeedFinder.h:90
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:64