CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
AlCaGammaJetProducer Class Reference
Inheritance diagram for AlCaGammaJetProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 AlCaGammaJetProducer (const edm::ParameterSet &)
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

bool select (const reco::PhotonCollection &, const reco::PFJetCollection &) const
 

Private Attributes

edm::InputTag labelBeamSpot_
 
edm::InputTag labelConv_
 
edm::InputTag labelGsfEle_
 
edm::InputTag labelHBHE_
 
edm::InputTag labelHF_
 
edm::InputTag labelHO_
 
edm::InputTag labelLoosePhot_
 
edm::InputTag labelPFCandidate_
 
edm::InputTag labelPFJet_
 
edm::InputTag labelPFMET_
 
edm::InputTag labelPhoton_
 
edm::InputTag labelRho_
 
edm::InputTag labelTightPhot_
 
edm::InputTag labelTrigger_
 
edm::InputTag labelVertex_
 
double minPtJet_
 
double minPtPhoton_
 
edm::EDPutTokenT< reco::BeamSpotput_beamSpot_
 
edm::EDPutTokenT< reco::ConversionCollectionput_conv_
 
edm::EDPutTokenT< reco::GsfElectronCollectionput_gsfEle_
 
edm::EDPutTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > put_hbhe_
 
edm::EDPutTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > put_hf_
 
edm::EDPutTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > put_ho_
 
edm::EDPutTokenT< std::vector< Bool_t > > put_loosePhot_
 
edm::EDPutTokenT< reco::PFCandidateCollectionput_pfCandidate_
 
edm::EDPutTokenT< reco::PFJetCollectionput_pfJet_
 
edm::EDPutTokenT< reco::PFMETCollectionput_pfMET_
 
edm::EDPutTokenT< reco::PhotonCollectionput_photon_
 
edm::EDPutTokenT< double > put_rho_
 
edm::EDPutTokenT< std::vector< Bool_t > > put_tightPhot_
 
edm::EDPutTokenT< edm::TriggerResultsput_trigger_
 
edm::EDPutTokenT< reco::VertexCollectionput_vertex_
 
edm::EDGetTokenT< reco::BeamSpottok_BS_
 
edm::EDGetTokenT< reco::ConversionCollectiontok_Conv_
 
edm::EDGetTokenT< reco::GsfElectronCollectiontok_GsfElec_
 
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > tok_HBHE_
 
edm::EDGetTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > tok_HF_
 
edm::EDGetTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > tok_HO_
 
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_loosePhoton_
 
edm::EDGetTokenT< reco::PFCandidateCollectiontok_PFCand_
 
edm::EDGetTokenT< reco::PFJetCollectiontok_PFJet_
 
edm::EDGetTokenT< reco::PFMETCollectiontok_PFMET_
 
edm::EDGetTokenT< reco::PhotonCollectiontok_Photon_
 
edm::EDGetTokenT< double > tok_Rho_
 
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_tightPhoton_
 
edm::EDGetTokenT< edm::TriggerResultstok_TrigRes_
 
edm::EDGetTokenT< reco::VertexCollectiontok_Vertex_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 39 of file AlCaGammaJetProducer.cc.

Constructor & Destructor Documentation

◆ AlCaGammaJetProducer()

AlCaGammaJetProducer::AlCaGammaJetProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 86 of file AlCaGammaJetProducer.cc.

