ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_Raw2Digi.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef RAW2DIGI_RAW2DIGI_H
7#define RAW2DIGI_RAW2DIGI_H 1
8
10#include "GaudiKernel/ITHistSvc.h"
11#include "GaudiKernel/ToolHandle.h" //included under assumption you'll want to use some tools! Remove if you don't!
12
13
15
16#include <iostream>
17#include <string>
18
20public:
21 AFP_Raw2Digi(const std::string &name, ISvcLocator *pSvcLocator);
22
24 virtual ~AFP_Raw2Digi();
25
26 virtual StatusCode initialize();
27
29 virtual StatusCode execute(const EventContext &ctx) const;
30 virtual StatusCode finalize();
31
32private:
33 ToolHandle<IAFP_Raw2DigiTool> m_DigiTool{this, "AFP_Raw2DigiTool", "AFP_Raw2DigiTool", "Tool to translate RawData to xAOD"};
34};
35
36#endif //> !RAW2DIGI_RAW2DIGI_H
Header file for interface IAFP_Raw2DigiTool.
ToolHandle< IAFP_Raw2DigiTool > m_DigiTool
virtual StatusCode execute(const EventContext &ctx) const
Executes commands in m_digitool.
virtual StatusCode finalize()
virtual ~AFP_Raw2Digi()
Does nothing.
AFP_Raw2Digi(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize()
An algorithm that can be simultaneously executed in multiple threads.