5#ifndef INDETALIGNGENTOOLS_ALIGNDBTOOL_H
6#define INDETALIGNGENTOOLS_ALIGNDBTOOL_H
35#include "GaudiKernel/ServiceHandle.h"
40#include "GaudiKernel/ToolHandle.h"
58 const IInterface* parent);
62 virtual StatusCode
finalize()
override;
67 virtual void createDB()
const override;
81 virtual void dispGroup(
const int dettype,
const int bec,
const int layer,
82 const int ring,
const int sector,
83 const float rphidisp,
const float rdisp,
const float zdisp,
84 const int syst,
const int level,
const int skip)
const override;
89 virtual void writeFile(
const bool ntuple,
const std::string&
file)
const override;
111 int& det,
int& bec,
int& layer,
int& ring,
int& sector,
int& side)
const override;
116 virtual std::string
dirkey(
const int,
const int,
const int,
const int)
const override;
117 virtual std::string
dirkey(
const int,
const int,
const int,
const int,
const int)
const override;
118 virtual std::string
DBMkey(
const int,
const int,
const int,
const int)
const override;
127 const Amg::Vector3D& translate,
double alpha,
double beta,
double gamma)
const override;
138 const Amg::Vector3D& translate,
double alpha,
double beta,
double gamma)
const override;
141 virtual bool tweakIBLDist(
const int,
const float)
const override;
166 virtual void fillDB(
const std::string& tag,
167 const unsigned int run1,
const unsigned int event1,
168 const unsigned int run2,
const unsigned int event2)
const override;
171 virtual void printDB(
const int level)
const override;
178 double& alpha,
double& beta,
double &gamma)
const override;
196 Gaudi::Property<bool>
m_par_newdb{
this,
"NewDB",
true,
"create database using new (collection) format"};
197 Gaudi::Property<bool>
m_par_scttwoside{
this,
"SCTTwoSide",
false,
"create structures with separated SCT module sides"};
198 Gaudi::Property<int>
m_par_fake{
this,
"FakeDB", 0,
"set to 1 to fake full ATLAS geom, 2 to fake CTB geom"};
199 ToolHandle<IAthenaOutputStreamTool>
m_par_condstream{
this,
"CondStream",
"AthenaOutputStreamTool/AthenaOutputStreamTool"};
202 Gaudi::Property<std::string>
m_par_dbroot{
this,
"DBRoot",
"/Indet/Align",
"Root folder for alignment" };
203 Gaudi::Property<bool>
m_par_oldTextFile{
this,
"OldTextFile",
false,
"Input text file using old format"};
204 Gaudi::Property<bool>
m_forceUserDBConfig{
this,
"forceUserDBConfig",
false,
"Set to true to override any DB auto-configuration"};
205 Gaudi::Property<std::string>
m_pixmanName{
this,
"PixelManager",
"Pixel",
"Pixel manager name" };
206 Gaudi::Property<std::string>
m_sctmanName{
this,
"SCT_Manager",
"SCT",
"SCT manager name" };
207 Gaudi::Property<bool>
m_doPix{
this,
"AlignPixel",
true,
"Include Pixel" };
208 Gaudi::Property<bool>
m_doStrip{
this,
"AlignStrip",
true,
"Include SCT/ITkStrip" };
212 void fakeGeom(
const int nbpix,
const int necpix,
213 const int nbsct,
const int necsct);
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
This class is a collection of AttributeLists where each one is associated with a channel number.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
Base class for Pixel and SCT Detector managers.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D