CMS 3D CMS Logo

List of all members | Public Types | Public 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 *builder) const
 
 BPHRecoSelect ()
 
 BPHRecoSelect (const BPHRecoSelect &x)=delete
 
BPHRecoSelectoperator= (const BPHRecoSelect &x)=delete
 
virtual ~BPHRecoSelect ()=default
 

Detailed Description

Description: Base class for daughter particle selection

Author
Paolo Ronchese INFN Padova

Definition at line 34 of file BPHRecoSelect.h.

Member Typedef Documentation

◆ AcceptArg

Definition at line 48 of file BPHRecoSelect.h.

Constructor & Destructor Documentation

◆ BPHRecoSelect() [1/2]

BPHRecoSelect::BPHRecoSelect ( )
inline

Constructor

Definition at line 38 of file BPHRecoSelect.h.

38 {}

◆ BPHRecoSelect() [2/2]

BPHRecoSelect::BPHRecoSelect ( const BPHRecoSelect x)
delete

◆ ~BPHRecoSelect()

virtual BPHRecoSelect::~BPHRecoSelect ( )
virtualdefault

Destructor

Member Function Documentation

◆ accept() [1/2]

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

Operationsaccept 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 builder 
) const
inlinevirtual

Definition at line 57 of file BPHRecoSelect.h.

References accept().

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

57 { return accept(cand); }
virtual bool accept(const reco::Candidate &cand) const =0

◆ operator=()

BPHRecoSelect& BPHRecoSelect::operator= ( const BPHRecoSelect x)
delete