ATLAS Offline Software
D3PDConverter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArSamples_D3PDConverter_H
11 #define LArSamples_D3PDConverter_H
12 
15 
16 class TString;
17 
18 #include <map>
19 
20 
21 namespace LArSamples {
22  class Interface;
23 
24 
26  {
27 
28  public:
29 
31  D3PDConverter(TTree& tree, const TString& templateFile, const TString& translatorFile)
32  : CaloD3PDClass(&tree) { initMapping(templateFile, translatorFile); }
33 
34  virtual ~D3PDConverter() { }
35 
36  bool makeSamplesTuple(const TString& outputFileName);
37 
38  bool initMapping(const TString& templateFile, const TString& translatorFile);
39 
40  std::map<unsigned int, unsigned int> m_id2hash;
42  };
43 }
44 
45 #endif
LArSamples::D3PDConverter::~D3PDConverter
virtual ~D3PDConverter()
Definition: D3PDConverter.h:34
LArSamples::D3PDConverter::D3PDConverter
D3PDConverter(TTree &tree, const TString &templateFile, const TString &translatorFile)
Constructor
Definition: D3PDConverter.h:31
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
CaloD3PDClass.h
LArSamples::D3PDConverter
storage of the time histories of all the cells
Definition: D3PDConverter.h:26
tree
TChain * tree
Definition: tile_monitor.h:30
Interface
CaloD3PDClass
Definition: CaloD3PDClass.h:25
LArSamples
Definition: AbsShape.h:24
LArSamples::Interface
Definition: Interface.h:36
LArSamples::D3PDConverter::m_template
Interface * m_template
Definition: D3PDConverter.h:41
checker_macros.h
Define macros for attributes used to control the static checker.
AthenaPoolExample_Copy.outputFileName
string outputFileName
Definition: AthenaPoolExample_Copy.py:40
LArSamples::D3PDConverter::m_id2hash
std::map< unsigned int, unsigned int > m_id2hash
Definition: D3PDConverter.h:40