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
//-------------------
27
// Initializations --
28
//-------------------
29
30
31
//----------------
32
// Constructors --
33
//----------------
34
// see interface/BPHMultiSelect.hpp
35
36
//--------------
37
// Destructor --
38
//--------------
39
// see interface/BPHMultiSelect.hpp
40
41
//--------------
42
// Operations --
43
//--------------
44
bool
BPHMultiSelect<BPHRecoSelect >::accept
(
45
const
reco::Candidate
&
cand
,
46
const
BPHRecoBuilder
* build )
const
{
47
return
select
( cand, build );
48
}
49
50
bool
BPHMultiSelect<BPHRecoSelect >::accept
(
51
const
reco::Candidate
&
cand
)
const
{
52
return
select
( cand );
53
}
54
55
template
<>
56
bool
BPHMultiSelect<BPHMomentumSelect>::accept
(
57
const
BPHDecayMomentum
& cand )
const
{
58
return
select
( cand );
59
}
60
61
62
template
<>
63
bool
BPHMultiSelect<BPHVertexSelect >::accept
(
64
const
BPHDecayVertex
& cand )
const
{
65
return
select
( cand );
66
}
67
68
69
template
<>
70
bool
BPHMultiSelect<BPHFitSelect >::accept
(
71
const
BPHKinematicFit
& cand )
const
{
72
return
select
( cand );
73
}
74
BPHKinematicFit
Definition:
BPHKinematicFit.h:35
BPHDecayVertex
Definition:
BPHDecayVertex.h:42
reco::Candidate
Definition:
Candidate.h:28
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
BPHMultiSelect.h
BPHMultiSelect::accept
bool accept(const typename T::AcceptArg &cand) const override
accept function
BPHRecoSelect.h
BPHDecayMomentum
Definition:
BPHDecayMomentum.h:36
BPHVertexSelect.h
BPHRecoBuilder.h
BPHMomentumSelect.h
cand
Definition:
decayParser.h:34
BPHRecoBuilder
Definition:
BPHRecoBuilder.h:51
Generated for CMSSW Reference Manual by
1.8.11