ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsAnalysis
MuonID
MuonIDAnalysis
MuonMomentumCorrections
src
TestMCASTTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MCAST_TOOLTESTER_H
6
#define MCAST_TOOLTESTER_H
7
8
// Gaudi/Athena include(s):
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
12
// Local include(s):
13
#include "
MuonAnalysisInterfaces/IMuonCalibrationAndSmearingTool.h
"
14
#include "
MuonAnalysisInterfaces/IMuonSelectionTool.h
"
15
#include "
PATInterfaces/SystematicsUtil.h
"
16
#include "
TrackInfo.h
"
17
18
// Root include(s)
19
#include "TFile.h"
20
#include "TTree.h"
21
22
namespace
CP
{
23
24
class
TestMCASTTool
:
public
AthAlgorithm
{
25
public
:
26
//::: Regular Algorithm constructor
27
TestMCASTTool
(
const
std::string&
name
, ISvcLocator* svcLoc);
28
//::: Function initialising the algorithm
29
virtual
StatusCode
initialize
();
30
//::: Function executing the algorithm
31
virtual
StatusCode
execute
();
32
//::: Function finalizing the algoritm
33
virtual
StatusCode
finalize
();
34
35
private
:
36
//::: Name of the output file
37
std::string
m_Output
;
38
//::: StoreGate key for the muon container to investigate
39
std::string
m_sgKey
;
40
//::: Connection to the smearing tool
41
ToolHandle<CP::IMuonCalibrationAndSmearingTool>
m_MCaSTool
;
42
43
std::vector<std::string>
m_sysNames
;
44
std::vector<CP::SystematicSet>
m_sysList
;
45
46
TFile*
m_DebugFile
;
47
TTree*
m_DebugTree
;
48
int
m_SelCategoryRaw
= 0,
m_SelCategory
= 0;
49
std::unique_ptr<MMCTest::TrackInfo>
m_Combined
;
50
std::unique_ptr<MMCTest::TrackInfo>
m_InnerDet
;
51
std::unique_ptr<MMCTest::TrackInfo>
m_MSExtr
;
52
std::unique_ptr<MMCTest::TrackInfo>
m_MSOnlyExtr
;
53
54
};
// class TestMCASTTool
55
56
}
// namespace CP
57
58
#endif // MCAST_TOOLTESTER_H
CP::TestMCASTTool::initialize
virtual StatusCode initialize()
Definition:
TestMCASTTool.cxx:29
CP::TestMCASTTool::m_MSOnlyExtr
std::unique_ptr< MMCTest::TrackInfo > m_MSOnlyExtr
Definition:
TestMCASTTool.h:52
CP::TestMCASTTool::m_MSExtr
std::unique_ptr< MMCTest::TrackInfo > m_MSExtr
Definition:
TestMCASTTool.h:51
CP::TestMCASTTool::m_InnerDet
std::unique_ptr< MMCTest::TrackInfo > m_InnerDet
Definition:
TestMCASTTool.h:50
CP::TestMCASTTool::m_sysNames
std::vector< std::string > m_sysNames
Definition:
TestMCASTTool.h:43
CP::TestMCASTTool::m_sgKey
std::string m_sgKey
Definition:
TestMCASTTool.h:39
CP::TestMCASTTool::m_sysList
std::vector< CP::SystematicSet > m_sysList
Definition:
TestMCASTTool.h:44
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
AthAlgorithm.h
IMuonSelectionTool.h
CP::TestMCASTTool::m_DebugFile
TFile * m_DebugFile
Definition:
TestMCASTTool.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::TestMCASTTool::TestMCASTTool
TestMCASTTool(const std::string &name, ISvcLocator *svcLoc)
Definition:
TestMCASTTool.cxx:15
CP::TestMCASTTool
Definition:
TestMCASTTool.h:24
AthAlgorithm
Definition:
AthAlgorithm.h:47
CP::TestMCASTTool::m_Combined
std::unique_ptr< MMCTest::TrackInfo > m_Combined
Definition:
TestMCASTTool.h:49
CP::TestMCASTTool::m_SelCategoryRaw
int m_SelCategoryRaw
Definition:
TestMCASTTool.h:48
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
TrackInfo.h
CP::TestMCASTTool::m_DebugTree
TTree * m_DebugTree
Definition:
TestMCASTTool.h:47
IMuonCalibrationAndSmearingTool.h
CP::TestMCASTTool::execute
virtual StatusCode execute()
Definition:
TestMCASTTool.cxx:66
CP::TestMCASTTool::m_MCaSTool
ToolHandle< CP::IMuonCalibrationAndSmearingTool > m_MCaSTool
Definition:
TestMCASTTool.h:41
CP::TestMCASTTool::m_Output
std::string m_Output
Definition:
TestMCASTTool.h:37
CP::TestMCASTTool::m_SelCategory
int m_SelCategory
Definition:
TestMCASTTool.h:48
CP::TestMCASTTool::finalize
virtual StatusCode finalize()
Definition:
TestMCASTTool.cxx:139
SystematicsUtil.h
Generated on Tue May 27 2025 21:19:04 for ATLAS Offline Software by
1.8.18