Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RawTowerGeomContainerv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawTowerGeomContainerv1.h
1
#ifndef CALOBASE_RAWTOWERGEOMCONTAINERV1_H
2
#define CALOBASE_RAWTOWERGEOMCONTAINERV1_H
3
4
#include "
RawTowerGeomContainer.h
"
5
6
#include "
RawTowerDefs.h
"
7
8
#include <iostream>
9
10
class
RawTowerGeom
;
11
15
class
RawTowerGeomContainerv1
:
public
RawTowerGeomContainer
16
{
17
public
:
18
RawTowerGeomContainerv1
(
RawTowerDefs::CalorimeterId
caloid =
RawTowerDefs::NONE
);
19
~RawTowerGeomContainerv1
()
override
;
20
21
// cppcheck-suppress virtualCallInConstructor
22
void
Reset
()
override
;
23
int
isValid
()
const override
;
24
void
identify
(std::ostream &
os
= std::cout)
const override
;
25
26
void
set_calorimeter_id
(
RawTowerDefs::CalorimeterId
caloid)
override
{
_caloid
= caloid; }
27
RawTowerDefs::CalorimeterId
get_calorimeter_id
()
const override
{
return
_caloid
; }
28
29
ConstIterator
add_tower_geometry
(
RawTowerGeom
*geo)
override
;
30
RawTowerGeom
*
get_tower_geometry
(
RawTowerDefs::keytype
key)
override
;
31
33
ConstRange
get_tower_geometries
(
void
)
const override
;
34
Range
get_tower_geometries
(
void
)
override
;
35
36
unsigned
int
size
()
const override
{
return
_geoms
.size(); }
37
38
protected
:
39
RawTowerDefs::CalorimeterId
_caloid
;
40
Map
_geoms
;
41
42
ClassDefOverride(
RawTowerGeomContainerv1
, 1)
43
};
44
45
#endif
coresoftware
blob
master
offline
packages
CaloBase
RawTowerGeomContainerv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration