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