ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_PixelIdentifier.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef AFP_CALIBRATION_AFP_PIXELIDENTIFIER_H
5#define AFP_CALIBRATION_AFP_PIXELIDENTIFIER_H
6
10
11// STL includes
12#include <string>
13#include <vector>
14#include <memory>
15#include <utility>
16
17// ROOT includes
18#include "TFile.h"
19#include "TH2F.h"
20
21
23public:
24 AFP_PixelIdentifier(const std::string& input_name="AFP_PixelHistoFiller.root",
25 const std::string& output_name="AFP_PixelIdentifier.root",
26 const std::vector<std::string>& pixelTools={"AFP_DeadPixel", "AFP_NoisyPixel"});
28
29 int execute();
30
31private:
32 std::unique_ptr<TFile> m_input_file;
33 std::unique_ptr<TFile> m_output_file;
34
35 static const int m_nStations=4;
36 static const int m_nLayers=4;
39
40 std::vector<TH2F> m_pixelHits[m_nStations][m_nLayers];
41
42 std::vector<std::string> m_pixelTools_names;
43 std::vector<std::unique_ptr<IAFP_GenericPixelTool>> m_pixelTools;
44};
45
46
47#endif // AFP_CALIBRATION_AFP_PIXELIDENTIFIER_H
~AFP_PixelIdentifier()=default
std::unique_ptr< TFile > m_output_file
AFP_PixelIdentifier(const std::string &input_name="AFP_PixelHistoFiller.root", const std::string &output_name="AFP_PixelIdentifier.root", const std::vector< std::string > &pixelTools={"AFP_DeadPixel", "AFP_NoisyPixel"})
static const int m_nStations
std::vector< TH2F > m_pixelHits[m_nStations][m_nLayers]
std::vector< std::string > m_pixelTools_names
std::unique_ptr< TFile > m_input_file
std::vector< std::unique_ptr< IAFP_GenericPixelTool > > m_pixelTools
static const int m_nLayers