ATLAS Offline Software
PsMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARG4BARREL_PsMap_h
6 #define LARG4BARREL_PsMap_h
7 
8 #include "CurrMap.h"
9 
10 #include <map>
11 #include <vector>
12 #include <string>
13 
14 typedef std::map<int, CurrMap*> curr_map;
15 
16 class PsMap {
17  public:
18  ~PsMap() = default;
19  static const PsMap* GetPsMap();
20  void Reset();
21  const CurrMap* GetMap (int module) const;
22  private:
23  PsMap();
25 
26 #ifdef LARG4_STAND_ALONE
27 public:
28  void SetDirectory(const std::string& dir) { m_directory = dir; }
29 private:
30  std::string m_directory{"/afs/cern.ch/atlas/offline/data/lar/calo_data"};
31 #endif
32 
33 };
34 #endif // LARG4BARREL_PsMap_h
CurrMap.h
curr_map
std::map< int, CurrMap * > curr_map
Definition: AccMap.h:14
PsMap::m_theMap
curr_map m_theMap
Definition: PsMap.h:24
python.PyAthena.module
module
Definition: PyAthena.py:131
PsMap::GetMap
const CurrMap * GetMap(int module) const
Definition: PsMap.cxx:55
CurrMap
Definition: CurrMap.h:10
PsMap::~PsMap
~PsMap()=default
PsMap::Reset
void Reset()
Definition: PsMap.cxx:46
beamspotman.dir
string dir
Definition: beamspotman.py:623
RCU::SetDirectory
bool SetDirectory(TObject *object, TDirectory *directory)
effects: set the directory this object is associated with returns: whether the object type actively k...
Definition: RootUtils.cxx:28
curr_map
std::map< int, CurrMap * > curr_map
Definition: PsMap.h:14
PsMap::PsMap
PsMap()
Definition: PsMap.cxx:12
PsMap
Definition: PsMap.h:16
PsMap::GetPsMap
static const PsMap * GetPsMap()
Definition: PsMap.cxx:40