CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes
TriggerSummaryProducerAOD Class Reference

#include <TriggerSummaryProducerAOD.h>

Inheritance diagram for TriggerSummaryProducerAOD:
edm::stream::EDProducer< edm::GlobalCache< GlobalInputTags > > edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  OrderInputTag
 InputTag ordering class. More...
 

Public Member Functions

virtual void endStream () override
 
template<typename C >
void fillFilterObjectMember (const int &, const int &, const edm::Ref< C > &)
 
void fillFilterObjectMember (const int &, const int &, const edm::Ref< l1extra::L1HFRingsCollection > &)
 
void fillFilterObjectMember (const int &, const int &, const edm::Ref< l1extra::L1EtMissParticleCollection > &)
 
void fillFilterObjectMember (const int &, const int &, const edm::Ref< reco::PFMETCollection > &)
 
void fillFilterObjectMember (const int &, const int &, const edm::Ref< reco::CaloMETCollection > &)
 
void fillFilterObjectMember (const int &, const int &, const edm::Ref< reco::METCollection > &)
 
template<typename C >
void fillFilterObjectMembers (const edm::Event &, const edm::InputTag &tag, const trigger::Vids &, const std::vector< edm::Ref< C > > &)
 
template<typename T >
void fillTriggerObject (const T &)
 
void fillTriggerObject (const l1extra::L1HFRings &)
 
void fillTriggerObject (const l1extra::L1EtMissParticle &)
 
void fillTriggerObject (const reco::PFMET &)
 
void fillTriggerObject (const reco::CaloMET &)
 
void fillTriggerObject (const reco::MET &)
 
template<typename C >
void fillTriggerObjectCollections (const edm::Event &, edm::GetterOfProducts< C > &)
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 
 TriggerSummaryProducerAOD (const edm::ParameterSet &, const GlobalInputTags *)
 
 ~TriggerSummaryProducerAOD ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< GlobalInputTags > >
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void globalEndJob (const GlobalInputTags *)
 
static std::unique_ptr
< GlobalInputTags
initializeGlobalCache (edm::ParameterSet const &)
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Types

typedef std::set
< edm::InputTag, OrderInputTag
InputTagSet
 

Private Attributes

InputTagSet collectionTagsEvent_
 list of L3 collection tags More...
 
InputTagSet collectionTagsStream_
 
InputTagSet filterTagsEvent_
 list of L3 filter tags More...
 
InputTagSet filterTagsStream_
 
edm::GetterOfProducts
< reco::CaloJetCollection
getCaloJetCollection_
 
edm::GetterOfProducts
< reco::CaloMETCollection
getCaloMETCollection_
 
edm::GetterOfProducts
< reco::CompositeCandidateCollection
getCompositeCandidateCollection_
 
edm::GetterOfProducts
< reco::ElectronCollection
getElectronCollection_
 
edm::GetterOfProducts
< reco::IsolatedPixelTrackCandidateCollection
getIsolatedPixelTrackCandidateCollection_
 
edm::GetterOfProducts
< l1extra::L1EmParticleCollection
getL1EmParticleCollection_
 
edm::GetterOfProducts
< l1extra::L1EtMissParticleCollection
getL1EtMissParticleCollection_
 
edm::GetterOfProducts
< l1extra::L1HFRingsCollection
getL1HFRingsCollection_
 
edm::GetterOfProducts
< l1extra::L1JetParticleCollection
getL1JetParticleCollection_
 
edm::GetterOfProducts
< l1extra::L1MuonParticleCollection
getL1MuonParticleCollection_
 
edm::GetterOfProducts
< l1t::EGammaBxCollection
getL1TEGammaParticleCollection_
 
edm::GetterOfProducts
< l1t::EtSumBxCollection
getL1TEtSumParticleCollection_
 
edm::GetterOfProducts
< l1t::JetBxCollection
getL1TJetParticleCollection_
 
edm::GetterOfProducts
< l1t::MuonBxCollection
getL1TMuonParticleCollection_
 
edm::GetterOfProducts
< l1t::TauBxCollection
getL1TTauParticleCollection_
 
edm::GetterOfProducts
< reco::METCollection
getMETCollection_
 
edm::GetterOfProducts
< reco::PFJetCollection
getPFJetCollection_
 
edm::GetterOfProducts
< reco::PFMETCollection
getPFMETCollection_
 
edm::GetterOfProducts
< reco::PFTauCollection
getPFTauCollection_
 
edm::GetterOfProducts
< reco::RecoChargedCandidateCollection
getRecoChargedCandidateCollection_
 
edm::GetterOfProducts
< reco::RecoEcalCandidateCollection
getRecoEcalCandidateCollection_
 
edm::GetterOfProducts
< trigger::TriggerFilterObjectWithRefs
getTriggerFilterObjectWithRefs_
 
trigger::Vids ids_
 ids More...
 
trigger::Keys keys_
 keys More...
 
std::vector< bool > maskFilters_
 packing decision More...
 
std::map< edm::ProductID,
unsigned int > 
offset_
 global map for indices into toc_: offset per input L3 collection More...
 
std::string pn_
 process name More...
 
std::vector< std::string > tags_
 
trigger::TriggerObjectCollection toc_
 trigger object collection More...
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< GlobalInputTags > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

This class is an EDProducer making the HLT summary object for AOD

Author
Martin Grunewald

See header file for documentation

Author
Martin Grunewald

Definition at line 83 of file TriggerSummaryProducerAOD.h.

Member Typedef Documentation

Definition at line 142 of file TriggerSummaryProducerAOD.h.

Constructor & Destructor Documentation

TriggerSummaryProducerAOD::TriggerSummaryProducerAOD ( const edm::ParameterSet ps,
const GlobalInputTags gt 
)
explicit

Definition at line 58 of file TriggerSummaryProducerAOD.cc.