86  {
87  // Take input
88  labelPhoton_ = iConfig.getParameter<edm::InputTag>("PhoInput");
89  labelPFJet_ = iConfig.getParameter<edm::InputTag>("PFjetInput");
90  labelHBHE_ = iConfig.getParameter<edm::InputTag>("HBHEInput");
91  labelHF_ = iConfig.getParameter<edm::InputTag>("HFInput");
92  labelHO_ = iConfig.getParameter<edm::InputTag>("HOInput");
93  labelTrigger_ = iConfig.getParameter<edm::InputTag>("TriggerResults");
94  labelPFCandidate_ = iConfig.getParameter<edm::InputTag>("particleFlowInput");
95  labelVertex_ = iConfig.getParameter<edm::InputTag>("VertexInput");
96  labelPFMET_ = iConfig.getParameter<edm::InputTag>("METInput");
97  labelGsfEle_ = iConfig.getParameter<edm::InputTag>("gsfeleInput");
98  labelRho_ = iConfig.getParameter<edm::InputTag>("rhoInput");
99  labelConv_ = iConfig.getParameter<edm::InputTag>("ConversionsInput");
100  labelBeamSpot_ = iConfig.getParameter<edm::InputTag>("BeamSpotInput");
101  labelLoosePhot_ = iConfig.getParameter<edm::InputTag>("PhoLoose");
102  labelTightPhot_ = iConfig.getParameter<edm::InputTag>("PhoTight");
103  minPtJet_ = iConfig.getParameter<double>("MinPtJet");
104  minPtPhoton_ = iConfig.getParameter<double>("MinPtPhoton");
105 
106  tok_Photon_ = consumes<reco::PhotonCollection>(labelPhoton_);
107  tok_PFJet_ = consumes<reco::PFJetCollection>(labelPFJet_);
108  tok_HBHE_ = consumes<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(labelHBHE_);
109  tok_HF_ = consumes<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(labelHF_);
110  tok_HO_ = consumes<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(labelHO_);
111  tok_TrigRes_ = consumes<edm::TriggerResults>(labelTrigger_);
112  tok_PFCand_ = consumes<reco::PFCandidateCollection>(labelPFCandidate_);
113  tok_Vertex_ = consumes<reco::VertexCollection>(labelVertex_);
114  tok_PFMET_ = consumes<reco::PFMETCollection>(labelPFMET_);
115  tok_loosePhoton_ = consumes<edm::ValueMap<Bool_t>>(labelLoosePhot_);
116  tok_tightPhoton_ = consumes<edm::ValueMap<Bool_t>>(labelTightPhot_);
117  tok_GsfElec_ = consumes<reco::GsfElectronCollection>(labelGsfEle_);
118  tok_Rho_ = consumes<double>(labelRho_);
119  tok_Conv_ = consumes<reco::ConversionCollection>(labelConv_);
120  tok_BS_ = consumes<reco::BeamSpot>(labelBeamSpot_);
121 
122  // register your products
123  put_photon_ = produces<reco::PhotonCollection>(labelPhoton_.encode());
124  put_pfJet_ = produces<reco::PFJetCollection>(labelPFJet_.encode());
125  put_hbhe_ = produces<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(labelHBHE_.encode());
126  put_hf_ = produces<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(labelHF_.encode());
127  put_ho_ = produces<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(labelHO_.encode());
128  put_trigger_ = produces<edm::TriggerResults>(labelTrigger_.encode());
129  put_loosePhot_ = produces<std::vector<Bool_t>>(labelLoosePhot_.encode());
130  put_tightPhot_ = produces<std::vector<Bool_t>>(labelTightPhot_.encode());
131  put_rho_ = produces<double>(labelRho_.encode());
132  put_pfCandidate_ = produces<reco::PFCandidateCollection>(labelPFCandidate_.encode());
133  put_vertex_ = produces<reco::VertexCollection>(labelVertex_.encode());
134  put_pfMET_ = produces<reco::PFMETCollection>(labelPFMET_.encode());
135  put_gsfEle_ = produces<reco::GsfElectronCollection>(labelGsfEle_.encode());
136  put_conv_ = produces<reco::ConversionCollection>(labelConv_.encode());
137  put_beamSpot_ = produces<reco::BeamSpot>(labelBeamSpot_.encode());
138 }

References edm::InputTag::encode(), edm::ParameterSet::getParameter(), labelBeamSpot_, labelConv_, labelGsfEle_, labelHBHE_, labelHF_, labelHO_, labelLoosePhot_, labelPFCandidate_, labelPFJet_, labelPFMET_, labelPhoton_, labelRho_, labelTightPhot_, labelTrigger_, labelVertex_, minPtJet_, minPtPhoton_, put_beamSpot_, put_conv_, put_gsfEle_, put_hbhe_, put_hf_, put_ho_, put_loosePhot_, put_pfCandidate_, put_pfJet_, put_pfMET_, put_photon_, put_rho_, put_tightPhot_, put_trigger_, put_vertex_, tok_BS_, tok_Conv_, tok_GsfElec_, tok_HBHE_, tok_HF_, tok_HO_, tok_loosePhoton_, tok_PFCand_, tok_PFJet_, tok_PFMET_, tok_Photon_, tok_Rho_, tok_tightPhoton_, tok_TrigRes_, and tok_Vertex_.

Member Function Documentation

◆ produce()

void AlCaGammaJetProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup  
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 160 of file AlCaGammaJetProducer.cc.

160  {
161  // Access the collections from iEvent
163  iEvent.getByToken(tok_Photon_, phoHandle);
164  if (!phoHandle.isValid()) {
165  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get the product " << labelPhoton_;
166  return;
167  }
168  const reco::PhotonCollection& photon = *(phoHandle.product());
169 
171  iEvent.getByToken(tok_PFJet_, pfjet);
172  if (!pfjet.isValid()) {
173  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFJet_;
174  return;
175  }
176  const reco::PFJetCollection& pfjets = *(pfjet.product());
177 
179  iEvent.getByToken(tok_PFCand_, pfc);
180  if (!pfc.isValid()) {
181  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFCandidate_;
182  return;
183  }
184  const reco::PFCandidateCollection& pfcand = *(pfc.product());
185 
187  iEvent.getByToken(tok_Vertex_, vt);
188  if (!vt.isValid()) {
189  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelVertex_;
190  return;
191  }
192  const reco::VertexCollection& vtx = *(vt.product());
193 
195  iEvent.getByToken(tok_PFMET_, pfmt);
196  if (!pfmt.isValid()) {
197  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelPFMET_;
198  return;
199  }
200  const reco::PFMETCollection& pfmet = *(pfmt.product());
201 
203  iEvent.getByToken(tok_HBHE_, hbhe);
204  if (!hbhe.isValid()) {
205  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHBHE_;
206  return;
207  }
209 
211  iEvent.getByToken(tok_HO_, ho);
212  if (!ho.isValid()) {
213  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHO_;
214  return;
215  }
217 
219  iEvent.getByToken(tok_HF_, hf);
220  if (!hf.isValid()) {
221  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelHF_;
222  return;
223  }
225 
227  iEvent.getByToken(tok_TrigRes_, trig);
228  if (!trig.isValid()) {
229  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelTrigger_;
230  return;
231  }
232  const edm::TriggerResults& trigres = *(trig.product());
233 
235  iEvent.getByToken(tok_Rho_, rh);
236  if (!rh.isValid()) {
237  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelRho_;
238  return;
239  }
240  const double rho_val = *(rh.product());
241 
243  iEvent.getByToken(tok_GsfElec_, gsf);
244  if (!gsf.isValid()) {
245  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelGsfEle_;
246  return;
247  }
248  const reco::GsfElectronCollection& gsfele = *(gsf.product());
249 
251  iEvent.getByToken(tok_Conv_, con);
252  if (!con.isValid()) {
253  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelConv_;
254  return;
255  }
256  const reco::ConversionCollection& conv = *(con.product());
257 
259  iEvent.getByToken(tok_BS_, bs);
260  if (!bs.isValid()) {
261  edm::LogWarning("AlCaGammaJet") << "AlCaGammaJetProducer: Error! can't get product " << labelBeamSpot_;
262  return;
263  }
264  const reco::BeamSpot& beam = *(bs.product());
265 
266  // declare variables
267  // copy from standard place, if the event is useful
268  reco::BeamSpot miniBeamSpotCollection(
269  beam.position(), beam.sigmaZ(), beam.dxdz(), beam.dydz(), beam.BeamWidthX(), beam.covariance(), beam.type());
270 
271  std::vector<Bool_t> miniLoosePhoton{};
272  std::vector<Bool_t> miniTightPhoton{};
273 
274  // See if this event is useful
275  bool accept = select(photon, pfjets);
276  if (accept) {
277  iEvent.emplace(put_photon_, photon);
278  iEvent.emplace(put_pfJet_, pfjets);
279  iEvent.emplace(put_hbhe_, Hithbhe);
280  iEvent.emplace(put_hf_, Hithf);
281  iEvent.emplace(put_ho_, Hitho);
282  iEvent.emplace(put_trigger_, trigres);
283  iEvent.emplace(put_pfCandidate_, pfcand);
284  iEvent.emplace(put_vertex_, vtx);
285  iEvent.emplace(put_pfMET_, pfmet);
286  iEvent.emplace(put_gsfEle_, gsfele);
287  iEvent.emplace(put_rho_, rho_val);
288  iEvent.emplace(put_conv_, conv);
289 
290  edm::Handle<edm::ValueMap<Bool_t>> loosePhotonQual;
291  iEvent.getByToken(tok_loosePhoton_, loosePhotonQual);
292  edm::Handle<edm::ValueMap<Bool_t>> tightPhotonQual;
293  iEvent.getByToken(tok_tightPhoton_, tightPhotonQual);
294  if (loosePhotonQual.isValid() && tightPhotonQual.isValid()) {
295  miniLoosePhoton.reserve(photon.size());
296  miniTightPhoton.reserve(photon.size());
297  for (int iPho = 0; iPho < int(photon.size()); ++iPho) {
298  edm::Ref<reco::PhotonCollection> photonRef(phoHandle, iPho);
299  if (!photonRef) {
300  edm::LogVerbatim("AlCaGammaJet") << "failed ref";
301  miniLoosePhoton.push_back(-1);
302  miniTightPhoton.push_back(-1);
303  } else {
304  miniLoosePhoton.push_back((*loosePhotonQual)[photonRef]);
305  miniTightPhoton.push_back((*tightPhotonQual)[photonRef]);
306  }
307  }
308  }
309  } else {
320  iEvent.emplace(put_rho_, double{});
322  }
323 
324  //Put them in the event
325  iEvent.emplace(put_beamSpot_, std::move(miniBeamSpotCollection));
326  iEvent.emplace(put_loosePhot_, std::move(miniLoosePhoton));
327  iEvent.emplace(put_tightPhot_, std::move(miniTightPhoton));
328 
329  return;
330 }

