forked from UCATLAS/xAODAnaHelpers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HLTJetGetter.h
68 lines (50 loc) · 1.7 KB
/
HLTJetGetter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/******************************************
*
* This class gets HLT jets from the TDT and can be expanded to get other features
*
* Merlin Davies (merlin.davies@cern.ch)
* Caterina Doglioni (caterina.doglioni@cern.ch)
* John Alison (john.alison@cern.ch)
*
*
******************************************/
#ifndef xAODAnaHelpers_HLTJetGetter_H
#define xAODAnaHelpers_HLTJetGetter_H
// algorithm wrapper
#include "xAODAnaHelpers/Algorithm.h"
namespace TrigConf {
class xAODConfigTool;
}
namespace Trig {
class TrigDecisionTool;
}
class HLTJetGetter : public xAH::Algorithm
{
public:
/* configuration variables */
std::string m_triggerList; // List of triggers whose features will be extracted from TDT
std::string m_inContainerName; // input container name, WITHOUT the HLT_xAOD__JetContainer_ prefix
std::string m_outContainerName; // output container name
private:
Trig::TrigDecisionTool* m_trigDecTool; //!
TrigConf::xAODConfigTool* m_trigConfTool; //!
bool m_ownTDTAndTCT; //!
public:
// this is a standard constructor
HLTJetGetter (std::string className = "HLTJetGetter");
// these are the functions inherited from Algorithm
virtual EL::StatusCode setupJob (EL::Job& job);
virtual EL::StatusCode fileExecute ();
virtual EL::StatusCode histInitialize ();
virtual EL::StatusCode changeInput (bool firstFile);
virtual EL::StatusCode initialize ();
virtual EL::StatusCode execute ();
virtual EL::StatusCode postExecute ();
virtual EL::StatusCode finalize ();
virtual EL::StatusCode histFinalize ();
/// @cond
// this is needed to distribute the algorithm to the workers
ClassDef(HLTJetGetter, 1);
/// @endcond
};
#endif