BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalEptoRhoGamSelector.cxx
Go to the documentation of this file.
1
#include "GaudiKernel/Bootstrap.h"
2
3
#include "
LocalEptoRhoGamSelector.h
"
4
5
DECLARE_COMPONENT
(
LocalEptoRhoGamSelector
)
6
7
LocalEptoRhoGamSelector
::
LocalEptoRhoGamSelector
( const
std
::
string
&
type
,
8
const
std
::
string
& name,
9
const IInterface* parent )
10
: base_class(
type
, name, parent ) {
11
// Declare the properties
12
declareProperty(
"minMassEptoRhoGam"
, m_minMass = 0.938 );
13
declareProperty(
"maxMassEptoRhoGam"
, m_maxMass = 0.978 );
14
}
15
16
bool
LocalEptoRhoGamSelector::operator()
(
CDDecay
& aEp ) {
17
18
// aEp.setUserTag(1);
19
aEp.
setUserTag
( aEp.
decay
().
child
( 0 ).
userTag
() );
20
21
double
mass
= aEp.
mass
();
22
if
(
mass
>= m_minMass &&
mass
<= m_maxMass )
return
true
;
23
else
return
false
;
24
}
DECLARE_COMPONENT
DECLARE_COMPONENT(BesBdkRc)
mass
double mass
Definition
CosmicGenerator.cxx:128
LocalEptoRhoGamSelector.h
CDCandidate::setUserTag
void setUserTag(int tag)
Definition
CDCandidate.cxx:66
CDCandidate::userTag
int userTag() const
Definition
CDCandidate.cxx:117
CDCandidate::mass
double mass() const
Definition
CDCandidate.cxx:122
CDDecay
Definition
Event/BesDChain/include/BesDChain/CDDecay.h:110
CDDecay::child
const CDCandidate & child(unsigned int aPosition) const
Definition
CDDecay.cxx:231
CDDecay::decay
virtual const CDDecay & decay(void) const
Definition
CDDecay.cxx:204
LocalEptoRhoGamSelector
Definition
LocalEptoRhoGamSelector.h:7
LocalEptoRhoGamSelector::operator()
bool operator()(CDDecay &aEp)
Definition
LocalEptoRhoGamSelector.cxx:16
LocalEptoRhoGamSelector::LocalEptoRhoGamSelector
LocalEptoRhoGamSelector(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LocalEptoRhoGamSelector.cxx:7
std
Definition
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
type
8.0.0
BOSS_Source
Reconstruction
DTagAlg
src
LocalEptoRhoGamSelector.cxx
Generated by
1.16.1