References accept(), EcalCondDBWriter_cfi::beam, cms::cuda::bs, conv, ntupleEnum::gsf, photonIsolationHIProducer_cfi::hbhe, photonIsolationHIProducer_cfi::hf, photonIsolationHIProducer_cfi::ho, iEvent, createfilelist::int, edm::HandleBase::isValid(), labelBeamSpot_, labelConv_, labelGsfEle_, labelHBHE_, labelHF_, labelHO_, labelPFCandidate_, labelPFJet_, labelPFMET_, labelPhoton_, labelRho_, labelTrigger_, labelVertex_, eostools::move(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, muons2muons_cfi::photon, edm::Handle< T >::product(), put_beamSpot_, put_conv_, put_gsfEle_, put_hbhe_, put_hf_, put_ho_, put_loosePhot_, put_pfCandidate_, put_pfJet_, put_pfMET_, put_photon_, put_rho_, put_tightPhot_, put_trigger_, put_vertex_, select(), tok_BS_, tok_Conv_, tok_GsfElec_, tok_HBHE_, tok_HF_, tok_HO_, tok_loosePhoton_, tok_PFCand_, tok_PFJet_, tok_PFMET_, tok_Photon_, tok_Rho_, tok_tightPhoton_, tok_TrigRes_, tok_Vertex_, ClusterTask_cfi::trig, and extraflags_cff::vtx.

◆ select()

bool AlCaGammaJetProducer::select ( const reco::PhotonCollection ph,
const reco::PFJetCollection jt 
) const
private

Definition at line 140 of file AlCaGammaJetProducer.cc.

140  {
141  // Check the requirement for minimum pT
142  if (ph.empty())
143  return false;
144  bool ok(false);
145  for (reco::PFJetCollection::const_iterator itr = jt.begin(); itr != jt.end(); ++itr) {
146  if (itr->pt() >= minPtJet_) {
147  ok = true;
148  break;
149  }
150  }
151  if (!ok)
152  return ok;
153  for (reco::PhotonCollection::const_iterator itr = ph.begin(); itr != ph.end(); ++itr) {
154  if (itr->pt() >= minPtPhoton_)
155  return ok;
156  }
157  return false;
158 }

References minPtJet_, minPtPhoton_, and convertSQLiteXML::ok.

Referenced by produce().

Member Data Documentation

◆ labelBeamSpot_

edm::InputTag AlCaGammaJetProducer::labelBeamSpot_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelConv_

edm::InputTag AlCaGammaJetProducer::labelConv_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelGsfEle_

edm::InputTag AlCaGammaJetProducer::labelGsfEle_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelHBHE_

edm::InputTag AlCaGammaJetProducer::labelHBHE_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelHF_

edm::InputTag AlCaGammaJetProducer::labelHF_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelHO_

edm::InputTag AlCaGammaJetProducer::labelHO_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelLoosePhot_

edm::InputTag AlCaGammaJetProducer::labelLoosePhot_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer().

◆ labelPFCandidate_

edm::InputTag AlCaGammaJetProducer::labelPFCandidate_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelPFJet_

edm::InputTag AlCaGammaJetProducer::labelPFJet_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelPFMET_

edm::InputTag AlCaGammaJetProducer::labelPFMET_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelPhoton_

edm::InputTag AlCaGammaJetProducer::labelPhoton_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelRho_

edm::InputTag AlCaGammaJetProducer::labelRho_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelTightPhot_

edm::InputTag AlCaGammaJetProducer::labelTightPhot_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer().

◆ labelTrigger_

edm::InputTag AlCaGammaJetProducer::labelTrigger_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ labelVertex_

edm::InputTag AlCaGammaJetProducer::labelVertex_
private

Definition at line 49 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ minPtJet_

double AlCaGammaJetProducer::minPtJet_
private

Definition at line 51 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and select().

◆ minPtPhoton_

double AlCaGammaJetProducer::minPtPhoton_
private

Definition at line 51 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and select().

◆ put_beamSpot_

edm::EDPutTokenT<reco::BeamSpot> AlCaGammaJetProducer::put_beamSpot_
private

Definition at line 83 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_conv_

edm::EDPutTokenT<reco::ConversionCollection> AlCaGammaJetProducer::put_conv_
private

Definition at line 82 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_gsfEle_

edm::EDPutTokenT<reco::GsfElectronCollection> AlCaGammaJetProducer::put_gsfEle_
private

Definition at line 81 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_hbhe_

Definition at line 71 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_hf_

Definition at line 72 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_ho_

Definition at line 73 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_loosePhot_

edm::EDPutTokenT<std::vector<Bool_t> > AlCaGammaJetProducer::put_loosePhot_
private

Definition at line 75 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_pfCandidate_

edm::EDPutTokenT<reco::PFCandidateCollection> AlCaGammaJetProducer::put_pfCandidate_
private

Definition at line 78 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_pfJet_

edm::EDPutTokenT<reco::PFJetCollection> AlCaGammaJetProducer::put_pfJet_
private

Definition at line 70 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_pfMET_

edm::EDPutTokenT<reco::PFMETCollection> AlCaGammaJetProducer::put_pfMET_
private

Definition at line 80 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_photon_

edm::EDPutTokenT<reco::PhotonCollection> AlCaGammaJetProducer::put_photon_
private

Definition at line 69 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_rho_

edm::EDPutTokenT<double> AlCaGammaJetProducer::put_rho_
private

Definition at line 77 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_tightPhot_

edm::EDPutTokenT<std::vector<Bool_t> > AlCaGammaJetProducer::put_tightPhot_
private

Definition at line 76 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_trigger_

edm::EDPutTokenT<edm::TriggerResults> AlCaGammaJetProducer::put_trigger_
private

Definition at line 74 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ put_vertex_

edm::EDPutTokenT<reco::VertexCollection> AlCaGammaJetProducer::put_vertex_
private

Definition at line 79 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_BS_

edm::EDGetTokenT<reco::BeamSpot> AlCaGammaJetProducer::tok_BS_
private

Definition at line 65 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_Conv_

edm::EDGetTokenT<reco::ConversionCollection> AlCaGammaJetProducer::tok_Conv_
private

Definition at line 64 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_GsfElec_

edm::EDGetTokenT<reco::GsfElectronCollection> AlCaGammaJetProducer::tok_GsfElec_
private

Definition at line 62 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_HBHE_

Definition at line 55 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_HF_

Definition at line 56 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_HO_

Definition at line 57 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_loosePhoton_

edm::EDGetTokenT<edm::ValueMap<Bool_t> > AlCaGammaJetProducer::tok_loosePhoton_
private

Definition at line 66 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_PFCand_

edm::EDGetTokenT<reco::PFCandidateCollection> AlCaGammaJetProducer::tok_PFCand_
private

Definition at line 59 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_PFJet_

edm::EDGetTokenT<reco::PFJetCollection> AlCaGammaJetProducer::tok_PFJet_
private

Definition at line 54 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_PFMET_

edm::EDGetTokenT<reco::PFMETCollection> AlCaGammaJetProducer::tok_PFMET_
private

Definition at line 61 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_Photon_

edm::EDGetTokenT<reco::PhotonCollection> AlCaGammaJetProducer::tok_Photon_
private

Definition at line 53 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_Rho_

edm::EDGetTokenT<double> AlCaGammaJetProducer::tok_Rho_
private

Definition at line 63 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_tightPhoton_

edm::EDGetTokenT<edm::ValueMap<Bool_t> > AlCaGammaJetProducer::tok_tightPhoton_
private

Definition at line 67 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_TrigRes_

edm::EDGetTokenT<edm::TriggerResults> AlCaGammaJetProducer::tok_TrigRes_
private

Definition at line 58 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

◆ tok_Vertex_

edm::EDGetTokenT<reco::VertexCollection> AlCaGammaJetProducer::tok_Vertex_
private

Definition at line 60 of file AlCaGammaJetProducer.cc.

Referenced by AlCaGammaJetProducer(), and produce().

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:69
edm::Handle::product
T const * product() const
Definition: Handle.h:70
AlCaGammaJetProducer::labelLoosePhot_
edm::InputTag labelLoosePhot_
Definition: AlCaGammaJetProducer.cc:49
conv
static HepMC::IO_HEPEVT conv
Definition: BeamHaloProducer.cc:48
HORecHit
Definition: HORecHit.h:11
HBHERecHit
Definition: HBHERecHit.h:13
AlCaGammaJetProducer::tok_BS_
edm::EDGetTokenT< reco::BeamSpot > tok_BS_
Definition: AlCaGammaJetProducer.cc:65
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
AlCaGammaJetProducer::tok_GsfElec_
edm::EDGetTokenT< reco::GsfElectronCollection > tok_GsfElec_
Definition: AlCaGammaJetProducer.cc:62
edm::SortedCollection
Definition: SortedCollection.h:49
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition: GsfElectronFwd.h:14
AlCaGammaJetProducer::labelPFCandidate_
edm::InputTag labelPFCandidate_
Definition: AlCaGammaJetProducer.cc:49
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle< reco::PhotonCollection >
AlCaGammaJetProducer::labelPFJet_
edm::InputTag labelPFJet_
Definition: AlCaGammaJetProducer.cc:49
AlCaGammaJetProducer::put_rho_
edm::EDPutTokenT< double > put_rho_
Definition: AlCaGammaJetProducer.cc:77
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
AlCaGammaJetProducer::labelRho_
edm::InputTag labelRho_
Definition: AlCaGammaJetProducer.cc:49
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:49
AlCaGammaJetProducer::select
bool select(const reco::PhotonCollection &, const reco::PFJetCollection &) const
Definition: AlCaGammaJetProducer.cc:140
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
cms::cuda::bs
bs
Definition: HistoContainer.h:127
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
AlCaGammaJetProducer::minPtPhoton_
double minPtPhoton_
Definition: AlCaGammaJetProducer.cc:51
HFRecHit
Definition: HFRecHit.h:11
AlCaGammaJetProducer::labelGsfEle_
edm::InputTag labelGsfEle_
Definition: AlCaGammaJetProducer.cc:49
reco::BeamSpot
Definition: BeamSpot.h:21
AlCaGammaJetProducer::tok_Rho_
edm::EDGetTokenT< double > tok_Rho_
Definition: AlCaGammaJetProducer.cc:63
AlCaGammaJetProducer::labelPhoton_
edm::InputTag labelPhoton_
Definition: AlCaGammaJetProducer.cc:49
EcalCondDBWriter_cfi.beam
beam
Definition: EcalCondDBWriter_cfi.py:45
AlCaGammaJetProducer::put_ho_
edm::EDPutTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > put_ho_
Definition: AlCaGammaJetProducer.cc:73
AlCaGammaJetProducer::tok_PFMET_
edm::EDGetTokenT< reco::PFMETCollection > tok_PFMET_
Definition: AlCaGammaJetProducer.cc:61
AlCaGammaJetProducer::tok_Photon_
edm::EDGetTokenT< reco::PhotonCollection > tok_Photon_
Definition: AlCaGammaJetProducer.cc:53
AlCaGammaJetProducer::labelPFMET_
edm::InputTag labelPFMET_
Definition: AlCaGammaJetProducer.cc:49
AlCaGammaJetProducer::put_gsfEle_
edm::EDPutTokenT< reco::GsfElectronCollection > put_gsfEle_
Definition: AlCaGammaJetProducer.cc:81
AlCaGammaJetProducer::put_vertex_
edm::EDPutTokenT< reco::VertexCollection > put_vertex_
Definition: AlCaGammaJetProducer.cc:79
AlCaGammaJetProducer::put_pfCandidate_
edm::EDPutTokenT< reco::PFCandidateCollection > put_pfCandidate_
Definition: AlCaGammaJetProducer.cc:78
AlCaGammaJetProducer::minPtJet_
double minPtJet_
Definition: AlCaGammaJetProducer.cc:51
AlCaGammaJetProducer::tok_HBHE_
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > tok_HBHE_
Definition: AlCaGammaJetProducer.cc:55
AlCaGammaJetProducer::tok_HF_
edm::EDGetTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > tok_HF_
Definition: AlCaGammaJetProducer.cc:56
AlCaGammaJetProducer::labelHO_
edm::InputTag labelHO_
Definition: AlCaGammaJetProducer.cc:49
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:58
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:49
AlCaGammaJetProducer::put_loosePhot_
edm::EDPutTokenT< std::vector< Bool_t > > put_loosePhot_
Definition: AlCaGammaJetProducer.cc:75
AlCaGammaJetProducer::tok_PFJet_
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
Definition: AlCaGammaJetProducer.cc:54
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:71
AlCaGammaJetProducer::put_conv_
edm::EDPutTokenT< reco::ConversionCollection > put_conv_
Definition: AlCaGammaJetProducer.cc:82
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition: photonIsolationHIProducer_cfi.py:8
AlCaGammaJetProducer::put_beamSpot_
edm::EDPutTokenT< reco::BeamSpot > put_beamSpot_
Definition: AlCaGammaJetProducer.cc:83
AlCaGammaJetProducer::put_pfMET_
edm::EDPutTokenT< reco::PFMETCollection > put_pfMET_
Definition: AlCaGammaJetProducer.cc:80
eostools.move
def move(src, dest)
Definition: eostools.py:511
AlCaGammaJetProducer::tok_Vertex_
edm::EDGetTokenT< reco::VertexCollection > tok_Vertex_
Definition: AlCaGammaJetProducer.cc:60
AlCaGammaJetProducer::put_hf_
edm::EDPutTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > put_hf_
Definition: AlCaGammaJetProducer.cc:72
AlCaGammaJetProducer::labelVertex_
edm::InputTag labelVertex_
Definition: AlCaGammaJetProducer.cc:49
reco::PFJetCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Definition: PFJetCollection.h:14
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
edm::StrictWeakOrdering
Definition: SortedCollection.h:47
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
AlCaGammaJetProducer::labelHF_
edm::InputTag labelHF_
Definition: AlCaGammaJetProducer.cc:49
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition: PFCandidateFwd.h:12
AlCaGammaJetProducer::labelTightPhot_
edm::InputTag labelTightPhot_
Definition: AlCaGammaJetProducer.cc:49
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
AlCaGammaJetProducer::put_trigger_
edm::EDPutTokenT< edm::TriggerResults > put_trigger_
Definition: AlCaGammaJetProducer.cc:74
AlCaGammaJetProducer::labelTrigger_
edm::InputTag labelTrigger_
Definition: AlCaGammaJetProducer.cc:49
reco::PhotonCollection
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
AlCaGammaJetProducer::labelHBHE_
edm::InputTag labelHBHE_
Definition: AlCaGammaJetProducer.cc:49
AlCaGammaJetProducer::put_pfJet_
edm::EDPutTokenT< reco::PFJetCollection > put_pfJet_
Definition: AlCaGammaJetProducer.cc:70
AlCaGammaJetProducer::tok_loosePhoton_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_loosePhoton_
Definition: AlCaGammaJetProducer.cc:66
AlCaGammaJetProducer::tok_HO_
edm::EDGetTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > tok_HO_
Definition: AlCaGammaJetProducer.cc:57
AlCaGammaJetProducer::labelConv_
edm::InputTag labelConv_
Definition: AlCaGammaJetProducer.cc:49
AlCaGammaJetProducer::tok_PFCand_
edm::EDGetTokenT< reco::PFCandidateCollection > tok_PFCand_
Definition: AlCaGammaJetProducer.cc:59
AlCaGammaJetProducer::tok_tightPhoton_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_tightPhoton_
Definition: AlCaGammaJetProducer.cc:67
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
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:76
AlCaGammaJetProducer::tok_Conv_
edm::EDGetTokenT< reco::ConversionCollection > tok_Conv_
Definition: AlCaGammaJetProducer.cc:64