References edm::ProducerBase::callWhenNewProductsRegistered(), collectionTagsEvent_, collectionTagsStream_, filterTagsEvent_, filterTagsStream_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TTauParticleCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, edm::service::TriggerNamesService::getProcessName(), getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, edm::Service< T >::isAvailable(), LogDebug, and pn_.

58  :
59  pn_(ps.getParameter<std::string>("processName")),
60  filterTagsEvent_(pn_!="*"),
61  filterTagsStream_(pn_!="*"),
64  toc_(),
65  tags_(),
66  offset_(),
67  keys_(),
68  ids_(),
69  maskFilters_()
70 {
71  if (pn_=="@") {
73  if (tns.isAvailable()) {
74  pn_ = tns->getProcessName();
75  } else {
76  edm::LogError("TriggerSummaryProducerAOD") << "HLT Error: TriggerNamesService not available!";
77  pn_="*";
78  }
79 
84  }
85  LogDebug("TriggerSummaryProducerAOD") << "Using process name: '" << pn_ <<"'";
86 
87  filterTagsStream_.clear();
88  collectionTagsStream_.clear();
89 
90  produces<trigger::TriggerEvent>();
91 
114 
122  getMETCollection_(bd);
138  });
139 }
#define LogDebug(id)
T getParameter(std::string const &) const
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
Definition: ProducerBase.h:50
edm::GetterOfProducts< l1t::TauBxCollection > getL1TTauParticleCollection_
edm::GetterOfProducts< l1extra::L1JetParticleCollection > getL1JetParticleCollection_
edm::GetterOfProducts< reco::IsolatedPixelTrackCandidateCollection > getIsolatedPixelTrackCandidateCollection_
edm::GetterOfProducts< reco::RecoEcalCandidateCollection > getRecoEcalCandidateCollection_
std::string const & getProcessName() const
edm::GetterOfProducts< l1extra::L1MuonParticleCollection > getL1MuonParticleCollection_
trigger::TriggerObjectCollection toc_
trigger object collection
edm::GetterOfProducts< reco::PFTauCollection > getPFTauCollection_
std::vector< bool > maskFilters_
packing decision
edm::GetterOfProducts< reco::METCollection > getMETCollection_
edm::GetterOfProducts< l1t::JetBxCollection > getL1TJetParticleCollection_
std::set< edm::InputTag, OrderInputTag > InputTagSet
edm::GetterOfProducts< reco::CaloJetCollection > getCaloJetCollection_
edm::GetterOfProducts< l1extra::L1EtMissParticleCollection > getL1EtMissParticleCollection_
std::vector< std::string > tags_
edm::GetterOfProducts< reco::PFJetCollection > getPFJetCollection_
edm::GetterOfProducts< reco::RecoChargedCandidateCollection > getRecoChargedCandidateCollection_
edm::GetterOfProducts< l1extra::L1HFRingsCollection > getL1HFRingsCollection_
bool isAvailable() const
Definition: Service.h:46
std::map< edm::ProductID, unsigned int > offset_
global map for indices into toc_: offset per input L3 collection
edm::GetterOfProducts< l1t::MuonBxCollection > getL1TMuonParticleCollection_
edm::GetterOfProducts< reco::CaloMETCollection > getCaloMETCollection_
edm::GetterOfProducts< reco::ElectronCollection > getElectronCollection_
InputTagSet collectionTagsEvent_
list of L3 collection tags
edm::GetterOfProducts< reco::CompositeCandidateCollection > getCompositeCandidateCollection_
edm::GetterOfProducts< trigger::TriggerFilterObjectWithRefs > getTriggerFilterObjectWithRefs_
edm::GetterOfProducts< reco::PFMETCollection > getPFMETCollection_
InputTagSet filterTagsEvent_
list of L3 filter tags
edm::GetterOfProducts< l1t::EtSumBxCollection > getL1TEtSumParticleCollection_
edm::GetterOfProducts< l1extra::L1EmParticleCollection > getL1EmParticleCollection_
edm::GetterOfProducts< l1t::EGammaBxCollection > getL1TEGammaParticleCollection_
TriggerSummaryProducerAOD::~TriggerSummaryProducerAOD ( )

Definition at line 141 of file TriggerSummaryProducerAOD.cc.

142 {
143 }

Member Function Documentation

void TriggerSummaryProducerAOD::endStream ( )
overridevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 615 of file TriggerSummaryProducerAOD.cc.

References collectionTagsStream_, and filterTagsStream_.

615  {
616  globalCache()->collectionTagsGlobal_.insert(collectionTagsStream_.begin(),collectionTagsStream_.end());
617  globalCache()->filterTagsGlobal_.insert(filterTagsStream_.begin(),filterTagsStream_.end());
618  return;
619 }
void TriggerSummaryProducerAOD::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 177 of file TriggerSummaryProducerAOD.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.

177  {
179  desc.add<std::string>("processName","@");
180  descriptions.add("triggerSummaryProducerAOD", desc);
181 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
template<typename C >
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< C > &  ref 
)

Definition at line 525 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), and keys_.

Referenced by fillFilterObjectMembers().

525  {
526 
527  keys_.push_back(offset+ref.key());
528  ids_.push_back(id);
529 
530  return;
531 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< l1extra::L1HFRingsCollection > &  ref 
)

Definition at line 533 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), keys_, and trigger::TriggerL1HfBitCounts.

533  {
534 
535  using namespace trigger;
536 
537  if (id==TriggerL1HfBitCounts) {
538  keys_.push_back(offset+2*ref.key()+1);
539  } else { // if (ids[i]==TriggerL1HfRingEtSums) {
540  keys_.push_back(offset+2*ref.key()+0);
541  }
542  ids_.push_back(id);
543 
544  return;
545 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< l1extra::L1EtMissParticleCollection > &  ref 
)

