ATLAS Offline Software
Loading...
Searching...
No Matches
AnalysisConfigMT_Ntuple.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
16
17
18#ifndef TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
19#define TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
20
22
23
25
26public:
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, const 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),
39 m_ptmin(1000)
40 { }
41
43
44 void set_fiducial_radius( double d ) { m_fiducial_radius = d; }
45 void set_ptmin( double d ) { m_ptmin = d; }
46
47protected:
48
49 virtual void loop();
50
51private:
52
53 std::set<std::string> get_configured_chains();
54
56 double m_ptmin;
57
58};
59
60
61#endif // TrigInDetAnalysisExample_AnalysisConfigMT_Ntuple_H
62
static const std::string outputFileName
AnalysisConfigMT_Ntuple(const std::vector< std::string > &chainNames, const std::string &outputFileName="TrkNtuple.root", double tauEtCutOffline=0.0, int TruthPdgId=0, bool keepAllEvents_=false, int parentTruthId=0)
std::set< std::string > get_configured_chains()
AnalysisConfig_Ntuple(const std::vector< std::string > &chainNames, const std::string &outputFileName="TrkNtuple.root", double tauEtCutOffline=0.0, int TruthPdgId=0, bool keepAllEvents=false, int parentTruthPdgId=0)