ATLAS Offline Software
Calorimeter
CaloEvent
src
CaloTower.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/********************************************************************
6
7
NAME: CalorTower.cxx
8
PACKAGE: offline/Calorimeter/CaloRec
9
10
AUTHORS: S. Rajagopalan
11
CREATED: Oct 2000
12
13
PURPOSE: Tower data class for Calorimeter.
14
15
Updated: Feb 5, 2001 (HM)
16
Made it to be a concrete class.
17
18
Jan 16, 2003 (P.Loch)
19
Introduce new navigation system, needed map of cell weights
20
21
********************************************************************/
22
23
#include "CaloEvent/CaloTower.h"
24
#include "
CaloEvent/CaloCell.h
"
25
26
27
29
// Destructor //
31
32
CaloTower::~CaloTower
()
33
=
default
;
34
36
// Kinematics Update //
38
39
void
CaloTower::updateKine
(
const
CaloCell
* theCell,
double
weight
)
40
{
41
// updates E and Et (no change of tower direction!)
42
this->
setE
( this->
e
() + weight * theCell->
e
() );
43
}
44
46
// Basic Energy Signal //
48
49
50
double
51
CaloTower::getBasicEnergy
()
const
{
return
this->
e
(); }
52
53
void
54
CaloTower::setBasicEnergy
(
double
theEnergy
) { this->
setE
(theEnergy); }
CaloTower::~CaloTower
virtual ~CaloTower() override
Destructor.
CaloCell.h
CaloCell::e
virtual double e() const override final
get energy (data member) (synonym to method energy()
Definition:
CaloCell.h:317
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
PowhegPythia8EvtGen_jetjet.theEnergy
int theEnergy
Definition:
PowhegPythia8EvtGen_jetjet.py:12
CaloTower::e
virtual double e() const override final
get energy data member
Definition:
Calorimeter/CaloEvent/CaloEvent/CaloTower.h:135
CaloTower::updateKine
virtual void updateKine(const CaloCell *theCell, double weight) override
Update tower kinematics when cell is added.
Definition:
CaloTower.cxx:39
CaloCell
Data object for each calorimeter readout cell.
Definition:
CaloCell.h:57
P4EEtaPhiM::setE
virtual void setE(double theE)
set energy data member
Definition:
P4EEtaPhiM.h:114
CaloTower::setBasicEnergy
virtual void setBasicEnergy(double theEnergy) override
Basic signal setter.
Definition:
CaloTower.cxx:54
CaloTower::getBasicEnergy
virtual double getBasicEnergy() const override
Basic signal getter.
Definition:
CaloTower.cxx:51
Generated on Sun Dec 22 2024 21:08:05 for ATLAS Offline Software by
1.8.18