Definition at line 547 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.

547  {
548 
549  using namespace trigger;
550 
551  if ( (id==TriggerL1ETT) || (id==TriggerL1HTT) ) {
552  keys_.push_back(offset+2*ref.key()+1);
553  } else {
554  keys_.push_back(offset+2*ref.key()+0);
555  }
556  ids_.push_back(id);
557 
558  return;
559 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< reco::PFMETCollection > &  ref 
)

Definition at line 561 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.

561  {
562 
563  using namespace trigger;
564 
565  if ( (id==TriggerTHT) || (id==TriggerTET) ) {
566  keys_.push_back(offset+4*ref.key()+1);
567  } else if ( (id==TriggerMETSig) || (id==TriggerMHTSig) ) {
568  keys_.push_back(offset+4*ref.key()+2);
569  } else if ( (id==TriggerELongit) || (id==TriggerHLongit) ) {
570  keys_.push_back(offset+4*ref.key()+3);
571  } else {
572  keys_.push_back(offset+4*ref.key()+0);
573  }
574  ids_.push_back(id);
575 
576  return;
577 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< reco::CaloMETCollection > &  ref 
)

Definition at line 579 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.

579  {
580 
581  using namespace trigger;
582 
583  if ( (id==TriggerTHT) || (id==TriggerTET) ) {
584  keys_.push_back(offset+4*ref.key()+1);
585  } else if ( (id==TriggerMETSig) || (id==TriggerMHTSig) ) {
586  keys_.push_back(offset+4*ref.key()+2);
587  } else if ( (id==TriggerELongit) || (id==TriggerHLongit) ) {
588  keys_.push_back(offset+4*ref.key()+3);
589  } else {
590  keys_.push_back(offset+4*ref.key()+0);
591  }
592  ids_.push_back(id);
593 
594  return;
595 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
void TriggerSummaryProducerAOD::fillFilterObjectMember ( const int &  offset,
const int &  id,
const edm::Ref< reco::METCollection > &  ref 
)

Definition at line 597 of file TriggerSummaryProducerAOD.cc.

References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.

597  {
598 
599  using namespace trigger;
600 
601  if ( (id==TriggerTHT) || (id==TriggerTET) ) {
602  keys_.push_back(offset+4*ref.key()+1);
603  } else if ( (id==TriggerMETSig) || (id==TriggerMHTSig) ) {
604  keys_.push_back(offset+4*ref.key()+2);
605  } else if ( (id==TriggerELongit) || (id==TriggerHLongit) ) {
606  keys_.push_back(offset+4*ref.key()+3);
607  } else {
608  keys_.push_back(offset+4*ref.key()+0);
609  }
610  ids_.push_back(id);
611 
612  return;
613 }
key_type key() const
Accessor for product key.
Definition: Ref.h:264
template<typename C >
void TriggerSummaryProducerAOD::fillFilterObjectMembers ( const edm::Event iEvent,
const edm::InputTag tag,
const trigger::Vids ids,
const std::vector< edm::Ref< C > > &  refs 
)

this routine takes a vector of Ref<C>s and determines the corresponding vector of keys (i.e., indices) into the TriggerObjectCollection

Definition at line 475 of file TriggerSummaryProducerAOD.cc.

References funct::C, edm::InputTag::encode(), fillFilterObjectMember(), edm::Event::getProvenance(), i, HLT_25ns10e33_v2_cff::InputTag, instance, edm::ProductID::isValid(), diffTwoXMLs::label, min(), edm::Provenance::moduleLabel(), gen::n, mergeVDriftHistosByStation::name, offset_, sysUtil::pid, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), and dt_dqm_sourceclient_common_cff::reco.

Referenced by produce().

475  {
476 
480 
481  using namespace std;
482  using namespace edm;
483  using namespace reco;
484  using namespace l1extra;
485  using namespace trigger;
486 
487  if (ids.size()!=refs.size()) {
488  LogError("TriggerSummaryProducerAOD") << "Vector length is different: "
489  << ids.size() << " " << refs.size();
490  }
491 
492  const unsigned int n(min(ids.size(),refs.size()));
493  for (unsigned int i=0; i!=n; ++i) {
494  const ProductID pid(refs[i].id());
495  if (!(pid.isValid())) {
496  LogError("TriggerSummaryProducerAOD")
497  << "Iinvalid pid: " << pid
498  << " FilterTag / Key: " << tag.encode()
499  << " / " << i << "of" << n
500  << " CollectionTag / Key: "
501  << " <Unrecoverable>"
502  << " / " << refs[i].key()
503  << " CollectionType: " << typeid(C).name();
504  } else if (offset_.find(pid)==offset_.end()) {
505  const string& label(iEvent.getProvenance(pid).moduleLabel());
506  const string& instance(iEvent.getProvenance(pid).productInstanceName());
507  const string& process(iEvent.getProvenance(pid).processName());
508  LogError("TriggerSummaryProducerAOD")
509  << "Uunknown pid: " << pid
510  << " FilterTag / Key: " << tag.encode()
511  << " / " << i << "of" << n
512  << " CollectionTag / Key: "
513  << InputTag(label,instance,process).encode()
514  << " / " << refs[i].key()
515  << " CollectionType: " << typeid(C).name();
516  } else {
517  fillFilterObjectMember(offset_[pid],ids[i],refs[i]);
518  }
519  }
520  return;
521 
522 }
int i
Definition: DBlmapReader.cc:9
static PFTauRenderPlugin instance
void fillFilterObjectMember(const int &, const int &, const edm::Ref< C > &)
std::string const & processName() const
Definition: Provenance.h:52
std::string encode() const
Definition: InputTag.cc:164
std::map< edm::ProductID, unsigned int > offset_
global map for indices into toc_: offset per input L3 collection
T min(T a, T b)
Definition: MathUtil.h:58
tuple pid
Definition: sysUtil.py:22
std::string const & moduleLabel() const
Definition: Provenance.h:51
std::string const & productInstanceName() const
Definition: Provenance.h:53
tuple process
Definition: LaserDQM_cfg.py:3
Provenance getProvenance(BranchID const &theID) const
Definition: Event.cc:80
template<typename T >
void TriggerSummaryProducerAOD::fillTriggerObject ( const T object)

