CMS 3D CMS Logo

InOutConversionSeedFinder.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionSeed_InOutConversionSeedFinder_h
2 #define RecoEGAMMA_ConversionSeed_InOutConversionSeedFinder_h
3 
13 
16 
26 #include <string>
27 #include <vector>
28 
29 class MagneticField;
33 
35 private:
38 
39 public:
41 
42  ~InOutConversionSeedFinder() override;
43 
44  void makeSeeds(const edm::Handle<edm::View<reco::CaloCluster> >& allBc) override;
45 
46  void setTracks(std::vector<Trajectory> const& in) { theOutInTracks_ = in; }
47 
48 private:
50  virtual void fillClusterSeeds();
51  void startSeed(const FreeTrajectoryState* fts,
52  const TrajectoryStateOnSurface& stateAtPreviousLayer,
53  int charge,
54  int layer);
55  virtual void findSeeds(const TrajectoryStateOnSurface& startingState, float signedpt, unsigned int startingLayer);
56 
57  std::vector<const reco::CaloCluster*> getSecondCaloClusters(const GlobalPoint& conversionPosition,
58  float charge) const;
59  void completeSeed(const TrajectoryMeasurement& m1,
60  const FreeTrajectoryState& fts,
61  const Propagator* propagator,
62  int ilayer);
63  void createSeed(const TrajectoryMeasurement& m1, const TrajectoryMeasurement& m2);
64 
65 private:
73 
75 
76  std::vector<Trajectory> inputTracks_;
77  std::vector<Trajectory> theOutInTracks_;
78  std::vector<TrajectoryMeasurement> theFirstMeasurements_;
79 
82 };
83 
84 #endif
Vector3DBase
Definition: Vector3DBase.h:8
InOutConversionSeedFinder::setTracks
void setTracks(std::vector< Trajectory > const &in)
Definition: InOutConversionSeedFinder.h:46
InOutConversionSeedFinder::the2ndHitdzConst_
float the2ndHitdzConst_
Definition: InOutConversionSeedFinder.h:67
InOutConversionSeedFinder::the2ndHitdphi_
float the2ndHitdphi_
Definition: InOutConversionSeedFinder.h:66
TrackCandidateCollection.h
ConversionSeedFinder.h
InOutConversionSeedFinder
Definition: InOutConversionSeedFinder.h:34
TrackingGeometry.h
TrajectoryMeasurement.h
edm::Handle
Definition: AssociativeIterator.h:50
InOutConversionSeedFinder::~InOutConversionSeedFinder
~InOutConversionSeedFinder() override
Definition: InOutConversionSeedFinder.cc:32
InOutConversionSeedFinder::myPointer
TrajectoryMeasurement * myPointer
Definition: InOutConversionSeedFinder.h:74
InOutConversionSeedFinder::theFirstMeasurements_
std::vector< TrajectoryMeasurement > theFirstMeasurements_
Definition: InOutConversionSeedFinder.h:78
config
Definition: config.py:1
Propagator
Definition: Propagator.h:44
GeometricSearchTracker.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
InOutConversionSeedFinder::completeSeed
void completeSeed(const TrajectoryMeasurement &m1, const FreeTrajectoryState &fts, const Propagator *propagator, int ilayer)
Definition: InOutConversionSeedFinder.cc:484
TrackCandidateProducer_cfi.propagator
propagator
Definition: TrackCandidateProducer_cfi.py:17
InOutConversionSeedFinder::conf_
edm::ParameterSet conf_
Definition: InOutConversionSeedFinder.h:49
LayerMeasurements.h
MeasurementEstimator.h
reco::CaloCluster
Definition: CaloCluster.h:31
InOutConversionSeedFinder::createSeed
void createSeed(const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2)
Definition: InOutConversionSeedFinder.cc:545
CaloClusterFwd.h
Point3DBase< float, GlobalTag >
InOutConversionSeedFinder::startSeed
void startSeed(const FreeTrajectoryState *fts, const TrajectoryStateOnSurface &stateAtPreviousLayer, int charge, int layer)
Definition: InOutConversionSeedFinder.cc:255
InOutConversionSeedFinder::FTS
FreeTrajectoryState FTS
Definition: InOutConversionSeedFinder.h:36
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
InOutConversionSeedFinder::makeSeeds
void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) override
Definition: InOutConversionSeedFinder.cc:36
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:36
InOutConversionSeedFinder::getSecondCaloClusters
std::vector< const reco::CaloCluster * > getSecondCaloClusters(const GlobalPoint &conversionPosition, float charge) const
Definition: InOutConversionSeedFinder.cc:301
InOutConversionSeedFinder::the2ndHitdznSigma_
float the2ndHitdznSigma_
Definition: InOutConversionSeedFinder.h:68
recoMuon::in
Definition: RecoMuonEnumerators.h:6
InOutConversionSeedFinder::maxNumberOfInOutSeedsPerInputTrack_
int maxNumberOfInOutSeedsPerInputTrack_
Definition: InOutConversionSeedFinder.h:72
InOutConversionSeedFinder::theSecondBC_
reco::CaloCluster theSecondBC_
Definition: InOutConversionSeedFinder.h:80
InOutConversionSeedFinder::track2Charge_
int track2Charge_
Definition: InOutConversionSeedFinder.h:69
InOutConversionSeedFinder::InOutConversionSeedFinder
InOutConversionSeedFinder(const edm::ParameterSet &config, edm::ConsumesCollector &&iC)
Definition: InOutConversionSeedFinder.cc:21
InOutConversionSeedFinder::bcCollection_
edm::Handle< edm::View< reco::CaloCluster > > bcCollection_
Definition: InOutConversionSeedFinder.h:81
TrajectorySeedCollection.h
ConversionSeedFinder
Definition: ConversionSeedFinder.h:47
Trajectory.h
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
InOutConversionSeedFinder::TSOS
TrajectoryStateOnSurface TSOS
Definition: InOutConversionSeedFinder.h:37
InOutConversionSeedFinder::theOutInTracks_
std::vector< Trajectory > theOutInTracks_
Definition: InOutConversionSeedFinder.h:77
InOutConversionSeedFinder::track2InitialMomentum_
GlobalVector track2InitialMomentum_
Definition: InOutConversionSeedFinder.h:70
InOutConversionSeedFinder::fillClusterSeeds
virtual void fillClusterSeeds()
Definition: InOutConversionSeedFinder.cc:52
DetLayer.h
InOutConversionSeedFinder::inputTracks_
std::vector< Trajectory > inputTracks_
Definition: InOutConversionSeedFinder.h:76
View.h
ParameterSet.h
MagneticField
Definition: MagneticField.h:19
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
MeasurementTracker.h
InOutConversionSeedFinder::findSeeds
virtual void findSeeds(const TrajectoryStateOnSurface &startingState, float signedpt, unsigned int startingLayer)
Definition: InOutConversionSeedFinder.cc:320
InOutConversionSeedFinder::nSeedsPerInputTrack_
int nSeedsPerInputTrack_
Definition: InOutConversionSeedFinder.h:71