ATLAS Offline Software
Loading...
Searching...
No Matches
JetReclusteringAlgo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifdef ROOTCORE
6#ifndef JetReclustering_JetReclusteringAlgo_H
7#define JetReclustering_JetReclusteringAlgo_H
8
10
11#include <xAODRootAccess/Init.h>
14
15// reclustering
18
19class JetReclusteringAlgo : public EL::Algorithm
20{
21public:
22 std::string m_name = "GiordonStark",
23 m_inputJetContainer,
24 m_outputJetContainer,
25 m_rc_alg,
26 m_outputXAODName;
27 float m_radius = 1.0;
28 float m_ptMin_input = 25.0; // GeV
29 float m_ptMin_rc = 50.0; // GeV
30 float m_ptFrac = 0.05;
31 float m_subjet_radius = 0.2;
32 float m_varR_minR = -1.0;
33 float m_varR_mass = -1.0; // GeV
34 bool m_doArea = false;
35 std::string m_areaAttributes = "ActiveArea ActiveArea4vec";
36 bool m_debug = false;
37
38private:
39 /* For counting and statistics */
40 xAOD::TEvent *m_event;
41 xAOD::TStore *m_store;
42
43 asg::AnaToolHandle<IJetExecuteTool> m_jetReclusteringTool;
44
45public:
46 // this is a standard constructor
47 JetReclusteringAlgo ();
48
49 // these are the functions inherited from Algorithm
50 virtual EL::StatusCode setupJob (EL::Job& job);
51 virtual EL::StatusCode fileExecute ();
53 virtual EL::StatusCode changeInput (bool firstFile);
54 virtual EL::StatusCode initialize ();
55 virtual EL::StatusCode execute ();
56 virtual EL::StatusCode postExecute ();
57 virtual EL::StatusCode finalize ();
59
60 // this is needed to distribute the algorithm to the workers
61 ClassDef(JetReclusteringAlgo, 1);
62};
63
64#endif
65#endif // ROOTCORE
virtual StatusCode postExecute()
effects: do the post-processing for the event guarantee: basic failures: algorithm dependent rational...
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent
virtual StatusCode finalize()
effects: do everything that needs to be done after completing work on this worker guarantee: basic fa...
virtual StatusCode histInitialize()
effects: this is a pre-initialization routine that is called before changeInput is called.
virtual StatusCode changeInput(bool firstFile)
effects: do all changes to work with a new input file, e.g.
virtual StatusCode setupJob(Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
ClassDef(Algorithm, 1)
virtual StatusCode histFinalize()
effects: this is a post-initialization routine that is called after finalize has been called.
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
virtual StatusCode fileExecute()
effects: do all the processing that needs to be done once per file
::StatusCode StatusCode
StatusCode definition for legacy code.