Definition at line 391 of file TriggerSummaryProducerAOD.cc.

References toc_.

Referenced by fillTriggerObjectCollections().

391  {
392 
393  using namespace trigger;
394  toc_.push_back( TriggerObject(object) );
395 
396  return;
397 }
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
void TriggerSummaryProducerAOD::fillTriggerObject ( const l1extra::L1HFRings object)

Definition at line 399 of file TriggerSummaryProducerAOD.cc.

References toc_, trigger::TriggerL1HfBitCounts, and trigger::TriggerL1HfRingEtSums.

399  {
400 
401  using namespace l1extra;
402  using namespace trigger;
403 
405  object.hfEtSum(L1HFRings::kRing1PosEta),
406  object.hfEtSum(L1HFRings::kRing1NegEta),
407  object.hfEtSum(L1HFRings::kRing2PosEta),
408  object.hfEtSum(L1HFRings::kRing2NegEta) ) );
410  object.hfBitCount(L1HFRings::kRing1PosEta),
411  object.hfBitCount(L1HFRings::kRing1NegEta),
412  object.hfBitCount(L1HFRings::kRing2PosEta),
413  object.hfBitCount(L1HFRings::kRing2NegEta) ) );
414 
415  return;
416 }
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
void TriggerSummaryProducerAOD::fillTriggerObject ( const l1extra::L1EtMissParticle object)

Definition at line 418 of file TriggerSummaryProducerAOD.cc.

References toc_, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.

418  {
419 
420  using namespace l1extra;
421  using namespace trigger;
422 
423  toc_.push_back( TriggerObject(object) );
424  if (object.type()==L1EtMissParticle::kMET) {
425  toc_.push_back(TriggerObject(TriggerL1ETT,object.etTotal(),0.0,0.0,0.0));
426  } else if (object.type()==L1EtMissParticle::kMHT) {
427  toc_.push_back(TriggerObject(TriggerL1HTT,object.etTotal(),0.0,0.0,0.0));
428  } else {
429  toc_.push_back(TriggerObject(0, object.etTotal(),0.0,0.0,0.0));
430  }
431 
432  return;
433 }
type
Definition: HCALResponse.h:21
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
void TriggerSummaryProducerAOD::fillTriggerObject ( const reco::PFMET object)

Definition at line 435 of file TriggerSummaryProducerAOD.cc.

References dt_dqm_sourceclient_common_cff::reco, toc_, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.

435  {
436 
437  using namespace reco;
438  using namespace trigger;
439 
440  toc_.push_back( TriggerObject(object) );
441  toc_.push_back(TriggerObject(TriggerTET ,object.sumEt() ,0.0,0.0,0.0));
442  toc_.push_back(TriggerObject(TriggerMETSig ,object.mEtSig() ,0.0,0.0,0.0));
443  toc_.push_back(TriggerObject(TriggerELongit,object.e_longitudinal(),0.0,0.0,0.0));
444 
445  return;
446 }
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
void TriggerSummaryProducerAOD::fillTriggerObject ( const reco::CaloMET object)

Definition at line 448 of file TriggerSummaryProducerAOD.cc.

References dt_dqm_sourceclient_common_cff::reco, toc_, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.

448  {
449 
450  using namespace reco;
451  using namespace trigger;
452 
453  toc_.push_back( TriggerObject(object) );
454  toc_.push_back(TriggerObject(TriggerTET ,object.sumEt() ,0.0,0.0,0.0));
455  toc_.push_back(TriggerObject(TriggerMETSig ,object.mEtSig() ,0.0,0.0,0.0));
456  toc_.push_back(TriggerObject(TriggerELongit,object.e_longitudinal(),0.0,0.0,0.0));
457 
458  return;
459 }
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
void TriggerSummaryProducerAOD::fillTriggerObject ( const reco::MET object)

Definition at line 461 of file TriggerSummaryProducerAOD.cc.

References dt_dqm_sourceclient_common_cff::reco, toc_, trigger::TriggerHLongit, trigger::TriggerMHTSig, and trigger::TriggerTHT.

461  {
462 
463  using namespace reco;
464  using namespace trigger;
465 
466  toc_.push_back( TriggerObject(object) );
467  toc_.push_back(TriggerObject(TriggerTHT ,object.sumEt() ,0.0,0.0,0.0));
468  toc_.push_back(TriggerObject(TriggerMHTSig ,object.mEtSig() ,0.0,0.0,0.0));
469  toc_.push_back(TriggerObject(TriggerHLongit,object.e_longitudinal(),0.0,0.0,0.0));
470 
471  return;
472 }
trigger::TriggerObjectCollection toc_
trigger object collection
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
template<typename C >
void TriggerSummaryProducerAOD::fillTriggerObjectCollections ( const edm::Event iEvent,
edm::GetterOfProducts< C > &  getter 
)

this routine accesses the original (L3) collections (with C++ typename C), extracts 4-momentum and id of each collection member, and packs this up

end loop over handles

Definition at line 349 of file TriggerSummaryProducerAOD.cc.

References collectionTagsEvent_, edm::GetterOfProducts< T >::fillHandles(), fillTriggerObject(), i, instance, keys_, diffTwoXMLs::label, edm::Provenance::moduleLabel(), gen::n, offset_, sysUtil::pid, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), dt_dqm_sourceclient_common_cff::reco, findQualityFiles::size, tags_, and toc_.

