Tool_TauConstituentGetter.h 1.9 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
/*
  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/

#ifndef PANTAUALGS_TOOL_TAUCONSTITUENTGETTER
#define PANTAUALGS_TOOL_TAUCONSTITUENTGETTER

#include <map>
#include <vector>
#include <string>

12
13
14
15
16
17
18
19
//! ASG
#include "AsgTools/AsgTool.h"
#include "AsgTools/ToolHandle.h"

#include "PanTauAlgs/HelperFunctions.h"
#include "PanTauAlgs/ITool_InformationStore.h"
#include "PanTauAlgs/ITool_TauConstituentGetter.h"
#include "PanTauAlgs/ITool_InputConverter.h"
20
21
22
23

//! xAOD EDM
#include "xAODTau/TauJet.h"

24
25
26
//namespace Analysis {
//    class TauJet;
//}
27
28

namespace PanTau {
29
    class TauConstituent2;
30
31
32
33
34
35
36
37
}





namespace PanTau {

38
class Tool_TauConstituentGetter : public asg::AsgTool, virtual public PanTau::ITool_TauConstituentGetter  {
39
        
40
41
    ASG_TOOL_CLASS1(Tool_TauConstituentGetter, PanTau::ITool_TauConstituentGetter)

42
43
    public:
        
44
        Tool_TauConstituentGetter(const std::string &name);
45
46
47
48
49
50
51
        virtual ~Tool_TauConstituentGetter ();
        
        virtual StatusCode initialize();
//         virtual StatusCode finalize();
        
        virtual StatusCode GetTauConstituents(//const Analysis::TauJet*,
                                              const xAOD::TauJet* tauJet,
52
                                              std::vector<TauConstituent2*>& outputList,
53
54
55
56
57
58
                                              std::string algName) const;
        
        
    protected:
        
        //member variables 
59
        PanTau::HelperFunctions   m_HelperFunctions;
60
61
        ToolHandle<PanTau::ITool_InformationStore>  m_Tool_InformationStore;
        ToolHandle<PanTau::ITool_InputConverter>    m_Tool_InputConverter;
62
63
64
65
66
67
68
69

	std::string m_Tool_InformationStoreName;
	std::string m_Tool_InputConverterName;


	bool m_init=false;
  public:
	inline bool isInitialized(){return m_init;}
70
71
72
73
74
75
76
77
78
        
    }; //end class ConstituentGetter


}//end namespace PanTau




79
#endif // PANTAUALGS_TOOL_TAUCONSTITUENTGETTER