#include <McSelector.h>
Public Member Functions | |
std::string | GetName () |
void | handleObjects (const edm::Event &) |
bool | isSelected (const edm::Event &) |
McSelector (const edm::ParameterSet &userCut_params, edm::ConsumesCollector &&iC) | |
virtual | ~McSelector () |
Private Attributes | |
double | ht |
edm::EDGetTokenT < reco::GenJetCollection > | m_genJetSrc |
edm::EDGetTokenT < reco::GenMETCollection > | m_genMetSrc |
edm::EDGetTokenT < reco::GenParticleCollection > | m_genSrc |
double | mc_htMin |
double | mc_metMin |
int | mc_nElec |
std::string | mc_nElecRule |
int | mc_nJet |
int | mc_nMuon |
std::string | mc_nMuonRule |
int | mc_nPhot |
int | mc_nTau |
double | mc_ptElecMin |
double | mc_ptJetForHtMin |
double | mc_ptJetMin |
double | mc_ptMuonMin |
double | mc_ptPhotMin |
double | mc_ptTauMin |
std::string | name |
const reco::GenJetCollection * | theGenJetCollection |
const reco::GenMETCollection * | theGenMETCollection |
const reco::GenParticleCollection * | theGenParticleCollection |
Definition at line 33 of file McSelector.h.
McSelector::McSelector | ( | const edm::ParameterSet & | userCut_params, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 20 of file McSelector.cc.
References edm::ParameterSet::getParameter(), mcSel_RA1_cff::mc_htMin, mcSel_RA1_cff::mc_metMin, mcSel_RA1_cff::mc_nElec, mcSel_RA1_cff::mc_nElecRule, mcSel_RA1_cff::mc_nJet, mcSel_RA1_cff::mc_nMuon, mcSel_RA1_cff::mc_nMuonRule, mcSel_RA1_cff::mc_nPhot, mcSel_RA1_cff::mc_nTau, mcSel_RA1_cff::mc_ptElecMin, mcSel_RA1_cff::mc_ptJetForHtMin, mcSel_RA1_cff::mc_ptJetMin, mcSel_RA1_cff::mc_ptMuonMin, mcSel_RA1_cff::mc_ptPhotMin, mcSel_RA1_cff::mc_ptTauMin, and mergeVDriftHistosByStation::name.
|
inlinevirtual |
Definition at line 40 of file McSelector.h.
string McSelector::GetName | ( | ) |
void McSelector::handleObjects | ( | const edm::Event & | iEvent | ) |
Definition at line 249 of file McSelector.cc.
References edm::Event::getByToken(), and edm::Handle< T >::product().
bool McSelector::isSelected | ( | const edm::Event & | iEvent | ) |
Definition at line 67 of file McSelector.cc.
References gather_cfg::cout, reco::LeafCandidate::eta(), i, mcSel_RA1_cff::mc_htMin, mcSel_RA1_cff::mc_metMin, mcSel_RA1_cff::mc_nElec, mcSel_RA1_cff::mc_nElecRule, mcSel_RA1_cff::mc_nJet, mcSel_RA1_cff::mc_nMuon, mcSel_RA1_cff::mc_nMuonRule, mcSel_RA1_cff::mc_nPhot, mcSel_RA1_cff::mc_nTau, mcSel_RA1_cff::mc_ptElecMin, mcSel_RA1_cff::mc_ptJetForHtMin, mcSel_RA1_cff::mc_ptJetMin, mcSel_RA1_cff::mc_ptMuonMin, mcSel_RA1_cff::mc_ptPhotMin, mcSel_RA1_cff::mc_ptTauMin, reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::pt(), and reco::LeafCandidate::status().
|
private |
Definition at line 71 of file McSelector.h.
|
private |
Definition at line 52 of file McSelector.h.
|
private |
Definition at line 53 of file McSelector.h.
|
private |
Definition at line 51 of file McSelector.h.
|
private |
Definition at line 61 of file McSelector.h.
|
private |
Definition at line 60 of file McSelector.h.
|
private |
Definition at line 62 of file McSelector.h.
|
private |
Definition at line 63 of file McSelector.h.
|
private |
Definition at line 68 of file McSelector.h.
|
private |
Definition at line 64 of file McSelector.h.
|
private |
Definition at line 65 of file McSelector.h.
|
private |
Definition at line 67 of file McSelector.h.
|
private |
Definition at line 66 of file McSelector.h.
|
private |
Definition at line 54 of file McSelector.h.
|
private |
Definition at line 59 of file McSelector.h.
|
private |
Definition at line 58 of file McSelector.h.
|
private |
Definition at line 55 of file McSelector.h.
|
private |
Definition at line 57 of file McSelector.h.
|
private |
Definition at line 56 of file McSelector.h.
|
private |
Definition at line 50 of file McSelector.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 77 of file McSelector.h.
|
private |
Definition at line 78 of file McSelector.h.
|
private |
Definition at line 76 of file McSelector.h.