#include <MyEDFilter/STFilter/src/STFilter.cc>
Public Member Functions | |
STFilter (const edm::ParameterSet &) | |
~STFilter () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
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< ConsumesInfo > | consumesInfo () 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 (const std::string &iProcessName, std::vector< const char * > &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 () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
unsigned int | accepted_events |
edm::ParameterSet | conf_ |
int | DEBUGLVL |
std::string | fOutputFileName |
TH1D * | hbEta |
TH1D * | hbEtaFiltered |
TH1D * | hbPt |
TH1D * | hbPtFiltered |
edm::InputTag | hepMCProductTag_ |
TFile * | hOutputFile |
unsigned int | input_events |
bool | m_produceHistos |
double | pTMax_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
used for single top t-channel events generated with MadEvent and matched the "Karlsruhe way" filter on 2->2 process events, where the crucial candidate (the 2nd b quark) is not available until parton showering is done filter criterion: transverse momentum of 2nd b quark "pT < pTMax" -> event accepted! How-To: include STFilter.cfg in your .cfg, replace pTMax by the desired value, include module "STFilter" in outpath Implementation: <Notes on="" implementation>="">
Definition at line 13 of file STFilter.h.
|
explicit |
Definition at line 30 of file STFilter.cc.
References accepted_events, conf_, DEBUGLVL, fOutputFileName, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), input_events, m_produceHistos, pTMax_, and AlCaHLTBitMon_QueryRunRegistry::string.
STFilter::~STFilter | ( | ) |
Definition at line 43 of file STFilter.cc.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 115 of file STFilter.cc.
References conf_, fOutputFileName, edm::ParameterSet::getParameter(), hbEta, hbEtaFiltered, hbPt, hbPtFiltered, hOutputFile, and m_produceHistos.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 132 of file STFilter.cc.
References accepted_events, gather_cfg::cout, relativeConstraints::error, HLT_25ns14e33_v1_cff::fraction, hbEta, hbEtaFiltered, hbPt, hbPtFiltered, hOutputFile, input_events, m_produceHistos, and mathSSE::sqrt().
|
privatevirtual |
Implements edm::EDFilter.
Definition at line 45 of file STFilter.cc.
References funct::abs(), accepted_events, edm::Event::getByLabel(), hbEta, hbEtaFiltered, hbPt, hbPtFiltered, hepMCProductTag_, i, input_events, visualization-live-secondInstance_cfg::m, m_produceHistos, AlCaHLTBitMon_ParallelJobs::p, parents, and pTMax_.
|
private |
Definition at line 27 of file STFilter.h.
Referenced by endJob(), filter(), and STFilter().
|
private |
Definition at line 36 of file STFilter.h.
Referenced by beginJob(), and STFilter().
|
private |
Definition at line 24 of file STFilter.h.
Referenced by STFilter().
|
private |
Definition at line 33 of file STFilter.h.
Referenced by beginJob(), and STFilter().
|
private |
Definition at line 31 of file STFilter.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 31 of file STFilter.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 30 of file STFilter.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 30 of file STFilter.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 37 of file STFilter.h.
Referenced by filter().
|
private |
Definition at line 34 of file STFilter.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 26 of file STFilter.h.
Referenced by endJob(), filter(), and STFilter().
|
private |
Definition at line 29 of file STFilter.h.
Referenced by beginJob(), endJob(), filter(), and STFilter().
|
private |
Definition at line 22 of file STFilter.h.
Referenced by filter(), and STFilter().