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);
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
std::vector< const reco::CaloCluster * > getSecondCaloClusters(const GlobalPoint &conversionPosition, float charge) const
void setTracks(std::vector< Trajectory > const &in)
Definition: config.py:1
void createSeed(const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2)
std::vector< TrajectoryMeasurement > theFirstMeasurements_
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< Trajectory > inputTracks_
TrajectoryMeasurement * myPointer
void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) override
edm::Handle< edm::View< reco::CaloCluster > > bcCollection_
void startSeed(const FreeTrajectoryState *fts, const TrajectoryStateOnSurface &stateAtPreviousLayer, int charge, int layer)
TrajectoryStateOnSurface TSOS
void completeSeed(const TrajectoryMeasurement &m1, const FreeTrajectoryState &fts, const Propagator *propagator, int ilayer)
InOutConversionSeedFinder(const edm::ParameterSet &config, edm::ConsumesCollector &&iC)
virtual void findSeeds(const TrajectoryStateOnSurface &startingState, float signedpt, unsigned int startingLayer)
std::vector< Trajectory > theOutInTracks_