ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloSysD3PDMaker
src
TowerFillerTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* File: TowerFillerTool.h
7
* Author: stephen
8
*
9
* Created on August 26, 2011, 1:36 PM
10
*/
11
12
#ifndef TOWERFILLERTOOL_H
13
#define TOWERFILLERTOOL_H
14
15
#include <vector>
16
17
#include "
D3PDMakerUtils/BlockFillerTool.h
"
18
#include "CaloEvent/CaloTower.h"
19
#include "GaudiKernel/ToolHandle.h"
20
21
namespace
D3PD
{
22
23
class
TowerFillerTool
:
public
BlockFillerTool
<CaloTower> {
24
public
:
25
/*
26
@brief Standard Gaudi tool constructor.
27
@param type The name of the tool type.
28
@param name The tool name.
29
@param parent The tool's Gaudi parent.*/
30
TowerFillerTool
(
const
std::string&
type
,
31
const
std::string& name,
32
const
IInterface* parent);
33
//Book variables for this block.
34
virtual
StatusCode
book
();
35
36
/*
37
@brief Fill one block --- type-safe version.
38
@param p The input object.
39
40
This is called once per object. The caller
41
is responsible for arranging that all the pointers for booked variables
42
are set appropriately upon entry.*/
43
virtual
StatusCode
fill
(
const
CaloTower
& p);
44
45
46
private
:
47
bool
m_SaveConstituents
;
48
49
//vector containing the weight for each CaloCell making up the tower
50
std::vector<float>*
m_cellWeights
;
51
//the number of constituent calorimeter cells
52
unsigned
int
*
m_nCaloCells
;
53
54
unsigned
int
*
m_statWord
;
55
56
//The tower pT
57
float
*
m_pT
;
58
//The tower eta
59
float
*
m_eta
;
60
//The tower phi
61
float
*
m_phi
;
62
//The tower energy
63
float
*
m_E
;
64
65
66
67
};
68
69
}
70
#endif
/* TOWERFILLERTOOL_H */
71
BlockFillerTool.h
Type-safe wrapper for block filler tools.
CaloTower
Data class for calorimeter cell towers.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloTower.h:55
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::TowerFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition
TowerFillerTool.cxx:27
D3PD::TowerFillerTool::m_nCaloCells
unsigned int * m_nCaloCells
Definition
TowerFillerTool.h:52
D3PD::TowerFillerTool::m_statWord
unsigned int * m_statWord
Definition
TowerFillerTool.h:54
D3PD::TowerFillerTool::m_phi
float * m_phi
Definition
TowerFillerTool.h:61
D3PD::TowerFillerTool::m_pT
float * m_pT
Definition
TowerFillerTool.h:57
D3PD::TowerFillerTool::TowerFillerTool
TowerFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TowerFillerTool.cxx:17
D3PD::TowerFillerTool::m_cellWeights
std::vector< float > * m_cellWeights
Definition
TowerFillerTool.h:50
D3PD::TowerFillerTool::m_E
float * m_E
Definition
TowerFillerTool.h:63
D3PD::TowerFillerTool::m_SaveConstituents
bool m_SaveConstituents
Definition
TowerFillerTool.h:47
D3PD::TowerFillerTool::m_eta
float * m_eta
Definition
TowerFillerTool.h:59
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
type
Generated on
for ATLAS Offline Software by
1.17.0