Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
RawCluster.cc
RawCluster.h
RawClusterContainer.cc
RawClusterContainer.h
RawClusterContainerLinkDef.h
RawClusterDefs.h
RawClusterDefsLinkDef.h
RawClusterLinkDef.h
RawClusterUtility.h
RawClusterUtilityLinkDef.h
RawClusterv1.cc
RawClusterv1.h
RawClusterv1LinkDef.h
RawTower.cc
RawTower.h
RawTowerContainer.cc
RawTowerContainer.h
RawTowerContainerLinkDef.h
RawTowerDeadMap.cc
RawTowerDeadMap.h
RawTowerDeadMapLinkDef.h
RawTowerDeadMapv1.cc
RawTowerDeadMapv1.h
RawTowerDeadMapv1LinkDef.h
RawTowerDefs.h
RawTowerDefsLinkDef.h
RawTowerGeom.cc
RawTowerGeom.h
RawTowerGeomContainer.cc
RawTowerGeomContainer.h
RawTowerGeomContainer_Cylinderv1.cc
RawTowerGeomContainer_Cylinderv1.h
RawTowerGeomContainer_Cylinderv1LinkDef.h
RawTowerGeomContainerLinkDef.h
RawTowerGeomContainerv1.cc
RawTowerGeomContainerv1.h
RawTowerGeomContainerv1LinkDef.h
RawTowerGeomLinkDef.h
RawTowerGeomv1.cc
RawTowerGeomv1.h
RawTowerGeomv1LinkDef.h
RawTowerGeomv2.cc
RawTowerGeomv2.h
RawTowerGeomv2LinkDef.h
RawTowerGeomv3.cc
RawTowerGeomv3.h
RawTowerGeomv3LinkDef.h
RawTowerGeomv4.cc
RawTowerGeomv4.h
RawTowerGeomv4LinkDef.h
RawTowerLinkDef.h
RawTowerv1.cc
RawTowerv1.h
RawTowerv1LinkDef.h
RawTowerv2.cc
RawTowerv2.h
RawTowerv2LinkDef.h
TowerInfo.h
TowerInfoContainer.cc
TowerInfoContainer.h
TowerInfoContainerLinkDef.h
TowerInfoContainerv1.cc
TowerInfoContainerv1.h
TowerInfoContainerv1LinkDef.h
TowerInfoContainerv2.cc
TowerInfoContainerv2.h
TowerInfoContainerv2LinkDef.h
TowerInfoContainerv3.cc
TowerInfoContainerv3.h
TowerInfoContainerv3LinkDef.h
TowerInfoDefs.cc
TowerInfoDefs.h
TowerInfoLinkDef.h
TowerInfov1.cc
TowerInfov1.h
TowerInfov1LinkDef.h
TowerInfov2.cc
TowerInfov2.h
TowerInfov2LinkDef.h
TowerInfov3.cc
TowerInfov3.h
TowerInfov3LinkDef.h
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RawTowerContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawTowerContainer.h
1
#ifndef CALOBASE_RAWTOWERCONTAINER_H
2
#define CALOBASE_RAWTOWERCONTAINER_H
3
4
#include "
RawTowerDefs.h
"
5
6
#include <
phool/PHObject.h
>
7
8
#include <iostream>
9
#include <map>
10
#include <utility>
11
12
class
RawTower
;
13
14
class
RawTowerContainer
:
public
PHObject
15
{
16
public
:
17
typedef
std::map<RawTowerDefs::keytype, RawTower *>
Map
;
18
typedef
Map::iterator
Iterator
;
19
typedef
Map::const_iterator
ConstIterator
;
20
typedef
std::pair<Iterator, Iterator>
Range
;
21
typedef
std::pair<ConstIterator, ConstIterator>
ConstRange
;
22
23
RawTowerContainer
(
RawTowerDefs::CalorimeterId
caloid =
RawTowerDefs::NONE
)
24
:
_caloid
(caloid)
25
{
26
}
27
28
~RawTowerContainer
()
override
{}
29
30
void
Reset
()
override
;
31
int
isValid
()
const override
;
32
void
identify
(std::ostream &
os
= std::cout)
const override
;
33
34
void
setCalorimeterID
(
RawTowerDefs::CalorimeterId
caloid) {
_caloid
= caloid; }
35
RawTowerDefs::CalorimeterId
getCalorimeterID
() {
return
_caloid
; }
36
37
ConstIterator
AddTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi,
RawTower
*twr);
38
ConstIterator
AddTower
(
RawTowerDefs::keytype
key,
RawTower
*twr);
39
40
RawTower
*
getTower
(
RawTowerDefs::keytype
key);
41
const
RawTower
*
getTower
(
RawTowerDefs::keytype
key)
const
;
42
43
RawTower
*
getTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi);
44
const
RawTower
*
getTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi)
const
;
45
46
RawTower
*
getTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi,
const
unsigned
int
il);
47
const
RawTower
*
getTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi,
const
unsigned
int
il)
const
;
48
50
ConstRange
getTowers
(
void
)
const
;
51
Range
getTowers
(
void
);
52
53
unsigned
int
size
()
const
{
return
_towers
.size(); }
54
void
compress
(
const
double
emin);
55
double
getTotalEdep
()
const
;
56
57
protected
:
58
RawTowerDefs::CalorimeterId
_caloid
;
59
Map
_towers
;
60
61
ClassDefOverride(
RawTowerContainer
, 1)
62
};
63
64
#endif
coresoftware
blob
master
offline
packages
CaloBase
RawTowerContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration