Main Page
Namespaces
Classes
Package Documentation
HeavyFlavorAnalysis
RecoDecay
src
BPHMultiSelect.cc
Go to the documentation of this file.
1
/*
2
* See header file for a description of this class.
3
*
4
* \author Paolo Ronchese INFN Padova
5
*
6
*/
7
8
//-----------------------
9
// This Class' Header --
10
//-----------------------
11
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHMultiSelect.h
"
12
13
//-------------------------------
14
// Collaborating Class Headers --
15
//-------------------------------
16
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h
"
17
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoSelect.h
"
18
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHMomentumSelect.h
"
19
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHVertexSelect.h
"
20
21
//---------------
22
// C++ Headers --
23
//---------------
24
25
//-------------------
26
// Initializations --
27
//-------------------
28
29
//----------------
30
// Constructors --
31
//----------------
32
// see interface/BPHMultiSelect.hpp
33
34
//--------------
35
// Destructor --
36
//--------------
37
// see interface/BPHMultiSelect.hpp
38
39
//--------------
40
// Operations --
41
//--------------
42
bool
BPHMultiSelect<BPHRecoSelect>::accept
(
const
reco::Candidate
&
cand
,
const
BPHRecoBuilder
*
build
)
const
{
43
return
select
(cand, build);
44
}
45
46
bool
BPHMultiSelect<BPHRecoSelect>::accept
(
const
reco::Candidate
&
cand
)
const
{
return
select
(cand); }
47
48
template
<>
49
bool
BPHMultiSelect<BPHMomentumSelect>::accept
(
const
BPHDecayMomentum
& cand)
const
{
50
return
select
(cand);
51
}
52
53
template
<>
54
bool
BPHMultiSelect<BPHVertexSelect>::accept
(
const
BPHDecayVertex
& cand)
const
{
55
return
select
(cand);
56
}
57
58
template
<>
59
bool
BPHMultiSelect<BPHFitSelect>::accept
(
const
BPHKinematicFit
& cand)
const
{
60
return
select
(cand);
61
}
BPHKinematicFit
Definition:
BPHKinematicFit.h:35
BPHDecayVertex
Definition:
BPHDecayVertex.h:42
reco::Candidate
Definition:
Candidate.h:28
BPHMultiSelect.h
BPHMultiSelect::accept
bool accept(const typename T::AcceptArg &cand) const override
accept function
BPHRecoSelect.h
BPHMultiSelectBase::select
bool select(const Obj &cand) const
Definition:
BPHMultiSelect.h:82
BPHDecayMomentum
Definition:
BPHDecayMomentum.h:35
BPHVertexSelect.h
BPHRecoBuilder.h
newFWLiteAna.build
build
Definition:
newFWLiteAna.py:126
BPHMomentumSelect.h
cand
Definition:
decayParser.h:34
BPHRecoBuilder
Definition:
BPHRecoBuilder.h:50
Generated for CMSSW Reference Manual by
1.8.11