ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysisExample
TrigInDetAnalysisExample
AnalysisConfigMT_Ntuple.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
18
#ifndef TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
19
#define TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
20
21
#include "
TrigInDetAnalysisExample/AnalysisConfig_Ntuple.h
"
22
23
24
class
AnalysisConfigMT_Ntuple
:
public
AnalysisConfig_Ntuple
{
25
26
public
:
27
28
// Full constructor: test/reference/selection
29
// - analysisInstanceName: the name of the analysis chain being created
30
// - xxxChainName: the name of the chain to be used as test/reference/selection; must be "StoreGate" in case of direct access to SG containers
31
// - xxxType: the type of tracks to be retrieved from the test/reference/selection chain or container
32
// - xxxKey: the key for tracks to be retrieved from the test/reference/selection chain or container
33
// - all standard operations are performed in loops over 0=test 1=reference 2=selection
34
35
AnalysisConfigMT_Ntuple
(
const
std::vector<std::string>& chainNames, std::string
outputFileName
=
"TrkNtuple.root"
,
36
double
tauEtCutOffline=0.0,
int
TruthPdgId = 0,
bool
keepAllEvents_=
false
,
int
parentTruthId = 0 ) :
37
AnalysisConfig_Ntuple
( chainNames,
outputFileName
, tauEtCutOffline, TruthPdgId, keepAllEvents_ , parentTruthId),
38
m_fiducial_radius
(47),
39
m_ptmin
(1000)
40
{ }
41
42
virtual
~AnalysisConfigMT_Ntuple
() { }
43
44
void
set_fiducial_radius
(
double
d
) {
m_fiducial_radius
=
d
; }
45
void
set_ptmin
(
double
d
) {
m_ptmin
=
d
; }
46
47
protected
:
48
49
virtual
void
loop
();
50
51
private
:
52
53
std::set<std::string>
get_configured_chains
();
54
55
double
m_fiducial_radius
;
56
double
m_ptmin
;
57
58
};
59
60
61
#endif // TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
62
AnalysisConfigMT_Ntuple::set_ptmin
void set_ptmin(double d)
Definition:
AnalysisConfigMT_Ntuple.h:45
AnalysisConfigMT_Ntuple::get_configured_chains
std::set< std::string > get_configured_chains()
Definition:
AnalysisConfigMT_Ntuple.cxx:43
hist_file_dump.d
d
Definition:
hist_file_dump.py:137
AnalysisConfigMT_Ntuple
Definition:
AnalysisConfigMT_Ntuple.h:24
AnalysisConfig_Ntuple.h
AnalysisConfigMT_Ntuple::loop
virtual void loop()
Definition:
AnalysisConfigMT_Ntuple.cxx:97
AnalysisConfigMT_Ntuple::~AnalysisConfigMT_Ntuple
virtual ~AnalysisConfigMT_Ntuple()
Definition:
AnalysisConfigMT_Ntuple.h:42
AnalysisConfigMT_Ntuple::set_fiducial_radius
void set_fiducial_radius(double d)
Definition:
AnalysisConfigMT_Ntuple.h:44
AnalysisConfigMT_Ntuple::m_fiducial_radius
double m_fiducial_radius
Definition:
AnalysisConfigMT_Ntuple.h:55
AnalysisConfigMT_Ntuple::m_ptmin
double m_ptmin
Definition:
AnalysisConfigMT_Ntuple.h:56
AnalysisConfigMT_Ntuple::AnalysisConfigMT_Ntuple
AnalysisConfigMT_Ntuple(const std::vector< std::string > &chainNames, std::string outputFileName="TrkNtuple.root", double tauEtCutOffline=0.0, int TruthPdgId=0, bool keepAllEvents_=false, int parentTruthId=0)
Definition:
AnalysisConfigMT_Ntuple.h:35
AthenaPoolExample_Copy.outputFileName
string outputFileName
Definition:
AthenaPoolExample_Copy.py:40
AnalysisConfig_Ntuple
Definition:
AnalysisConfig_Ntuple.h:32
Generated on Thu Nov 7 2024 21:09:58 for ATLAS Offline Software by
1.8.18