ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
IMuonCalibrationAndSmearingTool.h
IMuonSelectionTool.h
TrackInfo.h
SystematicsUtil.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CP::TestMCASTTool::m_InnerDet
std::unique_ptr< MMCTest::TrackInfo > m_InnerDet
Definition
TestMCASTTool.h:50
CP::TestMCASTTool::m_sgKey
std::string m_sgKey
Definition
TestMCASTTool.h:39
CP::TestMCASTTool::m_Combined
std::unique_ptr< MMCTest::TrackInfo > m_Combined
Definition
TestMCASTTool.h:49
CP::TestMCASTTool::TestMCASTTool
TestMCASTTool(const std::string &name, ISvcLocator *svcLoc)
Definition
TestMCASTTool.cxx:15
CP::TestMCASTTool::m_DebugFile
TFile * m_DebugFile
Definition
TestMCASTTool.h:46
CP::TestMCASTTool::finalize
virtual StatusCode finalize()
Definition
TestMCASTTool.cxx:139
CP::TestMCASTTool::m_SelCategoryRaw
int m_SelCategoryRaw
Definition
TestMCASTTool.h:48
CP::TestMCASTTool::m_sysList
std::vector< CP::SystematicSet > m_sysList
Definition
TestMCASTTool.h:44
CP::TestMCASTTool::m_MSOnlyExtr
std::unique_ptr< MMCTest::TrackInfo > m_MSOnlyExtr
Definition
TestMCASTTool.h:52
CP::TestMCASTTool::m_SelCategory
int m_SelCategory
Definition
TestMCASTTool.h:48
CP::TestMCASTTool::m_MCaSTool
ToolHandle< CP::IMuonCalibrationAndSmearingTool > m_MCaSTool
Definition
TestMCASTTool.h:41
CP::TestMCASTTool::m_MSExtr
std::unique_ptr< MMCTest::TrackInfo > m_MSExtr
Definition
TestMCASTTool.h:51
CP::TestMCASTTool::initialize
virtual StatusCode initialize()
Definition
TestMCASTTool.cxx:29
CP::TestMCASTTool::m_DebugTree
TTree * m_DebugTree
Definition
TestMCASTTool.h:47
CP::TestMCASTTool::m_sysNames
std::vector< std::string > m_sysNames
Definition
TestMCASTTool.h:43
CP::TestMCASTTool::m_Output
std::string m_Output
Definition
TestMCASTTool.h:37
CP::TestMCASTTool::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TestMCASTTool.cxx:66
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0