ATLAS Offline Software
Loading...
Searching...
No Matches
LarEMSamplingFraction.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LAREMSAMPLINGFRACTION_H
6#define LAREMSAMPLINGFRACTION_H
7
8
16
21
22#include <vector>
23#include <string>
24#include "TTree.h"
25
26
28{
29
30 public:
31
32 LarEMSamplingFraction(const std::string& name, ISvcLocator* pSvcLocator);
33 virtual ~LarEMSamplingFraction();
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute() override;
36 virtual StatusCode finalize() override;
37
38 private:
39
42
43 bool m_docells{true};
44
45 int m_mc_pdg{0};
46 double m_mc_eta{0.};
47 double m_mc_phi{0.};
48 double m_mc_e{0.};
49 double m_mc_pt{0.};
50
51 std::vector<Long64_t>* m_cell_identifier{nullptr};
52 std::vector<float>* m_cell_energy_reco{nullptr};
53 std::vector<float>* m_cell_energy_active_total_corrected{nullptr};
54 std::vector<float>* m_cell_energy_active_total{nullptr};
55 std::vector<float>* m_cell_energy_inactive_total{nullptr};
56 std::vector<int>* m_cell_sampling{nullptr};
57 std::vector<float>* m_cell_eta{nullptr};
58 std::vector<float>* m_cell_phi{nullptr};
59
60 std::vector<float> *m_energy_reco{nullptr};
61 std::vector<float> *m_energy_hit{nullptr};
62
63 std::vector<float> *m_energy_inactive_total{nullptr};
64 std::vector<float> *m_energy_inactive_em{nullptr};
65 std::vector<float> *m_energy_inactive_nonem{nullptr};
66 std::vector<float> *m_energy_inactive_inv{nullptr};
67 std::vector<float> *m_energy_inactive_esc{nullptr};
68
69 std::vector<float> *m_energy_active_total_corrected{nullptr};
70 std::vector<float> *m_energy_active_total{nullptr};
71 std::vector<float> *m_energy_active_em{nullptr};
72 std::vector<float> *m_energy_active_nonem{nullptr};
73 std::vector<float> *m_energy_active_inv{nullptr};
74 std::vector<float> *m_energy_active_esc{nullptr};
75
76 TTree* m_mytree{nullptr};
77
78 std::vector<std::string> m_CalibrationHitContainerNames;
79
81 , "CaloDetDescrManager"
82 , "CaloDetDescrManager"
83 , "SG Key for CaloDetDescrManager in the Condition Store" };
84
85 const CaloCell_ID* m_calo_id{nullptr};
86
87 const TileID * m_tileID{nullptr};
88 const TileHWID* m_tileHWID{nullptr};
90
91 SG::ReadCondHandleKey<ILArfSampl> m_fSamplKey{this,"fSamplKey","LArfSamplSym","SG Key of LArfSampl object"};
92
97 "TileSamplingFraction", "TileSamplingFraction", "Input Tile sampling fraction"};
98
103 "TileCablingSvc", "TileCablingSvc", "Tile cabling service"};
104};
105
106#endif //> !LarEMSamplingFraction_H
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
std::vector< float > * m_energy_inactive_nonem
std::vector< float > * m_cell_eta
const TileCablingService * m_tileCabling
std::vector< float > * m_energy_active_total
std::vector< float > * m_energy_active_em
std::vector< float > * m_energy_active_inv
ServiceHandle< TileCablingSvc > m_tileCablingSvc
Name of Tile cabling service.
std::vector< float > * m_energy_active_esc
std::vector< int > * m_cell_sampling
SG::ReadCondHandleKey< ILArfSampl > m_fSamplKey
std::vector< float > * m_cell_energy_active_total
std::vector< float > * m_energy_hit
std::vector< float > * m_energy_inactive_em
LarEMSamplingFraction()
Default constructor:
std::vector< std::string > m_CalibrationHitContainerNames
std::vector< float > * m_energy_inactive_inv
std::vector< float > * m_cell_energy_reco
virtual StatusCode finalize() override
SG::ReadCondHandleKey< TileSamplingFraction > m_tileSamplingFractionKey
Name of TileSamplingFraction in condition store.
virtual StatusCode initialize() override
std::vector< float > * m_cell_phi
std::vector< float > * m_energy_active_nonem
LarEMSamplingFraction(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< float > * m_cell_energy_active_total_corrected
virtual StatusCode execute() override
std::vector< Long64_t > * m_cell_identifier
std::vector< float > * m_energy_inactive_total
const CaloCell_ID * m_calo_id
std::vector< float > * m_energy_reco
std::vector< float > * m_cell_energy_inactive_total
std::vector< float > * m_energy_active_total_corrected
std::vector< float > * m_energy_inactive_esc
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67