ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class PixelID;
14class SCT_ID;
15
17 public:
18 SiDistWriteAlg(const std::string& name, ISvcLocator* pSvcLocator);
20
21 StatusCode initialize();
22 StatusCode execute();
23 StatusCode finalize();
24
25private:
26
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
unsigned int value_type
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
StatusCode execute()
std::string m_par_readfile
const SCT_ID * m_sctid
bool makeIdent(const std::string &ident, const Identifier32::value_type identhash, Identifier &identifier)
std::string m_par_distkey
const PixelID * m_pixid
StatusCode finalize()
SiDistWriteAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()