ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetAlignAlgs
InDetAlignGenAlgs
InDetAlignGenAlgs
SiDistWriteAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETALIGNGENALGS_SIDISTWRITEALG_H
6
#define INDETALIGNGENALGS_SIDISTWRITEALG_H
7
8
#include <string>
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
11
#include "Identifier/Identifier.h"
12
13
class
PixelID
;
14
class
SCT_ID
;
15
16
class
SiDistWriteAlg
:
public
AthAlgorithm
{
17
public
:
18
SiDistWriteAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
19
~SiDistWriteAlg
();
20
21
StatusCode
initialize
();
22
StatusCode
execute
(
const
EventContext& ctx);
23
StatusCode
finalize
();
24
25
private
:
26
27
const
PixelID
*
m_pixid
;
28
const
SCT_ID
*
m_sctid
;
29
bool
m_first
;
// first event flag
30
// parameters
31
bool
m_par_print
;
// flag to print out information
32
int
m_par_size
;
// size of distortion array
33
std::string
m_par_readfile
;
// text file to read for information
34
std::string
m_par_distkey
;
// SG key for distortion information
35
36
// private methods
37
bool
readFile
();
38
bool
makeIdent
(
const
std::string& ident,
39
const
Identifier32::value_type
identhash,
Identifier
& identifier);
40
void
print
();
41
};
42
43
#endif
// INDETALIGNGENALGS_SIDISTWRITEALG_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Identifier32::value_type
unsigned int value_type
Definition
Identifier32.h:31
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SiDistWriteAlg::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
SiDistWriteAlg.cxx:67
SiDistWriteAlg::m_par_readfile
std::string m_par_readfile
Definition
SiDistWriteAlg.h:33
SiDistWriteAlg::print
void print()
Definition
SiDistWriteAlg.cxx:159
SiDistWriteAlg::m_sctid
const SCT_ID * m_sctid
Definition
SiDistWriteAlg.h:28
SiDistWriteAlg::makeIdent
bool makeIdent(const std::string &ident, const Identifier32::value_type identhash, Identifier &identifier)
Definition
SiDistWriteAlg.cxx:131
SiDistWriteAlg::m_par_distkey
std::string m_par_distkey
Definition
SiDistWriteAlg.h:34
SiDistWriteAlg::m_pixid
const PixelID * m_pixid
Definition
SiDistWriteAlg.h:27
SiDistWriteAlg::finalize
StatusCode finalize()
Definition
SiDistWriteAlg.cxx:63
SiDistWriteAlg::readFile
bool readFile()
Definition
SiDistWriteAlg.cxx:76
SiDistWriteAlg::~SiDistWriteAlg
~SiDistWriteAlg()
Definition
SiDistWriteAlg.cxx:35
SiDistWriteAlg::m_par_print
bool m_par_print
Definition
SiDistWriteAlg.h:31
SiDistWriteAlg::SiDistWriteAlg
SiDistWriteAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SiDistWriteAlg.cxx:17
SiDistWriteAlg::m_par_size
int m_par_size
Definition
SiDistWriteAlg.h:32
SiDistWriteAlg::m_first
bool m_first
Definition
SiDistWriteAlg.h:29
SiDistWriteAlg::initialize
StatusCode initialize()
Definition
SiDistWriteAlg.cxx:38
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0