CMS 3D CMS Logo

ConversionTrackCandidateProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaPhotonProducers_ConversionTrackCandidateProducer_h
2 #define RecoEgamma_EgammaPhotonProducers_ConversionTrackCandidateProducer_h
3 
15 
31 
36 
37 // ConversionTrackCandidateProducer inherits from EDProducer, so it can be a module:
39 
40  public:
41 
44 
45  void beginRun (edm::Run const&, edm::EventSetup const & es) final;
46  void produce(edm::Event& evt, const edm::EventSetup& es) override;
47 
48  private:
49 
50  int nEvt_;
51 
53  void setEventSetup( const edm::EventSetup& es ) ;
54 
57 
58 
61 
70 
72  double maxHOverE_;
73  double minSCEt_;
74  double isoConeR_ ;
75  double isoInnerConeR_ ;
76  double isoEtaSlice_ ;
77  double isoEtMin_ ;
78  double isoEMin_ ;
81 
82  std::vector<int> flagsexclEB_;
83  std::vector<int> flagsexclEE_;
84  std::vector<int> severitiesexclEB_;
85  std::vector<int> severitiesexclEE_;
86 
89 
90 
92 
93  std::unique_ptr<BaseCkfTrajectoryBuilder> theTrajectoryBuilder_;
94 
95  std::unique_ptr<OutInConversionSeedFinder> theOutInSeedFinder_;
96  std::unique_ptr<OutInConversionTrackFinder> theOutInTrackFinder_;
97  std::unique_ptr<InOutConversionSeedFinder> theInOutSeedFinder_;
98  std::unique_ptr<InOutConversionTrackFinder> theInOutTrackFinder_;
99 
100 
101  std::vector<edm::Ptr<reco::CaloCluster> > caloPtrVecOutIn_;
102  std::vector<edm::Ptr<reco::CaloCluster> > caloPtrVecInOut_;
103 
104  std::vector<edm::Ref<reco::SuperClusterCollection> > vecOfSCRefForOutIn;
105  std::vector<edm::Ref<reco::SuperClusterCollection> > vecOfSCRefForInOut;
106 
107  void buildCollections(bool detector,
108  const edm::Handle<edm::View<reco::CaloCluster> > & scHandle,
109  const edm::Handle<edm::View<reco::CaloCluster> > & bcHandle,
110  edm::Handle<EcalRecHitCollection> ecalRecHitHandle,
111  const EcalRecHitCollection& ecalRecHits,
112  const EcalSeverityLevelAlgo* sevLev,
113  //edm::ESHandle<EcalChannelStatus> chStatus,
114  const edm::Handle<CaloTowerCollection> & hcalTowersHandle,
115  TrackCandidateCollection& outInTracks,
116  TrackCandidateCollection& inOutTracks,
117  std::vector<edm::Ptr<reco::CaloCluster> >& vecRecOI,
118  std::vector<edm::Ptr<reco::CaloCluster> >& vecRecIO);
119 
120 };
121 #endif
std::unique_ptr< OutInConversionSeedFinder > theOutInSeedFinder_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scIslandEndcapProducer_
std::vector< TrackCandidate > TrackCandidateCollection
std::vector< edm::Ref< reco::SuperClusterCollection > > vecOfSCRefForOutIn
edm::EDGetTokenT< EcalRecHitCollection > endcapecalCollection_
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecInOut_
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkEvtToken_
std::unique_ptr< BaseCkfTrajectoryBuilder > theTrajectoryBuilder_
std::unique_ptr< OutInConversionTrackFinder > theOutInTrackFinder_
edm::EDGetTokenT< CaloTowerCollection > hcalTowers_
ConversionTrackCandidateProducer(const edm::ParameterSet &ps)
std::unique_ptr< InOutConversionSeedFinder > theInOutSeedFinder_
std::vector< edm::Ref< reco::SuperClusterCollection > > vecOfSCRefForInOut
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecOutIn_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scHybridBarrelProducer_
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcBarrelCollection_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcEndcapCollection_
std::unique_ptr< InOutConversionTrackFinder > theInOutTrackFinder_
void buildCollections(bool detector, const edm::Handle< edm::View< reco::CaloCluster > > &scHandle, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle, edm::Handle< EcalRecHitCollection > ecalRecHitHandle, const EcalRecHitCollection &ecalRecHits, const EcalSeverityLevelAlgo *sevLev, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, TrackCandidateCollection &outInTracks, TrackCandidateCollection &inOutTracks, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecOI, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecIO)
void produce(edm::Event &evt, const edm::EventSetup &es) override
void beginRun(edm::Run const &, edm::EventSetup const &es) final
edm::EDGetTokenT< EcalRecHitCollection > barrelecalCollection_
Definition: Run.h:43