CMS 3D CMS Logo

OutInConversionSeedFinder.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionSeed_OutInConversionSeedFinder_h
2 #define RecoEGAMMA_ConversionSeed_OutInConversionSeedFinder_h
3 
16 
18 
20 
21 #include <string>
22 #include <vector>
23 
24 class MagneticField;
27 class LayerMeasurements;
28 
30 private:
33 
34 public:
36 
37  ~OutInConversionSeedFinder() override;
38 
39  void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> > &allBc) override;
40  virtual void makeSeeds(const reco::CaloClusterPtr &aBC);
41 
42 private:
44  std::pair<FreeTrajectoryState, bool> makeTrackState(int charge) const;
45 
46  void fillClusterSeeds(const reco::CaloClusterPtr &bc);
47 
48  void startSeed(const FreeTrajectoryState &);
49  void completeSeed(const TrajectoryMeasurement &m1, const FreeTrajectoryState &fts, const Propagator *, int layer);
50  void createSeed(const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2);
53 
54  MeasurementEstimator *makeEstimator(const DetLayer *, float dphi) const;
55 
56 private:
60  std::vector<TrajectoryMeasurement> theFirstMeasurements_;
63  float bcEtcut_;
64  float bcEcut_;
65  bool useEtCut_;
66 };
67 
68 #endif
MeasurementEstimator
Definition: MeasurementEstimator.h:19
OutInConversionSeedFinder::OutInConversionSeedFinder
OutInConversionSeedFinder(const edm::ParameterSet &config, edm::ConsumesCollector &&iC)
Definition: OutInConversionSeedFinder.cc:34
OutInConversionSeedFinder::makeTrackState
std::pair< FreeTrajectoryState, bool > makeTrackState(int charge) const
Definition: OutInConversionSeedFinder.cc:188
ConversionSeedFinder.h
DetLayer
Definition: DetLayer.h:21
OutInConversionSeedFinder::fixPointRadius
GlobalPoint fixPointRadius(const TrajectoryMeasurement &) const
Definition: OutInConversionSeedFinder.cc:518
OutInConversionSeedFinder::useEtCut_
bool useEtCut_
Definition: OutInConversionSeedFinder.h:65
OutInConversionSeedFinder::startSeed
void startSeed(const FreeTrajectoryState &)
Definition: OutInConversionSeedFinder.cc:272
OutInConversionSeedFinder::createSeed
void createSeed(const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2)
Definition: OutInConversionSeedFinder.cc:424
OutInConversionSeedFinder::theFirstMeasurements_
std::vector< TrajectoryMeasurement > theFirstMeasurements_
Definition: OutInConversionSeedFinder.h:60
edm::Handle
Definition: AssociativeIterator.h:50
config
Definition: config.py:1
Propagator
Definition: Propagator.h:44
GeometricSearchTracker.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
OutInConversionSeedFinder::completeSeed
void completeSeed(const TrajectoryMeasurement &m1, const FreeTrajectoryState &fts, const Propagator *, int layer)
Definition: OutInConversionSeedFinder.cc:373
LayerMeasurements
Definition: LayerMeasurements.h:18
OutInConversionSeedFinder::makeEstimator
MeasurementEstimator * makeEstimator(const DetLayer *, float dphi) const
Definition: OutInConversionSeedFinder.cc:341
MeasurementEstimator.h
OutInConversionSeedFinder::conf_
edm::ParameterSet conf_
Definition: OutInConversionSeedFinder.h:43
OutInConversionSeedFinder
Definition: OutInConversionSeedFinder.h:29
Point3DBase< float, GlobalTag >
OutInConversionSeedFinder::bcEcut_
float bcEcut_
Definition: OutInConversionSeedFinder.h:64
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
OutInConversionSeedFinder::the2ndHitdzConst_
float the2ndHitdzConst_
Definition: OutInConversionSeedFinder.h:58
OutInConversionSeedFinder::the2ndHitdznSigma_
float the2ndHitdznSigma_
Definition: OutInConversionSeedFinder.h:59
OutInConversionSeedFinder::the2ndHitdphi_
float the2ndHitdphi_
Definition: OutInConversionSeedFinder.h:57
OutInConversionSeedFinder::fillClusterSeeds
void fillClusterSeeds(const reco::CaloClusterPtr &bc)
Definition: OutInConversionSeedFinder.cc:171
OutInConversionSeedFinder::makeSeeds
void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) override
Definition: OutInConversionSeedFinder.cc:54
TrajectorySeedCollection.h
ConversionSeedFinder
Definition: ConversionSeedFinder.h:48
OutInConversionSeedFinder::FTS
FreeTrajectoryState FTS
Definition: OutInConversionSeedFinder.h:31
edm::Ptr< CaloCluster >
OutInConversionSeedFinder::createSeedFTS
FreeTrajectoryState createSeedFTS(const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2) const
Definition: OutInConversionSeedFinder.cc:479
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
OutInConversionSeedFinder::TSOS
TrajectoryStateOnSurface TSOS
Definition: OutInConversionSeedFinder.h:32
OutInConversionSeedFinder::bcEtcut_
float bcEtcut_
Definition: OutInConversionSeedFinder.h:63
View.h
OutInConversionSeedFinder::~OutInConversionSeedFinder
~OutInConversionSeedFinder() override
Definition: OutInConversionSeedFinder.cc:49
ParameterSet.h
MagneticField
Definition: MagneticField.h:19
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
OutInConversionSeedFinder::nSeedsPerBC_
int nSeedsPerBC_
Definition: OutInConversionSeedFinder.h:61
CaloCluster.h
MeasurementTracker.h
OutInConversionSeedFinder::maxNumberOfOutInSeedsPerBC_
int maxNumberOfOutInSeedsPerBC_
Definition: OutInConversionSeedFinder.h:62