 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETALIGNGENTOOLS_ALIGNDBTOOL_H
6 #define INDETALIGNGENTOOLS_ALIGNDBTOOL_H
36 #include "GaudiKernel/ServiceHandle.h"
41 #include "GaudiKernel/ToolHandle.h"
48 class PixelDetectorManager;
49 class SCT_DetectorManager;
50 class SiDetectorManager;
66 virtual void createDB()
const override;
81 const int ring,
const int sector,
82 const float rphidisp,
const float rdisp,
const float zdisp,
83 const int syst,
const int level,
const int skip)
const override;
88 virtual void writeFile(
const bool ntuple,
const std::string&
file)
const override;
110 int&
det,
int&
bec,
int&
layer,
int& ring,
int& sector,
int&
side)
const override;
115 virtual std::string
dirkey(
const int,
const int,
const int,
const int)
const override;
116 virtual std::string
dirkey(
const int,
const int,
const int,
const int,
const int)
const override;
117 virtual std::string
DBMkey(
const int,
const int,
const int,
const int)
const override;
140 virtual bool tweakIBLDist(
const int,
const float)
const override;
165 virtual void fillDB(
const std::string&
tag,
166 const unsigned int run1,
const unsigned int event1,
167 const unsigned int run2,
const unsigned int event2)
const override;
185 bool m_dynamicDB{
false};
195 Gaudi::Property<bool> m_par_newdb{
this,
"NewDB",
true,
"create database using new (collection) format"};
196 Gaudi::Property<bool> m_par_scttwoside{
this,
"SCTTwoSide",
false,
"create structures with separated SCT module sides"};
197 Gaudi::Property<int> m_par_fake{
this,
"FakeDB", 0,
"set to 1 to fake full ATLAS geom, 2 to fake CTB geom"};
198 ToolHandle<IAthenaOutputStreamTool> m_par_condstream{
this,
"CondStream",
"AthenaOutputStreamTool/AthenaOutputStreamTool"};
201 Gaudi::Property<std::string> m_par_dbroot{
this,
"DBRoot",
"/Indet/Align",
"Root folder for alignment" };
202 Gaudi::Property<bool> m_par_oldTextFile{
this,
"OldTextFile",
false,
"Input text file using old format"};
203 Gaudi::Property<bool> m_forceUserDBConfig{
this,
"forceUserDBConfig",
false,
"Set to true to override any DB auto-configuration"};
204 Gaudi::Property<std::string> m_pixmanName{
this,
"PixelManager",
"Pixel",
"Pixel manager name" };
205 Gaudi::Property<std::string> m_sctmanName{
this,
"SCT_Manager",
"SCT",
"SCT manager name" };
206 Gaudi::Property<bool> m_doPix{
this,
"AlignPixel",
true,
"Include Pixel" };
207 Gaudi::Property<bool> m_doStrip{
this,
"AlignStrip",
true,
"Include SCT/ITkStrip" };
211 void fakeGeom(
const int nbpix,
const int necpix,
212 const int nbsct,
const int necsct);
215 #endif // INDETALIGNGENTOOLS_ALIGNDBTOOL_H
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
def createDB(folder, sqlite, currents)
This class is a collection of AttributeLists where each one is associated with a channel number....
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Define macros for attributes used to control the static checker.