ATLAS Offline Software
Loading...
Searching...
No Matches
SCFillerTool.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-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14#ifndef CALOSYSD3PDMAKER_SCFILLERTOOL_H
15#define CALOSYSD3PDMAKER_SCFILLERTOOL_H
16
17// Gaudi/Athena include(s):
18#include "GaudiKernel/ToolHandle.h"
22
23#include <vector>
24#include <list>
25#include <map>
26
27class CaloCell;
29
30// Forward declaration(s):
31class LArEM_ID;
32class LArFCAL_ID;
33class LArHEC_ID;
34class TileID;
35class LArOnlineID;
36class Identifier;
37
38namespace D3PD {
39
40
45 : public BlockFillerTool<CaloCellContainer>
46{
47public:
54 SCFillerTool (const std::string& type,
55 const std::string& name,
56 const IInterface* parent);
57
58
60 virtual StatusCode book();
61 virtual StatusCode initialize();
62 virtual StatusCode fill (const CaloCellContainer& p);
63 virtual void fillHashTables(const CaloCellContainer& p);
64 virtual void dumpHashTables(const CaloCellContainer& p);
65 virtual void resetEnergies();
66
67private:
68
75 {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
76 // const CaloDetDescrManager* m_dd_man;
77
78
80 int *m_nSC;
81 std::vector<double> *m_E;
82 std::vector<double> *m_eta;
83 std::vector<double> *m_phi;
84 std::vector<double> *m_Et;
85 std::vector<double> *m_time;
86 std::vector<double> *m_quality;
87
88 std::vector<int> *m_calo;
89 std::vector<int> *m_region;
90 std::vector<int> *m_sampling;
91 std::vector<int> *m_ieta;
92 std::vector<int> *m_jphi;
93 std::vector<int> *m_hashid;
94
96 std::map<const Identifier, int> m_sc_hashTable;
97 std::vector<int> m_sc_list;
98 std::map<int, double> m_sc_energy;
99 std::map<int, double> m_sc_eta;
100 std::map<int, double> m_sc_phi;
101 std::map<int, std::vector<const CaloCell*> > m_sc_compId;
102
103 std::vector<float> m_etaCut;
104 std::vector<float> m_phiCut;
105 std::vector< unsigned int > m_caloNums;
106 std::vector< unsigned int > m_caloLayers;
107
112
114
115};
116
117
118} // namespace D3PD
119
120
121#endif // not CALOSYSD3PDMAKER_SCFILLERTOOL_H
Type-safe wrapper for block filler tools.
Container class for CaloCell.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Type-safe wrapper for block filler tools.
std::map< const Identifier, int > m_sc_hashTable
std::map< int, double > m_sc_eta
std::map< int, std::vector< const CaloCell * > > m_sc_compId
virtual void fillHashTables(const CaloCellContainer &p)
std::vector< int > m_sc_list
std::vector< unsigned int > m_caloNums
std::vector< double > * m_E
virtual StatusCode fill(const CaloCellContainer &p)
Fill one block — type-safe version.
const TileID * m_tileid
virtual StatusCode book()
Book variables for this block.
std::vector< float > m_phiCut
std::vector< int > * m_jphi
int * m_nSC
parameters
std::vector< int > * m_region
std::vector< int > * m_hashid
std::vector< int > * m_ieta
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const LArFCAL_ID * m_fcalid
const LArEM_ID * m_emid
std::vector< float > m_etaCut
const LArHEC_ID * m_hecid
std::vector< int > * m_calo
std::map< int, double > m_sc_phi
std::vector< double > * m_Et
std::vector< double > * m_quality
virtual void dumpHashTables(const CaloCellContainer &p)
std::map< int, double > m_sc_energy
std::vector< double > * m_eta
const LArOnlineID * m_onlineHelper
SCFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
std::vector< unsigned int > m_caloLayers
virtual void resetEnergies()
virtual StatusCode initialize()
std::vector< double > * m_time
std::vector< double > * m_phi
std::vector< int > * m_sampling
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
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Block filler tool for noisy FEB information.