CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions
BPHRecoSelect Class Referenceabstract

#include <BPHRecoSelect.h>

Inheritance diagram for BPHRecoSelect:
BPHParticleChargeSelect BPHParticleEtaSelect BPHParticleNeutralVeto BPHParticlePtSelect BPHMuonChargeSelect BPHMuonEtaSelect BPHMuonPtSelect

Public Types

using AcceptArg = reco::Candidate
 

Public Member Functions

virtual bool accept (const reco::Candidate &cand) const =0
 
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *build) const
 
 BPHRecoSelect ()
 
 BPHRecoSelect (const BPHRecoSelect &x)=delete
 
BPHRecoSelectoperator= (const BPHRecoSelect &x)=delete
 
virtual ~BPHRecoSelect ()
 

Protected Member Functions

const reco::Candidateget (const std::string &name, const BPHRecoBuilder *build) const
 

Detailed Description

Description: Base class for daughter particle selection

Author
Paolo Ronchese INFN Padova

Definition at line 35 of file BPHRecoSelect.h.

Member Typedef Documentation

◆ AcceptArg

Definition at line 49 of file BPHRecoSelect.h.

Constructor & Destructor Documentation

◆ BPHRecoSelect() [1/2]

BPHRecoSelect::BPHRecoSelect ( )
inline

Constructor

Definition at line 39 of file BPHRecoSelect.h.

39 {}

◆ BPHRecoSelect() [2/2]

BPHRecoSelect::BPHRecoSelect ( const BPHRecoSelect x)
delete

◆ ~BPHRecoSelect()

virtual BPHRecoSelect::~BPHRecoSelect ( )
inlinevirtual

Destructor

Definition at line 47 of file BPHRecoSelect.h.

47 {}

Member Function Documentation

◆ accept() [1/2]

virtual bool BPHRecoSelect::accept ( const reco::Candidate cand) const
pure virtual

Operations accept function pointers to other particles in the decays can be obtained by the function "get" giving the particle name (passing the pointer to the builder)

Implemented in BPHMuonChargeSelect, BPHMuonEtaSelect, BPHMuonPtSelect, BPHParticleChargeSelect, BPHParticleEtaSelect, BPHParticleNeutralVeto, and BPHParticlePtSelect.

Referenced by BPHOniaToMuMuBuilder::getList(), and esMonitoring.FDJsonServer::handle_accept().

◆ accept() [2/2]

virtual bool BPHRecoSelect::accept ( const reco::Candidate cand,
const BPHRecoBuilder build 
) const
inlinevirtual

Definition at line 58 of file BPHRecoSelect.h.

58 { return accept(cand); }

References accept().

Referenced by accept(), and esMonitoring.FDJsonServer::handle_accept().

◆ get()

const reco::Candidate* BPHRecoSelect::get ( const std::string &  name,
const BPHRecoBuilder build 
) const
inlineprotected

◆ operator=()

BPHRecoSelect& BPHRecoSelect::operator= ( const BPHRecoSelect x)
delete
newFWLiteAna.build
build
Definition: newFWLiteAna.py:126
cand
Definition: decayParser.h:32
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
BPHRecoSelect::accept
virtual bool accept(const reco::Candidate &cand) const =0