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