ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsAlgorithms
src
PixeldEdxAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
10
11
12
#ifndef PIXELDEDXALG_H
13
#define PIXELDEDXALG_H
14
15
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
16
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
19
20
#include "
StoreGate/WriteCondHandleKey.h
"
21
#include "
PixelConditionsData/PixeldEdxData.h
"
22
23
#include "
InDetIdentifier/PixelID.h
"
24
25
#include "Gaudi/Property.h"
26
27
class
PixeldEdxAlg
:
public
AthCondAlgorithm
{
28
public
:
29
PixeldEdxAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
virtual
~PixeldEdxAlg
() =
default
;
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
34
35
private
:
36
37
const
PixelID
*
m_pixelID
{};
38
39
Gaudi::Property<std::string>
m_filename
40
{
this
,
"CalibrationFile"
,
"mcpar_signed_234.txt"
,
"Read dEdx from this file"
};
41
42
Gaudi::Property<bool>
m_readfromcool
43
{
this
,
"ReadFromCOOL"
,
false
,
"Read from COOL database"
};
44
45
Gaudi::Property<double>
m_mindedxformass
46
{
this
,
"MinimumdEdxForMass"
, 1.8,
"Minimum dEdx for mass"
};
47
48
SG::ReadCondHandleKey<AthenaAttributeList>
m_readKey
49
{
this
,
"ReadKey"
,
"/PIXEL/PixdEdx"
,
"Input readout folder"
};
50
51
SG::WriteCondHandleKey<PixeldEdxData>
m_writeKey
52
{
this
,
"WriteKey"
,
"PixeldEdxData"
,
"Output data"
};
53
54
};
55
56
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
AthenaAttributeList.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
PixeldEdxData.h
Store pixel dEdx data in PixeldEdxData.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
PixeldEdxAlg::m_readfromcool
Gaudi::Property< bool > m_readfromcool
Definition
PixeldEdxAlg.h:43
PixeldEdxAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
PixeldEdxAlg.cxx:28
PixeldEdxAlg::m_filename
Gaudi::Property< std::string > m_filename
Definition
PixeldEdxAlg.h:40
PixeldEdxAlg::initialize
virtual StatusCode initialize() override
Definition
PixeldEdxAlg.cxx:17
PixeldEdxAlg::m_pixelID
const PixelID * m_pixelID
Definition
PixeldEdxAlg.h:37
PixeldEdxAlg::m_mindedxformass
Gaudi::Property< double > m_mindedxformass
Definition
PixeldEdxAlg.h:46
PixeldEdxAlg::m_readKey
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
Definition
PixeldEdxAlg.h:49
PixeldEdxAlg::m_writeKey
SG::WriteCondHandleKey< PixeldEdxData > m_writeKey
Definition
PixeldEdxAlg.h:52
PixeldEdxAlg::~PixeldEdxAlg
virtual ~PixeldEdxAlg()=default
PixeldEdxAlg::PixeldEdxAlg
PixeldEdxAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PixeldEdxAlg.cxx:14
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0