5#ifndef INDETALIGNGENTOOLS_ALIGNDBTOOL_H
6#define INDETALIGNGENTOOLS_ALIGNDBTOOL_H
36#include "GaudiKernel/ServiceHandle.h"
41#include "GaudiKernel/ToolHandle.h"
57 const IInterface* parent);
61 virtual StatusCode
finalize()
override;
66 virtual void createDB()
const override;
80 virtual void dispGroup(
const int dettype,
const int bec,
const int layer,
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;
126 const Amg::Vector3D& translate,
double alpha,
double beta,
double gamma)
const override;
137 const Amg::Vector3D& translate,
double alpha,
double beta,
double gamma)
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;
170 virtual void printDB(
const int level)
const override;
177 double& alpha,
double& beta,
double &gamma)
const override;
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);
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