ATLAS Offline Software
InnerDetector
InDetAlignAlgs
InDetAlignGenAlgs
InDetAlignGenAlgs
SPLayer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETALIGNGENALGS_SPLAYER_H
6
#define INDETALIGNGENALGS_SPLAYER_H
7
// SPLayer.h - helper class for InDetAlignNt for processing overlaps
8
// definition of one layer of space points
9
10
#include <vector>
11
#include <string>
12
13
class
TH1;
14
15
class
SPLayer
{
16
public
:
17
SPLayer
(
const
int
,
const
int
,
const
int
,
const
int
,
const
int
,
const
int
,
18
const
std::string&,
const
std::vector<TH1*>& );
19
int
incnmod
();
// increment the number of modules
20
int
incnhit
();
// increment the number of hits
21
// read methods
22
int
dettype
()
const
;
23
int
bec
()
const
;
24
int
layer
()
const
;
25
int
side
()
const
;
26
int
nmod
()
const
;
27
int
nhit
()
const
;
28
TH1*
hptr
(
int
)
const
;
29
const
std::string&
name
()
const
;
30
31
private
:
32
int
m_dettype
;
33
int
m_bec
;
34
int
m_layer
;
35
int
m_side
;
36
int
m_nmod
;
37
int
m_nhit
;
38
std::string
m_name
;
39
std::vector<TH1*>
m_histlist
;
40
};
41
42
inline
int
SPLayer::incnmod
() {
return
++
m_nmod
; }
43
inline
int
SPLayer::incnhit
() {
return
++
m_nhit
; }
44
45
inline
int
SPLayer::dettype
()
const
{
return
m_dettype
; }
46
inline
int
SPLayer::bec
()
const
{
return
m_bec
; }
47
inline
int
SPLayer::layer
()
const
{
return
m_layer
; }
48
inline
int
SPLayer::side
()
const
{
return
m_side
; }
49
inline
int
SPLayer::nmod
()
const
{
return
m_nmod
; }
50
inline
int
SPLayer::nhit
()
const
{
return
m_nhit
; }
51
inline
const
std::string&
SPLayer::name
()
const
{
return
m_name
; }
52
inline
TH1*
SPLayer::hptr
(
int
i
)
const
{
return
m_histlist
[
i
]; }
53
54
#endif // INDETALIGNGENALGS_SPLAYER_H
55
56
SPLayer::nhit
int nhit() const
Definition:
SPLayer.h:50
SPLayer
Definition:
SPLayer.h:15
SPLayer::m_nhit
int m_nhit
Definition:
SPLayer.h:37
SPLayer::SPLayer
SPLayer(const int, const int, const int, const int, const int, const int, const std::string &, const std::vector< TH1 * > &)
Definition:
SPLayer.cxx:12
SPLayer::hptr
TH1 * hptr(int) const
Definition:
SPLayer.h:52
SPLayer::nmod
int nmod() const
Definition:
SPLayer.h:49
SPLayer::m_bec
int m_bec
Definition:
SPLayer.h:33
SPLayer::m_nmod
int m_nmod
Definition:
SPLayer.h:36
lumiFormat.i
int i
Definition:
lumiFormat.py:85
SPLayer::side
int side() const
Definition:
SPLayer.h:48
SPLayer::m_name
std::string m_name
Definition:
SPLayer.h:38
SPLayer::dettype
int dettype() const
Definition:
SPLayer.h:45
SPLayer::incnhit
int incnhit()
Definition:
SPLayer.h:43
SPLayer::m_dettype
int m_dettype
Definition:
SPLayer.h:32
SPLayer::m_layer
int m_layer
Definition:
SPLayer.h:34
SPLayer::bec
int bec() const
Definition:
SPLayer.h:46
SPLayer::m_histlist
std::vector< TH1 * > m_histlist
Definition:
SPLayer.h:39
SPLayer::name
const std::string & name() const
Definition:
SPLayer.h:51
SPLayer::incnmod
int incnmod()
Definition:
SPLayer.h:42
SPLayer::layer
int layer() const
Definition:
SPLayer.h:47
SPLayer::m_side
int m_side
Definition:
SPLayer.h:35
Generated on Wed Jan 22 2025 21:18:17 for ATLAS Offline Software by
1.8.18