ATLAS Offline Software
TileGeoG4DMLookupBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //************************************************************
6 //
7 // Class building look-up tables for TileGeoG4CalibSD
8 //
9 // Author: Gia Khoriauli <gia.khoriauli@cern.ch>
10 //
11 // May, 2005
12 //
13 //************************************************************
14 
15 #ifndef TILEGEOG4CALIB_TILEGEOG4DMLOOKUPBUILDER_H
16 #define TILEGEOG4CALIB_TILEGEOG4DMLOOKUPBUILDER_H
17 
20 #include "TileCalibDddbManager.h"
21 
22 #include <map>
23 #include <string>
24 
26 class TileGeoG4LookupBuilder;
27 
28 #include "GaudiKernel/ServiceHandle.h"
29 class IRDBAccessSvc;
30 class IGeoModelSvc;
31 class StoreGateSvc;
32 
34 public:
35  TileGeoG4DMLookupBuilder(TileGeoG4LookupBuilder* tile_lookup_builder, ServiceHandle<IRDBAccessSvc> &access,
37  const int verboseLevel);
39 
40  void BuildLookup(bool test_beam = false, int plateToCell = -1);
41  void ResetCells();
44 
45  //Geometry constans fo DH calculator
46  double rBMin, rBMax;
49  double zLegngthITC;
51  double rGirdMin;
52  double dRFront;
53  double dZEnd, dZEndSh;
54 
56 
57 private:
58 
61 
63  std::less<TileCalibDddbManager::TileCalibSections> > TileGeoG4CalibSectionMap;
64 
65  void CreateGeoG4CalibSections(bool is_ctb, int plateToCell);
66 
68  TileGeoG4LookupBuilder* m_lookup_builder;
70 
73 
75 
77 };
78 
79 #endif // TILEGEOG4CALIB_TILEGEOG4DMLOOKUPBUILDER_H
TileGeoG4DMLookupBuilder::TileGeoG4CalibSectionMap
std::map< TileCalibDddbManager::TileCalibSections, TileGeoG4CalibSection *, std::less< TileCalibDddbManager::TileCalibSections > > TileGeoG4CalibSectionMap
Definition: TileGeoG4DMLookupBuilder.h:63
TileGeoG4DMLookupBuilder::rP1Min
double rP1Min
Definition: TileGeoG4DMLookupBuilder.h:55
TileGeoG4DMLookupBuilder::m_lookup_builder
TileGeoG4LookupBuilder * m_lookup_builder
Definition: TileGeoG4DMLookupBuilder.h:68
IGeoModelSvc
Definition: IGeoModelSvc.h:17
TileGeoG4DMLookupBuilder::m_dbManager
TileCalibDddbManager * m_dbManager
Definition: TileGeoG4DMLookupBuilder.h:67
TileGeoG4DMLookupBuilder::zBarrMaxNeg
double zBarrMaxNeg
Definition: TileGeoG4DMLookupBuilder.h:47
TileGeoG4DMLookupBuilder::rCrMax
double rCrMax
Definition: TileGeoG4DMLookupBuilder.h:55
TileCalibDddbManager
Definition: TileCalibDddbManager.h:24
TileGeoG4DMLookupBuilder::dZEnd
double dZEnd
Definition: TileGeoG4DMLookupBuilder.h:53
TileGeoG4DMLookupBuilder::~TileGeoG4DMLookupBuilder
~TileGeoG4DMLookupBuilder()
TileGeoG4DMLookupBuilder::rGirdMin
double rGirdMin
Definition: TileGeoG4DMLookupBuilder.h:51
TileDetDescrManager.h
TileGeoG4DMLookupBuilder::TileGeoG4DMLookupBuilder
TileGeoG4DMLookupBuilder(TileGeoG4LookupBuilder *tile_lookup_builder, ServiceHandle< IRDBAccessSvc > &access, ServiceHandle< IGeoModelSvc > &geo_svc, const ServiceHandle< StoreGateSvc > &pDetStore, const int verboseLevel)
TileGeoG4DMLookupBuilder::m_theManager
const TileDetDescrManager * m_theManager
Definition: TileGeoG4DMLookupBuilder.h:71
TileGeoG4DMLookupBuilder::dZEndSh
double dZEndSh
Definition: TileGeoG4DMLookupBuilder.h:53
TileGeoG4DMLookupBuilder::rP2Min
double rP2Min
Definition: TileGeoG4DMLookupBuilder.h:55
TileGeoG4DMLookupBuilder::zLegngthITC
double zLegngthITC
Definition: TileGeoG4DMLookupBuilder.h:49
TileGeoG4DMLookupBuilder::dzExtBarrPeriod
double dzExtBarrPeriod
Definition: TileGeoG4DMLookupBuilder.h:50
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
TileGeoG4DMLookupBuilder::m_tdbManager
TileDddbManager * m_tdbManager
Definition: TileGeoG4DMLookupBuilder.h:72
TileGeoG4DMLookupBuilder::TileGeoG4DMLookupBuilder
TileGeoG4DMLookupBuilder(const TileGeoG4DMLookupBuilder &)
TileGeoG4DMLookupBuilder::rCrMin
double rCrMin
Definition: TileGeoG4DMLookupBuilder.h:55
TileCalibDddbManager.h
TileGeoG4DMLookupBuilder::dzBarrPeriod
double dzBarrPeriod
Definition: TileGeoG4DMLookupBuilder.h:50
TileDetDescrManager
Definition: TileDetDescrManager.h:33
TileGeoG4DMLookupBuilder::m_sectionMap
TileGeoG4CalibSectionMap * m_sectionMap
Definition: TileGeoG4DMLookupBuilder.h:69
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
TileGeoG4DMLookupBuilder::m_verboseLevel
int m_verboseLevel
Definition: TileGeoG4DMLookupBuilder.h:74
TileGeoG4DMLookupBuilder
Definition: TileGeoG4DMLookupBuilder.h:33
TileCalibDddbManager::TileCalibSections
TileCalibSections
Definition: TileCalibDddbManager.h:31
TileGeoG4DMLookupBuilder::m_plateToCell
bool m_plateToCell
Definition: TileGeoG4DMLookupBuilder.h:76
python.dummyaccess.access
def access(filename, mode)
Definition: dummyaccess.py:18
TileGeoG4DMLookupBuilder::rGapMax
double rGapMax
Definition: TileGeoG4DMLookupBuilder.h:55
TileGeoG4DMLookupBuilder::dzExtBarrMod
double dzExtBarrMod
Definition: TileGeoG4DMLookupBuilder.h:48
TileGeoG4CalibSection
Definition: TileGeoG4DMLookup.h:71
TileGeoG4DMLookupBuilder::GetPlateToCell
bool GetPlateToCell()
TileGeoG4DMLookupBuilder::GetSection
TileGeoG4CalibSection * GetSection(TileCalibDddbManager::TileCalibSections key) const
TileGeoG4DMLookupBuilder::BuildLookup
void BuildLookup(bool test_beam=false, int plateToCell=-1)
TileGeoG4DMLookupBuilder::CreateGeoG4CalibSections
void CreateGeoG4CalibSections(bool is_ctb, int plateToCell)
TileGeoG4DMLookupBuilder::rGapMin
double rGapMin
Definition: TileGeoG4DMLookupBuilder.h:55
TileDddbManager.h
TileGeoG4DMLookupBuilder::rBMin
double rBMin
Definition: TileGeoG4DMLookupBuilder.h:46
TileGeoG4DMLookupBuilder::operator=
TileGeoG4DMLookupBuilder & operator=(const TileGeoG4DMLookupBuilder &)
TileGeoG4DMLookupBuilder::dzBarrMod
double dzBarrMod
Definition: TileGeoG4DMLookupBuilder.h:48
TileGeoG4DMLookupBuilder::zBarrMaxPos
double zBarrMaxPos
Definition: TileGeoG4DMLookupBuilder.h:47
TileGeoG4DMLookupBuilder::rBMax
double rBMax
Definition: TileGeoG4DMLookupBuilder.h:46
TileDddbManager
This class provides access to constants in the Geometry DB.
Definition: TileDddbManager.h:38
TileGeoG4DMLookupBuilder::ResetCells
void ResetCells()
TileGeoG4DMLookupBuilder::dRFront
double dRFront
Definition: TileGeoG4DMLookupBuilder.h:52
ServiceHandle< IRDBAccessSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37