ATLAS Offline Software
Loading...
Searching...
No Matches
LArSCHitFillerTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14#ifndef CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
15#define CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
16
17// Gaudi/Athena include(s):
18#include "GaudiKernel/ToolHandle.h"
26#include <vector>
27#include <list>
28#include <map>
29
30// Forward declaration(s):
31class LArEM_ID;
32class LArFCAL_ID;
33class LArHEC_ID;
34class TileID;
35class LArOnlineID;
36class Identifier;
37
39
40#include "LArSimEvent/LArHit.h"
41
42namespace D3PD {
43
44
49 : public BlockFillerTool<LArHitContainer>
50{
51public:
58 LArSCHitFillerTool (const std::string& type,
59 const std::string& name,
60 const IInterface* parent);
61
62
64 virtual StatusCode initialize();
65 virtual StatusCode book();
66 // virtual StatusCode handle(const Incident&);
67 virtual StatusCode fill (const LArHitContainer& p);
68
69private:
70
77
79 int *m_nSC;
80 std::vector<double> *m_E;
81 std::vector<double> *m_eta;
82 std::vector<double> *m_phi;
83 std::vector<double> *m_Eoff;
84 std::vector<double> *m_Et;
85 std::vector<double> *m_fsampl;
86
87 std::vector<int> *m_calo;
88 std::vector<int> *m_region;
89 std::vector<int> *m_sampling;
90 std::vector<int> *m_ieta;
91 std::vector<int> *m_jphi;
92 std::vector<unsigned int> *m_offlId;
93
94 std::vector<float> m_etaCut;
95 std::vector<float> m_phiCut;
96 std::vector< unsigned int > m_caloNums;
97 std::vector< unsigned int > m_caloLayers;
98
103
104
106 ToolHandle<ICaloSuperCellIDTool> m_scidtool;
107
109 this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager" };
110
113
114};
115
116
117} // namespace D3PD
118
119
120#endif // not CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
Type-safe wrapper for block filler tools.
Definition of CaloDetDescrManager.
Collection getter tool retrieving a container from StoreGate.
Helper class for offline supercell identifiers.
Type-safe wrapper for block filler tools.
std::vector< unsigned int > * m_offlId
std::vector< int > * m_jphi
virtual StatusCode book()
Book variables for this block.
std::vector< int > * m_calo
virtual StatusCode fill(const LArHitContainer &p)
Fill one block — type-safe version.
std::vector< double > * m_E
std::vector< double > * m_Eoff
std::vector< double > * m_Et
const CaloCell_SuperCell_ID * m_sc_idHelper
idHlper
LArSCHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
std::vector< double > * m_eta
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
std::vector< float > m_phiCut
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
std::vector< unsigned int > m_caloLayers
virtual StatusCode initialize()
Book variables for this block.
std::vector< int > * m_region
const ILArfSampl * m_dd_fSampl
std::vector< unsigned int > m_caloNums
const LArFCAL_ID * m_fcalid
std::vector< double > * m_phi
std::vector< int > * m_ieta
std::vector< double > * m_fsampl
std::vector< float > m_etaCut
std::vector< int > * m_sampling
const LArOnlineID * m_onlineHelper
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Hit collection.
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Block filler tool for noisy FEB information.