349  {
350 
354 
355  using namespace std;
356  using namespace edm;
357  using namespace reco;
358  using namespace l1extra;
359  using namespace trigger;
360  using namespace l1t;
361 
362  vector<Handle<C> > collections;
363  getter.fillHandles(iEvent, collections);
364  const unsigned int nc(collections.size());
365 
366  for (unsigned int ic=0; ic!=nc; ++ic) {
367  const Provenance& provenance(*(collections[ic].provenance()));
368  const string& label (provenance.moduleLabel());
369  const string& instance (provenance.productInstanceName());
370  const string& process (provenance.processName());
371  const InputTag collectionTag(label,instance,process);
372 
373  if (collectionTagsEvent_.find(collectionTag)!=collectionTagsEvent_.end()) {
374  const ProductID pid(collections[ic].provenance()->productID());
375  if (offset_.find(pid)!=offset_.end()) {
376  LogError("TriggerSummaryProducerAOD") << "Duplicate pid!";
377  }
378  offset_[pid]=toc_.size();
379  const unsigned int n(collections[ic]->size());
380  for (unsigned int i=0; i!=n; ++i) {
381  fillTriggerObject( (*collections[ic])[i] );
382  }
383  tags_.push_back(collectionTag.encode());
384  keys_.push_back(toc_.size());
385  }
386 
387  }
388 }
int i
Definition: DBlmapReader.cc:9
trigger::TriggerObjectCollection toc_
trigger object collection
static PFTauRenderPlugin instance
std::vector< std::string > tags_
std::map< edm::ProductID, unsigned int > offset_
global map for indices into toc_: offset per input L3 collection
tuple pid
Definition: sysUtil.py:22
InputTagSet collectionTagsEvent_
list of L3 collection tags
void fillHandles(edm::Event const &event, std::vector< edm::Handle< T > > &handles) const
tuple process
Definition: LaserDQM_cfg.py:3
tuple size
Write out results.
void TriggerSummaryProducerAOD::globalEndJob ( const GlobalInputTags globalInputTags)
static

Definition at line 621 of file TriggerSummaryProducerAOD.cc.

References GlobalInputTags::collectionTagsGlobal_, HLT_25ns10e33_v2_cff::distance, benchmark_cfg::fb, and GlobalInputTags::filterTagsGlobal_.

621  {
622 
623  using namespace std;
624  using namespace edm;
625  using namespace trigger;
626 
627  LogVerbatim("TriggerSummaryProducerAOD") << endl;
628  LogVerbatim("TriggerSummaryProducerAOD") << "TriggerSummaryProducerAOD::globalEndJob - accumulated tags:" << endl;
629 
630  InputTagSet filterTags(false);
631  InputTagSet collectionTags(false);
632 
633  filterTags.insert(globalInputTags->filterTagsGlobal_.begin(),globalInputTags->filterTagsGlobal_.end());
634  collectionTags.insert(globalInputTags->collectionTagsGlobal_.begin(),globalInputTags->collectionTagsGlobal_.end());
635 
636  const unsigned int nc(collectionTags.size());
637  const unsigned int nf(filterTags.size());
638  LogVerbatim("TriggerSummaryProducerAOD") << " Overall number of Collections/Filters: "
639  << nc << "/" << nf << endl;
640 
641  LogVerbatim("TriggerSummaryProducerAOD") << " The collections: " << nc << endl;
642  const InputTagSet::const_iterator cb(collectionTags.begin());
643  const InputTagSet::const_iterator ce(collectionTags.end());
644  for ( InputTagSet::const_iterator ci=cb; ci!=ce; ++ci) {
645  LogVerbatim("TriggerSummaryProducerAOD") << " " << distance(cb,ci) << " " << ci->encode() << endl;
646  }
647 
648  LogVerbatim("TriggerSummaryProducerAOD") << " The filters:" << nf << endl;
649  const InputTagSet::const_iterator fb(filterTags.begin());
650  const InputTagSet::const_iterator fe(filterTags.end());
651  for ( InputTagSet::const_iterator fi=fb; fi!=fe; ++fi) {
652  LogVerbatim("TriggerSummaryProducerAOD") << " " << distance(fb,fi) << " " << fi->encode() << endl;
653  }
654 
655  LogVerbatim("TriggerSummaryProducerAOD") << "TriggerSummaryProducerAOD::endJob." << endl;
656  LogVerbatim("TriggerSummaryProducerAOD") << endl;
657 
658  return;
659 
660 }
std::set< edm::InputTag, OrderInputTag > InputTagSet
tbb::concurrent_unordered_set< edm::InputTag, InputTagHash > filterTagsGlobal_
tbb::concurrent_unordered_set< edm::InputTag, InputTagHash > collectionTagsGlobal_
static std::unique_ptr<GlobalInputTags> TriggerSummaryProducerAOD::initializeGlobalCache ( edm::ParameterSet const &  )
inlinestatic

Definition at line 94 of file TriggerSummaryProducerAOD.h.

94  {
95  return std::unique_ptr<GlobalInputTags> (new GlobalInputTags());
96  };
void TriggerSummaryProducerAOD::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

check whether collection tags are recorded in filterobjects; if so, these are L3 collections to be packed up, and the corresponding filter is a L3 filter also to be packed up. Record the InputTags of those L3 filters and L3 collections.

check uniqueness count

accumulate for endJob printout

debug printout

event-by-event tags

Now the processing: first trigger objects from L3 collections, then L3 filter objects

create trigger objects, fill triggerobjectcollection and offset map

construct single AOD product, reserving capacity

fill trigger object collection

fill the L3 filter objects

Implements edm::stream::EDProducerBase.

Definition at line 185 of file TriggerSummaryProducerAOD.cc.

