ATLAS Offline Software
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>
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);
20 
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,
40  void print();
41 };
42 
43 #endif // INDETALIGNGENALGS_SIDISTWRITEALG_H
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::m_pixid
const PixelID * m_pixid
Definition: SiDistWriteAlg.h:27
SiDistWriteAlg::m_par_distkey
std::string m_par_distkey
Definition: SiDistWriteAlg.h:34
Identifier32::value_type
unsigned int value_type
Definition: Identifier32.h:33
SiDistWriteAlg::m_sctid
const SCT_ID * m_sctid
Definition: SiDistWriteAlg.h:28
SiDistWriteAlg::execute
StatusCode execute()
Definition: SiDistWriteAlg.cxx:67
SiDistWriteAlg::m_first
bool m_first
Definition: SiDistWriteAlg.h:29
xAOD::identifier
identifier
Definition: UncalibratedMeasurement_v1.cxx:15
AthAlgorithm.h
SiDistWriteAlg::SiDistWriteAlg
SiDistWriteAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SiDistWriteAlg.cxx:17
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SiDistWriteAlg::makeIdent
bool makeIdent(const std::string &ident, const Identifier32::value_type identhash, Identifier &identifier)
Definition: SiDistWriteAlg.cxx:131
AthAlgorithm
Definition: AthAlgorithm.h:47
SiDistWriteAlg::m_par_size
int m_par_size
Definition: SiDistWriteAlg.h:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SiDistWriteAlg::m_par_readfile
std::string m_par_readfile
Definition: SiDistWriteAlg.h:33
TRT::Hit::ident
@ ident
Definition: HitInfo.h:77
SCT_ID
Definition: SCT_ID.h:68
SiDistWriteAlg::print
void print()
Definition: SiDistWriteAlg.cxx:159
SiDistWriteAlg::initialize
StatusCode initialize()
Definition: SiDistWriteAlg.cxx:38
SiDistWriteAlg
Definition: SiDistWriteAlg.h:16
SiDistWriteAlg::finalize
StatusCode finalize()
Definition: SiDistWriteAlg.cxx:63
PixelID
Definition: PixelID.h:67