CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConversionTrackCandidateProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaPhotonProducers_ConversionTrackCandidateProducer_h
2 #define RecoEgamma_EgammaPhotonProducers_ConversionTrackCandidateProducer_h
3 
15 
30 
35 
36 // ConversionTrackCandidateProducer inherits from EDProducer, so it can be a module:
38 
39  public:
40 
43 
44  virtual void beginRun (edm::Run const&, edm::EventSetup const & es) override final;
45  virtual void produce(edm::Event& evt, const edm::EventSetup& es) override;
46 
47  private:
48 
49  int nEvt_;
50 
52  void setEventSetup( const edm::EventSetup& es ) ;
53 
56 
57 
60 
69 
71  double maxHOverE_;
72  double minSCEt_;
73  double isoConeR_ ;
74  double isoInnerConeR_ ;
75  double isoEtaSlice_ ;
76  double isoEtMin_ ;
77  double isoEMin_ ;
80 
81  std::vector<int> flagsexclEB_;
82  std::vector<int> flagsexclEE_;
83  std::vector<int> severitiesexclEB_;
84  std::vector<int> severitiesexclEE_;
85 
88 
89 
91 
92  std::unique_ptr<BaseCkfTrajectoryBuilder> theTrajectoryBuilder_;
93 
94  std::unique_ptr<OutInConversionSeedFinder> theOutInSeedFinder_;
95  std::unique_ptr<OutInConversionTrackFinder> theOutInTrackFinder_;
96  std::unique_ptr<InOutConversionSeedFinder> theInOutSeedFinder_;
97  std::unique_ptr<InOutConversionTrackFinder> theInOutTrackFinder_;
98 
99 
100  std::vector<edm::Ptr<reco::CaloCluster> > caloPtrVecOutIn_;
101  std::vector<edm::Ptr<reco::CaloCluster> > caloPtrVecInOut_;
102 
103  std::vector<edm::Ref<reco::SuperClusterCollection> > vecOfSCRefForOutIn;
104  std::vector<edm::Ref<reco::SuperClusterCollection> > vecOfSCRefForInOut;
105 
106  void buildCollections(bool detector,
107  const edm::Handle<edm::View<reco::CaloCluster> > & scHandle,
108  const edm::Handle<edm::View<reco::CaloCluster> > & bcHandle,
109  edm::Handle<EcalRecHitCollection> ecalRecHitHandle,
110  const EcalRecHitCollection& ecalRecHits,
111  const EcalSeverityLevelAlgo* sevLev,
112  //edm::ESHandle<EcalChannelStatus> chStatus,
113  const edm::Handle<CaloTowerCollection> & hcalTowersHandle,
114  TrackCandidateCollection& outInTracks,
115  TrackCandidateCollection& inOutTracks,
116  std::vector<edm::Ptr<reco::CaloCluster> >& vecRecOI,
117  std::vector<edm::Ptr<reco::CaloCluster> >& vecRecIO);
118 
119 };
120 #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_
virtual void beginRun(edm::Run const &, edm::EventSetup const &es) overridefinal
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)
virtual void produce(edm::Event &evt, const edm::EventSetup &es) override
edm::EDGetTokenT< EcalRecHitCollection > barrelecalCollection_
Definition: Run.h:43