References collectionTagsEvent_, collectionTagsStream_, HLT_25ns10e33_v2_cff::distance, benchmark_cfg::fb, fillFilterObjectMembers(), edm::GetterOfProducts< T >::fillHandles(), filterTagsEvent_, filterTagsStream_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TTauParticleCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, ids_, iEvent, HLT_25ns10e33_v2_cff::InputTag, instance, edm::isDebugEnabled(), keys_, diffTwoXMLs::label, LogDebug, LogTrace, maskFilters_, offset_, pn_, LaserDQM_cfg::process, FSQHLTOfflineSource_cfi::processName, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, tags_, and toc_.

186 {
187  using namespace std;
188  using namespace edm;
189  using namespace reco;
190  using namespace l1extra;
191  using namespace trigger;
192  using namespace l1t;
193 
194  std::vector<edm::Handle<trigger::TriggerFilterObjectWithRefs> > fobs;
196 
197  const unsigned int nfob(fobs.size());
198  LogTrace("TriggerSummaryProducerAOD") << "Number of filter objects found: " << nfob;
199 
200  string tagLabel,tagInstance,tagProcess;
201 
207  maskFilters_.clear();
208  maskFilters_.resize(nfob);
209  filterTagsEvent_.clear();
210  collectionTagsEvent_.clear();
211  unsigned int nf(0);
212  for (unsigned int ifob=0; ifob!=nfob; ++ifob) {
213  maskFilters_[ifob]=false;
214  const vector<string>& collectionTags_(fobs[ifob]->getCollectionTagsAsStrings());
215  const unsigned int ncol(collectionTags_.size());
216  if (ncol>0) {
217  nf++;
218  maskFilters_[ifob]=true;
219  const string& label (fobs[ifob].provenance()->moduleLabel());
220  const string& instance (fobs[ifob].provenance()->productInstanceName());
221  const string& process (fobs[ifob].provenance()->processName());
223  for (unsigned int icol=0; icol!=ncol; ++icol) {
224  // overwrite process name (usually not set)
225  tokenizeTag(collectionTags_[icol],tagLabel,tagInstance,tagProcess);
226  collectionTagsEvent_.insert(InputTag(tagLabel,tagInstance,pn_));
227  }
228  }
229  }
231  if (filterTagsEvent_.size()!=nf) {
232  LogError("TriggerSummaryProducerAOD")
233  << "Mismatch in number of filter tags: "
234  << filterTagsEvent_.size() << "!=" << nf ;
235  }
236 
240 
242  if (isDebugEnabled()) {
243 
245  const unsigned int nc(collectionTagsEvent_.size());
246  LogTrace("TriggerSummaryProducerAOD") << "Number of unique collections requested " << nc;
247  const InputTagSet::const_iterator cb(collectionTagsEvent_.begin());
248  const InputTagSet::const_iterator ce(collectionTagsEvent_.end());
249  for ( InputTagSet::const_iterator ci=cb; ci!=ce; ++ci) {
250  LogTrace("TriggerSummaryProducerAOD") << distance(cb,ci) << " " << ci->encode();
251  }
252  const unsigned int nf(filterTagsEvent_.size());
253  LogTrace("TriggerSummaryProducerAOD") << "Number of unique filters requested " << nf;
254  const InputTagSet::const_iterator fb(filterTagsEvent_.begin());
255  const InputTagSet::const_iterator fe(filterTagsEvent_.end());
256  for ( InputTagSet::const_iterator fi=fb; fi!=fe; ++fi) {
257  LogTrace("TriggerSummaryProducerAOD") << distance(fb,fi) << " " << fi->encode();
258  }
259 
260  }
261 
267  toc_.clear();
268  tags_.clear();
269  keys_.clear();
270  offset_.clear();
271  fillTriggerObjectCollections< RecoEcalCandidateCollection>(iEvent, getRecoEcalCandidateCollection_);
272  fillTriggerObjectCollections< ElectronCollection>(iEvent, getElectronCollection_);
273  fillTriggerObjectCollections< RecoChargedCandidateCollection>(iEvent, getRecoChargedCandidateCollection_);
274  fillTriggerObjectCollections< CaloJetCollection>(iEvent, getCaloJetCollection_);
275  fillTriggerObjectCollections< CompositeCandidateCollection>(iEvent, getCompositeCandidateCollection_);
276  fillTriggerObjectCollections< METCollection>(iEvent, getMETCollection_);
277  fillTriggerObjectCollections< CaloMETCollection>(iEvent, getCaloMETCollection_);
278  fillTriggerObjectCollections<IsolatedPixelTrackCandidateCollection>(iEvent, getIsolatedPixelTrackCandidateCollection_);
280  fillTriggerObjectCollections< L1EmParticleCollection>(iEvent, getL1EmParticleCollection_);
281  fillTriggerObjectCollections< L1MuonParticleCollection>(iEvent, getL1MuonParticleCollection_);
282  fillTriggerObjectCollections< L1JetParticleCollection>(iEvent, getL1JetParticleCollection_);
283  fillTriggerObjectCollections< L1EtMissParticleCollection>(iEvent, getL1EtMissParticleCollection_);
284  fillTriggerObjectCollections< L1HFRingsCollection>(iEvent, getL1HFRingsCollection_);
285  fillTriggerObjectCollections< MuonBxCollection>(iEvent, getL1TMuonParticleCollection_);
286  fillTriggerObjectCollections< EGammaBxCollection>(iEvent, getL1TEGammaParticleCollection_);
287  fillTriggerObjectCollections< JetBxCollection>(iEvent, getL1TJetParticleCollection_);
288  fillTriggerObjectCollections< TauBxCollection>(iEvent, getL1TTauParticleCollection_);
289  fillTriggerObjectCollections< EtSumBxCollection>(iEvent, getL1TEtSumParticleCollection_);
291  fillTriggerObjectCollections< PFJetCollection>(iEvent, getPFJetCollection_);
292  fillTriggerObjectCollections< PFTauCollection>(iEvent, getPFTauCollection_);
293  fillTriggerObjectCollections< PFMETCollection>(iEvent, getPFMETCollection_);
295  const unsigned int nk(tags_.size());
296  LogDebug("TriggerSummaryProducerAOD") << "Number of collections found: " << nk;
297  const unsigned int no(toc_.size());
298  LogDebug("TriggerSummaryProducerAOD") << "Number of physics objects found: " << no;
299 
302  auto_ptr<TriggerEvent> product(new TriggerEvent(pn_,nk,no,nf));
303 
305  product->addCollections(tags_,keys_);
306  product->addObjects(toc_);
307 
309  for (unsigned int ifob=0; ifob!=nfob; ++ifob) {
310  if (maskFilters_[ifob]) {
311  const string& label (fobs[ifob].provenance()->moduleLabel());
312  const string& instance (fobs[ifob].provenance()->productInstanceName());
313  const string& process (fobs[ifob].provenance()->processName());
314  const edm::InputTag filterTag(label,instance,process);
315  ids_.clear();
316  keys_.clear();
317  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->photonIds() ,fobs[ifob]->photonRefs());
318  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->electronIds() ,fobs[ifob]->electronRefs());
319  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->muonIds() ,fobs[ifob]->muonRefs());
320  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->jetIds() ,fobs[ifob]->jetRefs());
321  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->compositeIds(),fobs[ifob]->compositeRefs());
322  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->basemetIds() ,fobs[ifob]->basemetRefs());
323  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->calometIds() ,fobs[ifob]->calometRefs());
324  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->pixtrackIds() ,fobs[ifob]->pixtrackRefs());
325  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1emIds() ,fobs[ifob]->l1emRefs());
326  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1muonIds() ,fobs[ifob]->l1muonRefs());
327  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1jetIds() ,fobs[ifob]->l1jetRefs());
328  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1etmissIds() ,fobs[ifob]->l1etmissRefs());
329  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1hfringsIds(),fobs[ifob]->l1hfringsRefs());
330  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1tmuonIds() ,fobs[ifob]->l1tmuonRefs());
331  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1tegammaIds(),fobs[ifob]->l1tegammaRefs());
332  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1tjetIds() ,fobs[ifob]->l1tjetRefs());
333  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1ttauIds() ,fobs[ifob]->l1ttauRefs());
334  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->l1tetsumIds() ,fobs[ifob]->l1tetsumRefs());
335  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->pfjetIds() ,fobs[ifob]->pfjetRefs());
336  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->pftauIds() ,fobs[ifob]->pftauRefs());
337  fillFilterObjectMembers(iEvent,filterTag,fobs[ifob]->pfmetIds() ,fobs[ifob]->pfmetRefs());
338  product->addFilter(filterTag,ids_,keys_);
339  }
340  }
341 
342  OrphanHandle<TriggerEvent> ref = iEvent.put(product);
343  LogTrace("TriggerSummaryProducerAOD") << "Number of physics objects packed: " << ref->sizeObjects();
344  LogTrace("TriggerSummaryProducerAOD") << "Number of filter objects packed: " << ref->sizeFilters();
345 
346 }
#define LogDebug(id)
bool isDebugEnabled()
edm::GetterOfProducts< l1t::TauBxCollection > getL1TTauParticleCollection_
edm::GetterOfProducts< l1extra::L1JetParticleCollection > getL1JetParticleCollection_
edm::GetterOfProducts< reco::IsolatedPixelTrackCandidateCollection > getIsolatedPixelTrackCandidateCollection_
edm::GetterOfProducts< reco::RecoEcalCandidateCollection > getRecoEcalCandidateCollection_
edm::GetterOfProducts< l1extra::L1MuonParticleCollection > getL1MuonParticleCollection_
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:25
trigger::TriggerObjectCollection toc_
trigger object collection
edm::GetterOfProducts< reco::PFTauCollection > getPFTauCollection_
static PFTauRenderPlugin instance
std::vector< bool > maskFilters_
packing decision
edm::GetterOfProducts< reco::METCollection > getMETCollection_
edm::GetterOfProducts< l1t::JetBxCollection > getL1TJetParticleCollection_
edm::GetterOfProducts< reco::CaloJetCollection > getCaloJetCollection_
edm::GetterOfProducts< l1extra::L1EtMissParticleCollection > getL1EtMissParticleCollection_
std::vector< std::string > tags_
edm::GetterOfProducts< reco::PFJetCollection > getPFJetCollection_
int iEvent
Definition: GenABIO.cc:230
edm::GetterOfProducts< reco::RecoChargedCandidateCollection > getRecoChargedCandidateCollection_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
edm::GetterOfProducts< l1extra::L1HFRingsCollection > getL1HFRingsCollection_
std::map< edm::ProductID, unsigned int > offset_
global map for indices into toc_: offset per input L3 collection
void fillFilterObjectMembers(const edm::Event &, const edm::InputTag &tag, const trigger::Vids &, const std::vector< edm::Ref< C > > &)
edm::GetterOfProducts< l1t::MuonBxCollection > getL1TMuonParticleCollection_
#define LogTrace(id)
edm::GetterOfProducts< reco::CaloMETCollection > getCaloMETCollection_
edm::GetterOfProducts< reco::ElectronCollection > getElectronCollection_
InputTagSet collectionTagsEvent_
list of L3 collection tags
void fillHandles(edm::Event const &event, std::vector< edm::Handle< T > > &handles) const
edm::GetterOfProducts< reco::CompositeCandidateCollection > getCompositeCandidateCollection_
edm::GetterOfProducts< trigger::TriggerFilterObjectWithRefs > getTriggerFilterObjectWithRefs_
edm::GetterOfProducts< reco::PFMETCollection > getPFMETCollection_
InputTagSet filterTagsEvent_
list of L3 filter tags
tuple process
Definition: LaserDQM_cfg.py:3
edm::GetterOfProducts< l1t::EtSumBxCollection > getL1TEtSumParticleCollection_
edm::GetterOfProducts< l1extra::L1EmParticleCollection > getL1EmParticleCollection_
edm::GetterOfProducts< l1t::EGammaBxCollection > getL1TEGammaParticleCollection_

