ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
19
22
24
25#include "Gaudi/Property.h"
26
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
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
49 {this, "ReadKey", "/PIXEL/PixdEdx", "Input readout folder"};
50
52 {this, "WriteKey", "PixeldEdxData", "Output data"};
53
54};
55
56#endif
Base class for conditions algorithms.
This is an Identifier helper class for the Pixel subdetector.
Store pixel dEdx data in PixeldEdxData.
Base class for conditions algorithms.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:69
Gaudi::Property< bool > m_readfromcool
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::string > m_filename
virtual StatusCode initialize() override
const PixelID * m_pixelID
Gaudi::Property< double > m_mindedxformass
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
SG::WriteCondHandleKey< PixeldEdxData > m_writeKey
virtual ~PixeldEdxAlg()=default
PixeldEdxAlg(const std::string &name, ISvcLocator *pSvcLocator)