forked from UCATLAS/xAODAnaHelpers
/
JetHistsAlgo.h
39 lines (29 loc) · 1021 Bytes
/
JetHistsAlgo.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
#ifndef xAODAnaHelpers_JetHistsAlgo_H
#define xAODAnaHelpers_JetHistsAlgo_H
#include "xAODAnaHelpers/IParticleHistsAlgo.h"
// algorithm wrapper
#include "xAODAnaHelpers/Algorithm.h"
class JetHistsAlgo : public IParticleHistsAlgo
{
// put your configuration variables here as public variables.
// that way they can be set directly from CINT and python.
public:
// variables that don't get filled at submission time should be
// protected from being send from the submission node to the worker
// node (done by the //!)
public:
// Tree *myTree; //!
// TH1 *myHist; //!
// this is a standard constructor
JetHistsAlgo ();
// these are the functions inherited from Algorithm
virtual EL::StatusCode setupJob (EL::Job& job);
virtual EL::StatusCode execute ();
// these are the functions not inherited from Algorithm
EL::StatusCode AddHists( std::string name );
/// @cond
// this is needed to distribute the algorithm to the workers
ClassDef(JetHistsAlgo, 1);
/// @endcond
};
#endif