Member Data Documentation

InputTagSet TriggerSummaryProducerAOD::collectionTagsEvent_
private

list of L3 collection tags

Definition at line 149 of file TriggerSummaryProducerAOD.h.

Referenced by fillTriggerObjectCollections(), produce(), and TriggerSummaryProducerAOD().

InputTagSet TriggerSummaryProducerAOD::collectionTagsStream_
private

Definition at line 150 of file TriggerSummaryProducerAOD.h.

Referenced by endStream(), produce(), and TriggerSummaryProducerAOD().

InputTagSet TriggerSummaryProducerAOD::filterTagsEvent_
private

list of L3 filter tags

Definition at line 145 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

InputTagSet TriggerSummaryProducerAOD::filterTagsStream_
private

Definition at line 146 of file TriggerSummaryProducerAOD.h.

Referenced by endStream(), produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::CaloJetCollection> TriggerSummaryProducerAOD::getCaloJetCollection_
private

Definition at line 170 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::CaloMETCollection> TriggerSummaryProducerAOD::getCaloMETCollection_
private

Definition at line 173 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::CompositeCandidateCollection> TriggerSummaryProducerAOD::getCompositeCandidateCollection_
private

Definition at line 171 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::ElectronCollection> TriggerSummaryProducerAOD::getElectronCollection_
private

