ATLAS Offline Software
D3PDConverter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArSamples_D3PDConverter_H
11 #define LArSamples_D3PDConverter_H
12 
15 #include "TString.h"
17 
18 #include <map>
19 
20 namespace LArSamples {
21 
23  {
24 
25  public:
26 
28  D3PDConverter(TTree& tree, const TString& templateFile, const TString& translatorFile)
29  : CaloD3PDClass(&tree) { initMapping(templateFile, translatorFile); }
30 
31  virtual ~D3PDConverter() { }
32 
33  bool makeSamplesTuple(const TString& outputFileName);
34 
35  bool initMapping(const TString& templateFile, const TString& translatorFile);
36 
37  std::map<unsigned int, unsigned int> m_id2hash;
39  };
40 }
41 
42 #endif
LArSamples::D3PDConverter::~D3PDConverter
virtual ~D3PDConverter()
Definition: D3PDConverter.h:31
LArSamples::D3PDConverter::D3PDConverter
D3PDConverter(TTree &tree, const TString &templateFile, const TString &translatorFile)
Constructor
Definition: D3PDConverter.h:28
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:23
tree
TChain * tree
Definition: tile_monitor.h:30
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:38
checker_macros.h
Define macros for attributes used to control the static checker.
Interface.h
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:37