CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BPHDecayToResResBuilderBase::DZSelect Class Reference

#include <BPHDecayToResResBuilderBase.h>

Inheritance diagram for BPHDecayToResResBuilderBase::DZSelect:
BPHVertexSelect

Public Member Functions

bool accept (const BPHDecayVertex &cand) const override
 accept function More...
 
bool accept (const BPHDecayVertex &cand, const BPHRecoBuilder *builder) const override
 
 DZSelect (const std::string *n)
 
- Public Member Functions inherited from BPHVertexSelect
 BPHVertexSelect ()
 
 BPHVertexSelect (const BPHVertexSelect &x)=delete
 
BPHVertexSelectoperator= (const BPHVertexSelect &x)=delete
 
virtual ~BPHVertexSelect ()=default
 

Private Attributes

const std::string * name
 

Additional Inherited Members

- Public Types inherited from BPHVertexSelect
using AcceptArg = BPHDecayVertex
 

Detailed Description

Definition at line 88 of file BPHDecayToResResBuilderBase.h.

Constructor & Destructor Documentation

◆ DZSelect()

BPHDecayToResResBuilderBase::DZSelect::DZSelect ( const std::string *  n)
inline

Member Function Documentation

◆ accept() [1/2]

bool BPHDecayToResResBuilderBase::DZSelect::accept ( const BPHDecayVertex cand) const
inlineoverridevirtual

accept function

Operations

Implements BPHVertexSelect.

Definition at line 91 of file BPHDecayToResResBuilderBase.h.

Referenced by esMonitoring.FDJsonServer::handle_accept().

91 { return true; }

◆ accept() [2/2]

bool BPHDecayToResResBuilderBase::DZSelect::accept ( const BPHDecayVertex cand,
const BPHRecoBuilder builder 
) const
inlineoverridevirtual

Reimplemented from BPHVertexSelect.

Definition at line 92 of file BPHDecayToResResBuilderBase.h.

References BPHRecoBuilder::getComp(), and name.

Referenced by esMonitoring.FDJsonServer::handle_accept().

92  {
93  const auto& res1 = builder->getComp(*name);
94  return (fabs(cand.vertex().z() - res1->vertex().z()) < 1.0);
95  }
BPHRecoConstCandPtr getComp(const std::string &name) const

Member Data Documentation

◆ name

const std::string* BPHDecayToResResBuilderBase::DZSelect::name
private

Definition at line 98 of file BPHDecayToResResBuilderBase.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), 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.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), accept(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), 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(), production_tasks.Task::getname(), 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(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), counter.Counter::write(), and average.Average::write().