ATLAS Offline Software
Loading...
Searching...
No Matches
TileCellDetailsFillerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5/*
6 * File: TileCellDetailsFillerTool.h
7 * Author: Stephen Cole <scole@niu.edu>
8 *
9 * Created on January 28, 2011, 3:12 PM
10 */
11
12#ifndef TILECELLDETAILSFILLERTOOL_H
13#define TILECELLDETAILSFILLERTOOL_H
14
16#include "TileEvent/TileCell.h"
17#include "GaudiKernel/ToolHandle.h"
19
20class TileID;
21class TileHWID;
23
24namespace D3PD {
25
26 class TileCellDetailsFillerTool : public BlockFillerTool<CaloCell> {
27 public:
28 /*
29 @brief Standard Gaudi tool constructor.
30 @param type The name of the tool type.
31 @param name The tool name.
32 @param parent The tool's Gaudi parent.*/
33 TileCellDetailsFillerTool(const std::string& type,
34 const std::string& name,
35 const IInterface* parent);
36
37
39 virtual StatusCode initialize();
40
41 //Book variables for this block.
42 virtual StatusCode book();
43
44 /*
45 @brief Fill one block --- type-safe version.
46 @param p The input object.
47
48 This is called once per object. The caller
49 is responsible for arranging that all the pointers for booked variables
50 are set appropriately upon entry.*/
51 virtual StatusCode fill (const CaloCell& p);
52
53 // Method to dump all cell information to screen
54 void DumpCellInfo();
55
56
57 private:
58
62
63 ToolHandle<ITileBadChanTool> m_tileBadChanTool; //Tile bad channel tool
64
65 bool m_saveCellDetails; //switching on/off cell details storage
66 bool m_savePosition; // switching on/off cell position storage
67
69
70 // variables to be in ntuple.
71
72 //----***Removed, redundant with EventCommonD3PDMaker.FourMomFillerTool***----
76 //----******----
77
96
98 float* m_xCells;
99 float* m_yCells;
100 float* m_zCells;
103 uint16_t* m_moduleCells;
105 uint16_t* m_towerCells;
106 uint16_t* m_sampleCells;
113 uint16_t* m_status1Cells;
114 uint16_t* m_status2Cells;
115 uint16_t* m_qual1Cells;
116 uint16_t* m_qual2Cells;
117 uint8_t* m_qbits1;
118 uint8_t* m_qbits2;
119
120 bool m_notRealE1run2[2][64];
122
123 };
124
125}
126#endif /* TILECELLDETAILSFILLERTOOL_H */
127
Type-safe wrapper for block filler tools.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Type-safe wrapper for block filler tools.
ToolHandle< ITileBadChanTool > m_tileBadChanTool
virtual StatusCode book()
Declare tuple variables.
virtual StatusCode fill(const CaloCell &p)
Fill one block — type-safe version.
virtual StatusCode initialize()
Standard Gaudi initialize method.
TileCellDetailsFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Block filler tool for noisy FEB information.