ATLAS Offline Software
Loading...
Searching...
No Matches
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):
10#include "GaudiKernel/ToolHandle.h"
11
12// Local include(s):
16#include "TrackInfo.h"
17
18// Root include(s)
19#include "TFile.h"
20#include "TTree.h"
21
22namespace 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
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::unique_ptr< MMCTest::TrackInfo > m_InnerDet
std::string m_sgKey
std::unique_ptr< MMCTest::TrackInfo > m_Combined
TestMCASTTool(const std::string &name, ISvcLocator *svcLoc)
virtual StatusCode finalize()
std::vector< CP::SystematicSet > m_sysList
std::unique_ptr< MMCTest::TrackInfo > m_MSOnlyExtr
virtual StatusCode execute()
ToolHandle< CP::IMuonCalibrationAndSmearingTool > m_MCaSTool
std::unique_ptr< MMCTest::TrackInfo > m_MSExtr
virtual StatusCode initialize()
std::vector< std::string > m_sysNames
std::string m_Output
Select isolated Photons, Electrons and Muons.