Definition at line 168 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::IsolatedPixelTrackCandidateCollection> TriggerSummaryProducerAOD::getIsolatedPixelTrackCandidateCollection_
private

Definition at line 175 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1extra::L1EmParticleCollection> TriggerSummaryProducerAOD::getL1EmParticleCollection_
private

Definition at line 176 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1extra::L1EtMissParticleCollection> TriggerSummaryProducerAOD::getL1EtMissParticleCollection_
private

Definition at line 179 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1extra::L1HFRingsCollection> TriggerSummaryProducerAOD::getL1HFRingsCollection_
private

Definition at line 180 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1extra::L1JetParticleCollection> TriggerSummaryProducerAOD::getL1JetParticleCollection_
private

Definition at line 178 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1extra::L1MuonParticleCollection> TriggerSummaryProducerAOD::getL1MuonParticleCollection_
private

Definition at line 177 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1t::EGammaBxCollection> TriggerSummaryProducerAOD::getL1TEGammaParticleCollection_
private

Definition at line 184 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1t::EtSumBxCollection> TriggerSummaryProducerAOD::getL1TEtSumParticleCollection_
private

Definition at line 187 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1t::JetBxCollection> TriggerSummaryProducerAOD::getL1TJetParticleCollection_
private

Definition at line 185 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1t::MuonBxCollection> TriggerSummaryProducerAOD::getL1TMuonParticleCollection_
private

Definition at line 183 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<l1t::TauBxCollection> TriggerSummaryProducerAOD::getL1TTauParticleCollection_
private

Definition at line 186 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::METCollection> TriggerSummaryProducerAOD::getMETCollection_
private

Definition at line 172 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::PFJetCollection> TriggerSummaryProducerAOD::getPFJetCollection_
private

Definition at line 181 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::PFMETCollection> TriggerSummaryProducerAOD::getPFMETCollection_
private

Definition at line 174 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::PFTauCollection> TriggerSummaryProducerAOD::getPFTauCollection_
private

Definition at line 182 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::RecoChargedCandidateCollection> TriggerSummaryProducerAOD::getRecoChargedCandidateCollection_
private

Definition at line 169 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<reco::RecoEcalCandidateCollection> TriggerSummaryProducerAOD::getRecoEcalCandidateCollection_
private

Definition at line 167 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

edm::GetterOfProducts<trigger::TriggerFilterObjectWithRefs> TriggerSummaryProducerAOD::getTriggerFilterObjectWithRefs_
private

Definition at line 166 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

trigger::Vids TriggerSummaryProducerAOD::ids_
private

ids

Definition at line 161 of file TriggerSummaryProducerAOD.h.

Referenced by fillFilterObjectMember(), and produce().

trigger::Keys TriggerSummaryProducerAOD::keys_
private
std::vector<bool> TriggerSummaryProducerAOD::maskFilters_
private

packing decision

Definition at line 164 of file TriggerSummaryProducerAOD.h.

Referenced by produce().

std::map<edm::ProductID,unsigned int> TriggerSummaryProducerAOD::offset_
private

global map for indices into toc_: offset per input L3 collection

Definition at line 156 of file TriggerSummaryProducerAOD.h.

Referenced by fillFilterObjectMembers(), fillTriggerObjectCollections(), and produce().

std::string TriggerSummaryProducerAOD::pn_
private

process name

Definition at line 122 of file TriggerSummaryProducerAOD.h.

Referenced by produce(), and TriggerSummaryProducerAOD().

std::vector<std::string> TriggerSummaryProducerAOD::tags_
private

Definition at line 154 of file TriggerSummaryProducerAOD.h.

Referenced by fillTriggerObjectCollections(), and produce().

trigger::TriggerObjectCollection TriggerSummaryProducerAOD::toc_
private

trigger object collection

Definition at line 153 of file TriggerSummaryProducerAOD.h.

Referenced by fillTriggerObject(), fillTriggerObjectCollections(), and produce().