test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HeavyFlavorAnalysis
SpecificDecay
interface
BPHMassSelect.h
Go to the documentation of this file.
1
#ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMassSelect_h
2
#define HeavyFlavorAnalysis_SpecificDecay_BPHMassSelect_h
3
12
//----------------------
13
// Base Class Headers --
14
//----------------------
15
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHMomentumSelect.h
"
16
#include "
HeavyFlavorAnalysis/SpecificDecay/interface/BPHMassCuts.h
"
17
18
//------------------------------------
19
// Collaborating Class Declarations --
20
//------------------------------------
21
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHDecayMomentum.h
"
22
23
//---------------
24
// C++ Headers --
25
//---------------
26
27
28
// ---------------------
29
// -- Class Interface --
30
// ---------------------
31
32
class
BPHMassSelect
:
public
BPHMomentumSelect
,
public
BPHMassCuts
{
33
34
public
:
35
38
BPHMassSelect
(
double
minMass
,
double
maxMass
):
BPHMassCuts
( minMass,
39
maxMass ) {}
40
43
virtual
~BPHMassSelect
() {}
44
47
virtual
bool
accept
(
const
BPHDecayMomentum
& cand )
const
{
49
double
mass
= cand.
composite
().
mass
();
50
return
( ( mass >
mMin
) && ( mass <
mMax
) );
51
}
52
53
private
:
54
55
// private copy and assigment constructors
56
BPHMassSelect
(
const
BPHMassSelect
&
x
);
57
BPHMassSelect
&
operator=
(
const
BPHMassSelect
&
x
);
58
59
};
60
61
62
#endif
63
BPHMassCuts
Definition:
BPHMassCuts.h:34
BPHMassSelect::BPHMassSelect
BPHMassSelect(double minMass, double maxMass)
Definition:
BPHMassSelect.h:38
BPHMassSelect::~BPHMassSelect
virtual ~BPHMassSelect()
Definition:
BPHMassSelect.h:43
BPHMassCuts.h
BPHMassSelect::accept
virtual bool accept(const BPHDecayMomentum &cand) const
select particle
Definition:
BPHMassSelect.h:48
BPHMassCuts::mMax
double mMax
Definition:
BPHMassCuts.h:64
BPHMassSelect::operator=
BPHMassSelect & operator=(const BPHMassSelect &x)
HLT_25ns10e33_v2_cff.maxMass
tuple maxMass
Definition:
HLT_25ns10e33_v2_cff.py:33401
HLT_25ns10e33_v2_cff.minMass
tuple minMass
Definition:
HLT_25ns10e33_v2_cff.py:33404
reco::LeafCandidate::mass
virtual double mass() const final
mass
Definition:
LeafCandidate.h:116
BPHMassCuts::mMin
double mMin
Definition:
BPHMassCuts.h:63
BPHDecayMomentum
Definition:
BPHDecayMomentum.h:36
BPHDecayMomentum::composite
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles
Definition:
BPHDecayMomentum.cc:73
BPHMomentumSelect
Definition:
BPHMomentumSelect.h:31
BPHMomentumSelect.h
BPHDecayMomentum.h
ResonanceBuilder.mass
dictionary mass
Definition:
ResonanceBuilder.py:8
DDAxes::x
BPHMassSelect
Definition:
BPHMassSelect.h:32
Generated for CMSSW Reference Manual by
1.8.5