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
RawTowerDeadMapv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawTowerDeadMapv1.h
1
#ifndef CALOBASE_RAWTOWERDEADMAPV1_H
2
#define CALOBASE_RAWTOWERDEADMAPV1_H
3
4
#include "
RawTowerDeadMap.h
"
5
#include "
RawTowerDefs.h
"
6
7
#include <iostream>
8
9
class
RawTowerDeadMapv1
:
public
RawTowerDeadMap
10
{
11
public
:
12
RawTowerDeadMapv1
(
RawTowerDefs::CalorimeterId
caloid =
RawTowerDefs::NONE
)
13
:
_caloid
(caloid)
14
{
15
}
16
~RawTowerDeadMapv1
()
override
{}
17
18
void
Reset
()
override
;
19
int
isValid
()
const override
;
20
void
identify
(std::ostream &
os
= std::cout)
const override
;
21
22
void
setCalorimeterID
(
RawTowerDefs::CalorimeterId
caloid)
override
{
_caloid
= caloid; }
23
RawTowerDefs::CalorimeterId
getCalorimeterID
()
override
{
return
_caloid
; }
24
void
addDeadTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi)
override
;
25
void
addDeadTower
(
RawTowerDefs::keytype
key)
override
;
26
27
bool
isDeadTower
(
RawTowerDefs::keytype
key)
override
;
28
bool
isDeadTower
(
const
unsigned
int
ieta,
const
unsigned
int
iphi)
override
;
30
const
Map
&
getDeadTowers
(
void
)
const override
;
31
Map
&
getDeadTowers
(
void
)
override
;
32
33
unsigned
int
size
()
const override
{
return
m_DeadTowers
.size(); }
34
35
private
:
36
RawTowerDefs::CalorimeterId
_caloid
;
37
Map
m_DeadTowers
;
38
39
ClassDefOverride(
RawTowerDeadMapv1
, 1)
40
};
41
42
#endif
coresoftware
blob
master
offline
packages
CaloBase
RawTowerDeadMapv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration