CMS 3D CMS Logo

AlCaGammaJetProducer.cc
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 #include <string>
4 // user include files
13 
31 
34 #include <iostream>
35 
36 //
37 // class declaration
38 //
39 
41 public:
42  explicit AlCaGammaJetProducer(const edm::ParameterSet&);
43  void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
44 
45 private:
46  bool select(const reco::PhotonCollection&, const reco::PFJetCollection&) const;
47 
48  // ----------member data ---------------------------
49 
53 
69 
85 };
86 
88  // Take input
89  labelPhoton_ = iConfig.getParameter<edm::InputTag>("PhoInput");
90  labelPFJet_ = iConfig.getParameter<edm::InputTag>("PFjetInput");
91  labelHBHE_ = iConfig.getParameter<edm::InputTag>("HBHEInput");
92  labelHF_ = iConfig.getParameter<edm::InputTag>("HFInput");
93  labelHO_ = iConfig.getParameter<edm::InputTag>("HOInput");
94  labelTrigger_ = iConfig.getParameter<edm::InputTag>("TriggerResults");
95  labelPFCandidate_ = iConfig.getParameter<edm::InputTag>("particleFlowInput");
96  labelVertex_ = iConfig.getParameter<edm::InputTag>("VertexInput");
97  labelPFMET_ = iConfig.getParameter<edm::InputTag>("METInput");
98  labelGsfEle_ = iConfig.getParameter<edm::InputTag>("gsfeleInput");
99  labelRho_ = iConfig.getParameter<edm::InputTag>("rhoInput");
100  labelConv_ = iConfig.getParameter<edm::InputTag>("ConversionsInput");
101  labelBeamSpot_ = iConfig.getParameter<edm::InputTag>("BeamSpotInput");
102  labelLoosePhot_ = iConfig.getParameter<edm::InputTag>("PhoLoose");
103  labelTightPhot_ = iConfig.getParameter<edm::InputTag>("PhoTight");
104  minPtJet_ = iConfig.getParameter<double>("MinPtJet");
105  minPtPhoton_ = iConfig.getParameter<double>("MinPtPhoton");
106 
107  tok_Photon_ = consumes<reco::PhotonCollection>(labelPhoton_);
108  tok_PFJet_ = consumes<reco::PFJetCollection>(labelPFJet_);
109  tok_HBHE_ = consumes<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(labelHBHE_);
110  tok_HF_ = consumes<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(labelHF_);
111  tok_HO_ = consumes<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(labelHO_);
112  tok_TrigRes_ = consumes<edm::TriggerResults>(labelTrigger_);
113  tok_PFCand_ = consumes<reco::PFCandidateCollection>(labelPFCandidate_);
114  tok_Vertex_ = consumes<reco::VertexCollection>(labelVertex_);
115  tok_PFMET_ = consumes<reco::PFMETCollection>(labelPFMET_);
116  tok_loosePhoton_ = consumes<edm::ValueMap<Bool_t>>(labelLoosePhot_);
117  tok_tightPhoton_ = consumes<edm::ValueMap<Bool_t>>(labelTightPhot_);
118  tok_GsfElec_ = consumes<reco::GsfElectronCollection>(labelGsfEle_);
119  tok_Rho_ = consumes<double>(labelRho_);
120  tok_Conv_ = consumes<reco::ConversionCollection>(labelConv_);
121  tok_BS_ = consumes<reco::BeamSpot>(labelBeamSpot_);
122 
123  // register your products
124  put_photon_ = produces<reco::PhotonCollection>(labelPhoton_.encode());
125  put_pfJet_ = produces<reco::PFJetCollection>(labelPFJet_.encode());
126  put_hbhe_ = produces<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(labelHBHE_.encode());
127  put_hf_ = produces<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(labelHF_.encode());
128  put_ho_ = produces<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(labelHO_.encode());
129  put_trigger_ = produces<edm::TriggerResults>(labelTrigger_.encode());
130  put_loosePhot_ = produces<std::vector<Bool_t>>(labelLoosePhot_.encode());
131  put_tightPhot_ = produces<std::vector<Bool_t>>(labelTightPhot_.encode());
132  put_rho_ = produces<double>(labelRho_.encode());
133  put_pfCandidate_ = produces<reco::PFCandidateCollection>(labelPFCandidate_.encode());
134  put_vertex_ = produces<reco::VertexCollection>(labelVertex_.encode());
135  put_pfMET_ = produces<reco::PFMETCollection>(labelPFMET_.encode());
136  put_gsfEle_ = produces<reco::GsfElectronCollection>(labelGsfEle_.encode());
137  put_conv_ = produces<reco::ConversionCollection>(labelConv_.encode());
138  put_beamSpot_ = produces<reco::BeamSpot>(labelBeamSpot_.encode());
139 }
140 
142  // Check the requirement for minimum pT
143  if (ph.empty())
144  return false;
145  bool ok(false);
146  for (reco::PFJetCollection::const_iterator itr = jt.begin(); itr != jt.end(); ++itr) {
147  if (itr->pt() >= minPtJet_) {
148  ok = true;
149  break;
150  }
151  }
152  if (!ok)
153  return ok;
154  for (reco::PhotonCollection::const_iterator itr = ph.begin(); itr != ph.end(); ++itr) {
155  if (itr->pt() >= minPtPhoton_)
156  return ok;
157  }
158  return false;
159 }
160 // ------------ method called to produce the data ------------
162  // Access the collections from iEvent
164  iEvent.getByToken(tok_Photon_, phoHandle);
165  if (!phoHandle.isValid()) {
166  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get the product " << labelPhoton_;
167  return;
168  }
169  const reco::PhotonCollection& photon = *(phoHandle.product());
170 
172  iEvent.getByToken(tok_PFJet_, pfjet);
173  if (!pfjet.isValid()) {
174  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFJet_;
175  return;
176  }
177  const reco::PFJetCollection& pfjets = *(pfjet.product());
178 
180  iEvent.getByToken(tok_PFCand_, pfc);
181  if (!pfc.isValid()) {
182  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFCandidate_;
183  return;
184  }
185  const reco::PFCandidateCollection& pfcand = *(pfc.product());
186 
188  iEvent.getByToken(tok_Vertex_, vt);
189  if (!vt.isValid()) {
190  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelVertex_;
191  return;
192  }
193  const reco::VertexCollection& vtx = *(vt.product());
194 
196  iEvent.getByToken(tok_PFMET_, pfmt);
197  if (!pfmt.isValid()) {
198  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFMET_;
199  return;
200  }
201  const reco::PFMETCollection& pfmet = *(pfmt.product());
202 
204  iEvent.getByToken(tok_HBHE_, hbhe);
205  if (!hbhe.isValid()) {
206  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHBHE_;
207  return;
208  }
210 
212  iEvent.getByToken(tok_HO_, ho);
213  if (!ho.isValid()) {
214  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHO_;
215  return;
216  }
218 
220  iEvent.getByToken(tok_HF_, hf);
221  if (!hf.isValid()) {
222  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHF_;
223  return;
224  }
226 
228  iEvent.getByToken(tok_TrigRes_, trig);
229  if (!trig.isValid()) {
230  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelTrigger_;
231  return;
232  }
233  const edm::TriggerResults& trigres = *(trig.product());
234 
236  iEvent.getByToken(tok_Rho_, rh);
237  if (!rh.isValid()) {
238  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelRho_;
239  return;
240  }
241  const double rho_val = *(rh.product());
242 
244  iEvent.getByToken(tok_GsfElec_, gsf);
245  if (!gsf.isValid()) {
246  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelGsfEle_;
247  return;
248  }
249  const reco::GsfElectronCollection& gsfele = *(gsf.product());
250 
252  iEvent.getByToken(tok_Conv_, con);
253  if (!con.isValid()) {
254  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelConv_;
255  return;
256  }
257  const reco::ConversionCollection& conv = *(con.product());
258 
260  iEvent.getByToken(tok_BS_, bs);
261  if (!bs.isValid()) {
262  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelBeamSpot_;
263  return;
264  }
265  const reco::BeamSpot& beam = *(bs.product());
266 
267  // declare variables
268  // copy from standard place, if the event is useful
269  reco::BeamSpot miniBeamSpotCollection(
270  beam.position(), beam.sigmaZ(), beam.dxdz(), beam.dydz(), beam.BeamWidthX(), beam.covariance(), beam.type());
271 
272  std::vector<Bool_t> miniLoosePhoton{};
273  std::vector<Bool_t> miniTightPhoton{};
274 
275  // See if this event is useful
276  bool accept = select(photon, pfjets);
277  if (accept) {
278  iEvent.emplace(put_photon_, photon);
279  iEvent.emplace(put_pfJet_, pfjets);
280  iEvent.emplace(put_hbhe_, Hithbhe);
281  iEvent.emplace(put_hf_, Hithf);
282  iEvent.emplace(put_ho_, Hitho);
283  iEvent.emplace(put_trigger_, trigres);
284  iEvent.emplace(put_pfCandidate_, pfcand);
285  iEvent.emplace(put_vertex_, vtx);
286  iEvent.emplace(put_pfMET_, pfmet);
287  iEvent.emplace(put_gsfEle_, gsfele);
288  iEvent.emplace(put_rho_, rho_val);
289  iEvent.emplace(put_conv_, conv);
290 
291  edm::Handle<edm::ValueMap<Bool_t>> loosePhotonQual;
292  iEvent.getByToken(tok_loosePhoton_, loosePhotonQual);
293  edm::Handle<edm::ValueMap<Bool_t>> tightPhotonQual;
294  iEvent.getByToken(tok_tightPhoton_, tightPhotonQual);
295  if (loosePhotonQual.isValid() && tightPhotonQual.isValid()) {
296  miniLoosePhoton.reserve(photon.size());
297  miniTightPhoton.reserve(photon.size());
298  for (int iPho = 0; iPho < int(photon.size()); ++iPho) {
299  edm::Ref<reco::PhotonCollection> photonRef(phoHandle, iPho);
300  if (!photonRef) {
301  std::cout << "failed ref" << std::endl;
302  miniLoosePhoton.push_back(-1);
303  miniTightPhoton.push_back(-1);
304  } else {
305  miniLoosePhoton.push_back((*loosePhotonQual)[photonRef]);
306  miniTightPhoton.push_back((*tightPhotonQual)[photonRef]);
307  }
308  }
309  }
310  } else {
321  iEvent.emplace(put_rho_, double{});
323  }
324 
325  //Put them in the event
326  iEvent.emplace(put_beamSpot_, std::move(miniBeamSpotCollection));
327  iEvent.emplace(put_loosePhot_, std::move(miniLoosePhoton));
328  iEvent.emplace(put_tightPhot_, std::move(miniTightPhoton));
329 
330  return;
331 }
332 
edm::StreamID
Definition: StreamID.h:30
muons2muons_cfi.photon
photon
Definition: muons2muons_cfi.py:28
reco::PFMETCollection
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
Definition: PFMETCollection.h:20
AlCaGammaJetProducer::put_photon_
edm::EDPutTokenT< reco::PhotonCollection > put_photon_
Definition: AlCaGammaJetProducer.cc:70
MessageLogger.h
edm::Handle::product
T const * product() const
Definition: Handle.h:70
ESHandle.h
TriggerResults.h
AlCaGammaJetProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition: AlCaGammaJetProducer.cc:161
AlCaGammaJetProducer::labelLoosePhot_
edm::InputTag labelLoosePhot_
Definition: AlCaGammaJetProducer.cc:50
PFCandidate.h
conv
static HepMC::IO_HEPEVT conv
Definition: BeamHaloProducer.cc:48
HORecHit
Definition: HORecHit.h:11
TriggerEvent.h
edm::EDGetTokenT< reco::PhotonCollection >
edm::EDPutTokenT< reco::PhotonCollection >
HBHERecHit
Definition: HBHERecHit.h:13
AlCaGammaJetProducer::tok_BS_
edm::EDGetTokenT< reco::BeamSpot > tok_BS_
Definition: AlCaGammaJetProducer.cc:66
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
gather_cfg.cout
cout
Definition: gather_cfg.py:144
PFJetCollection.h
AlCaGammaJetProducer::tok_GsfElec_
edm::EDGetTokenT< reco::GsfElectronCollection > tok_GsfElec_
Definition: AlCaGammaJetProducer.cc:63
edm::SortedCollection
Definition: SortedCollection.h:49
PhotonFwd.h
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition: GsfElectronFwd.h:14
PFMETCollection.h
AlCaGammaJetProducer::labelPFCandidate_
edm::InputTag labelPFCandidate_
Definition: AlCaGammaJetProducer.cc:50
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle< reco::PhotonCollection >
AlCaGammaJetProducer::labelPFJet_
edm::InputTag labelPFJet_
Definition: AlCaGammaJetProducer.cc:50
AlCaGammaJetProducer::put_rho_
edm::EDPutTokenT< double > put_rho_
Definition: AlCaGammaJetProducer.cc:78
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
AlCaGammaJetProducer
Definition: AlCaGammaJetProducer.cc:40
AlCaGammaJetProducer::labelRho_
edm::InputTag labelRho_
Definition: AlCaGammaJetProducer.cc:50
edm::Ref
Definition: AssociativeIterator.h:58
reco::ConversionCollection
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
pfDeepBoostedJetPreprocessParams_cfi.pfcand
pfcand
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:8
AlCaGammaJetProducer::labelBeamSpot_
edm::InputTag labelBeamSpot_
Definition: AlCaGammaJetProducer.cc:50
AlCaGammaJetProducer::select
bool select(const reco::PhotonCollection &, const reco::PFJetCollection &) const
Definition: AlCaGammaJetProducer.cc:141
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:30
MakerMacros.h
Photon.h
cms::cuda::bs
bs
Definition: HistoContainer.h:127
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
AlCaGammaJetProducer::minPtPhoton_
double minPtPhoton_
Definition: AlCaGammaJetProducer.cc:52
HFRecHit
Definition: HFRecHit.h:11
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
AlCaGammaJetProducer::labelGsfEle_
edm::InputTag labelGsfEle_
Definition: AlCaGammaJetProducer.cc:50
HFRecHit.h
reco::BeamSpot
Definition: BeamSpot.h:21
AlCaGammaJetProducer::tok_Rho_
edm::EDGetTokenT< double > tok_Rho_
Definition: AlCaGammaJetProducer.cc:64
AlCaGammaJetProducer::labelPhoton_
edm::InputTag labelPhoton_
Definition: AlCaGammaJetProducer.cc:50
EcalCondDBWriter_cfi.beam
beam
Definition: EcalCondDBWriter_cfi.py:45
edm::global::EDProducer
Definition: EDProducer.h:32
CaloGeometryRecord.h
Vertex.h
AlCaGammaJetProducer::put_ho_
edm::EDPutTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > put_ho_
Definition: AlCaGammaJetProducer.cc:74
AlCaGammaJetProducer::tok_PFMET_
edm::EDGetTokenT< reco::PFMETCollection > tok_PFMET_
Definition: AlCaGammaJetProducer.cc:62
AlCaGammaJetProducer::tok_Photon_
edm::EDGetTokenT< reco::PhotonCollection > tok_Photon_
Definition: AlCaGammaJetProducer.cc:54
AlCaGammaJetProducer::labelPFMET_
edm::InputTag labelPFMET_
Definition: AlCaGammaJetProducer.cc:50
AlCaGammaJetProducer::AlCaGammaJetProducer
AlCaGammaJetProducer(const edm::ParameterSet &)
Definition: AlCaGammaJetProducer.cc:87
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaGammaJetProducer::put_gsfEle_
edm::EDPutTokenT< reco::GsfElectronCollection > put_gsfEle_
Definition: AlCaGammaJetProducer.cc:82
AlCaGammaJetProducer::put_vertex_
edm::EDPutTokenT< reco::VertexCollection > put_vertex_
Definition: AlCaGammaJetProducer.cc:80
Event.h
AlCaGammaJetProducer::put_pfCandidate_
edm::EDPutTokenT< reco::PFCandidateCollection > put_pfCandidate_
Definition: AlCaGammaJetProducer.cc:79
AlCaGammaJetProducer::minPtJet_
double minPtJet_
Definition: AlCaGammaJetProducer.cc:52
AlCaGammaJetProducer::tok_HBHE_
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > tok_HBHE_
Definition: AlCaGammaJetProducer.cc:56
AlCaGammaJetProducer::tok_HF_
edm::EDGetTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > tok_HF_
Definition: AlCaGammaJetProducer.cc:57
AlCaGammaJetProducer::labelHO_
edm::InputTag labelHO_
Definition: AlCaGammaJetProducer.cc:50
PFMET.h
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
AlCaGammaJetProducer::tok_TrigRes_
edm::EDGetTokenT< edm::TriggerResults > tok_TrigRes_
Definition: AlCaGammaJetProducer.cc:59
photonIsolationHIProducer_cfi.ho
ho
Definition: photonIsolationHIProducer_cfi.py:10
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
ntupleEnum.gsf
gsf
Definition: ntupleEnum.py:48
edm::EventSetup
Definition: EventSetup.h:57
AlCaGammaJetProducer::put_loosePhot_
edm::EDPutTokenT< std::vector< Bool_t > > put_loosePhot_
Definition: AlCaGammaJetProducer.cc:76
AlCaGammaJetProducer::tok_PFJet_
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
Definition: AlCaGammaJetProducer.cc:55
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:29
ClusterTask_cfi.trig
trig
Definition: ClusterTask_cfi.py:398
AlCaGammaJetProducer::put_hbhe_
edm::EDPutTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > put_hbhe_
Definition: AlCaGammaJetProducer.cc:72
TriggerObject.h
AlCaGammaJetProducer::put_conv_
edm::EDPutTokenT< reco::ConversionCollection > put_conv_
Definition: AlCaGammaJetProducer.cc:83
ValueMap.h
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition: photonIsolationHIProducer_cfi.py:8
HBHERecHit.h
VertexFwd.h
AlCaGammaJetProducer::put_beamSpot_
edm::EDPutTokenT< reco::BeamSpot > put_beamSpot_
Definition: AlCaGammaJetProducer.cc:84
AlCaGammaJetProducer::put_pfMET_
edm::EDPutTokenT< reco::PFMETCollection > put_pfMET_
Definition: AlCaGammaJetProducer.cc:81
eostools.move
def move(src, dest)
Definition: eostools.py:511
AlCaGammaJetProducer::tok_Vertex_
edm::EDGetTokenT< reco::VertexCollection > tok_Vertex_
Definition: AlCaGammaJetProducer.cc:61
AlCaGammaJetProducer::put_hf_
edm::EDPutTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > put_hf_
Definition: AlCaGammaJetProducer.cc:73
AlCaGammaJetProducer::labelVertex_
edm::InputTag labelVertex_
Definition: AlCaGammaJetProducer.cc:50
reco::PFJetCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Definition: PFJetCollection.h:14
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
DetId.h
Frameworkfwd.h
edm::StrictWeakOrdering
Definition: SortedCollection.h:47
CaloGeometry.h
AlCaGammaJetProducer::labelHF_
edm::InputTag labelHF_
Definition: AlCaGammaJetProducer.cc:50
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition: PFCandidateFwd.h:12
EventSetup.h
AlCaGammaJetProducer::labelTightPhot_
edm::InputTag labelTightPhot_
Definition: AlCaGammaJetProducer.cc:50
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HORecHit.h
AlCaGammaJetProducer::put_trigger_
edm::EDPutTokenT< edm::TriggerResults > put_trigger_
Definition: AlCaGammaJetProducer.cc:75
AlCaGammaJetProducer::labelTrigger_
edm::InputTag labelTrigger_
Definition: AlCaGammaJetProducer.cc:50
reco::PhotonCollection
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
AlCaGammaJetProducer::labelHBHE_
edm::InputTag labelHBHE_
Definition: AlCaGammaJetProducer.cc:50
AlCaGammaJetProducer::put_pfJet_
edm::EDPutTokenT< reco::PFJetCollection > put_pfJet_
Definition: AlCaGammaJetProducer.cc:71
AlCaGammaJetProducer::tok_loosePhoton_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_loosePhoton_
Definition: AlCaGammaJetProducer.cc:67
ParameterSet.h
AlCaGammaJetProducer::tok_HO_
edm::EDGetTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > tok_HO_
Definition: AlCaGammaJetProducer.cc:58
AlCaGammaJetProducer::labelConv_
edm::InputTag labelConv_
Definition: AlCaGammaJetProducer.cc:50
AlCaGammaJetProducer::tok_PFCand_
edm::EDGetTokenT< reco::PFCandidateCollection > tok_PFCand_
Definition: AlCaGammaJetProducer.cc:60
AlCaGammaJetProducer::tok_tightPhoton_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_tightPhoton_
Definition: AlCaGammaJetProducer.cc:68
EDProducer.h
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
GlobalPoint.h
edm::InputTag
Definition: InputTag.h:15
edm::TriggerResults
Definition: TriggerResults.h:35
AlCaGammaJetProducer::put_tightPhot_
edm::EDPutTokenT< std::vector< Bool_t > > put_tightPhot_
Definition: AlCaGammaJetProducer.cc:77
AlCaGammaJetProducer::tok_Conv_
edm::EDGetTokenT< reco::ConversionCollection > tok_Conv_
Definition: AlCaGammaJetProducer.cc:65