ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileG4
TileGeoG4Calib
src
TileGeoG4DMLookup.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//************************************************************
6
//
7
// Look-up classes for Tile Calibration
8
//
9
// Author: Gia Khoriauli <Gia.Khoriauli@cern.ch>
10
// May, 2005
11
//
12
//************************************************************
13
14
#ifndef TILEGEOG4CALIB_TILEGEOG4DMLOOKUP_H
15
#define TILEGEOG4CALIB_TILEGEOG4DMLOOKUP_H
16
17
#include <vector>
18
19
class
TileGeoG4Cell;
20
class
TileGeoG4Section;
21
22
class
TileGeoG4CalibCell
{
23
public
:
24
25
int
detector
;
26
int
sample
;
27
int
nrOfPeriodsInCell
[2];
28
29
TileGeoG4CalibCell
();
30
};
31
32
class
TileGeoG4PlateCell
{
33
public
:
34
35
int
detector
;
36
int
tower
;
37
int
sample
;
38
int
neighbor
;
39
double
eta
;
40
double
dEta
;
41
double
xBound
;
42
double
zBound
;
43
44
std::vector<int>
m_nPlateCellHit
;
45
std::vector<int>
m_nPlateCellHit_negative
;
46
47
TileGeoG4PlateCell
();
48
};
49
50
class
TileGeoG4GirderCell
{
51
public
:
52
53
int
detector
;
54
int
tower
;
55
int
sample
;
56
double
eta
;
57
double
dEta
;
58
double
xBound
;
59
60
std::vector<int>
m_nGirderCellHit
;
61
std::vector<int>
m_nGirderCellHit_negative
;
62
63
TileGeoG4GirderCell
();
64
};
65
66
struct
TileGeoG4CalibSample
{
67
std::vector<TileGeoG4CalibCell*>
cells
;
68
std::vector<TileGeoG4PlateCell*>
plateCells
;
69
};
70
71
class
TileGeoG4CalibSection
{
72
public
:
73
74
TileGeoG4CalibSection
(
const
int
verboseLevel);
75
~TileGeoG4CalibSection
();
76
77
int
section
;
78
int
nrOfPeriods
;
79
int
nrOfSamples
;
80
int
nrOfCells
;
81
int
nrOfPlateCells
;
82
int
nrOfGirderCells
;
83
double
sample_ZBound
[4];
84
85
std::vector<TileGeoG4CalibSample*>
samples
;
86
std::vector<TileGeoG4GirderCell*>
girderCells
;
87
88
//Builds correspondence between absorber materials and cells. fills m_DMToCell in
89
void
DMToCell
(
bool
gap_crack, TileGeoG4Section* tile_section);
90
91
//Returns the pointer to the cell corresponding to nPeriod-th period and sample
92
TileGeoG4Cell*
GetCell
(
int
nPeriod,
int
nSample);
93
94
//Returns the pointer to the Plate 'cell' corresponding to the Hits x, z - coordinates
95
//and the kind of Plate, Front or End.
96
TileGeoG4PlateCell
*
GetTilePlateCell
(
double
xHit,
double
zHit,
int
plate);
97
98
//Returns the pointer to the Girder 'cell' corresponding to the Hits x - coordinate
99
TileGeoG4GirderCell
*
GetTileGirderCell
(
double
xHit);
100
101
//Initializes all arayes of all cells of all Tile sections
102
void
AddModuleToCell
(
bool
negative);
103
104
private
:
105
106
//for each unit of Absorber Material ("Period") in Tile modules
107
//contains pointer to the corresponding cell
108
std::vector<TileGeoG4Cell*>
m_DMToCell
;
109
int
m_verboseLevel
;
110
111
};
112
113
#endif
// TILEGEOG4CALIB_TILEGEOG4DMLOOKUP_H
114
TileGeoG4CalibCell::detector
int detector
Definition
TileGeoG4DMLookup.h:25
TileGeoG4CalibCell::sample
int sample
Definition
TileGeoG4DMLookup.h:26
TileGeoG4CalibCell::TileGeoG4CalibCell
TileGeoG4CalibCell()
TileGeoG4CalibCell::nrOfPeriodsInCell
int nrOfPeriodsInCell[2]
Definition
TileGeoG4DMLookup.h:27
TileGeoG4CalibSection::GetTileGirderCell
TileGeoG4GirderCell * GetTileGirderCell(double xHit)
TileGeoG4CalibSection::m_DMToCell
std::vector< TileGeoG4Cell * > m_DMToCell
Definition
TileGeoG4DMLookup.h:108
TileGeoG4CalibSection::AddModuleToCell
void AddModuleToCell(bool negative)
TileGeoG4CalibSection::TileGeoG4CalibSection
TileGeoG4CalibSection(const int verboseLevel)
TileGeoG4CalibSection::sample_ZBound
double sample_ZBound[4]
Definition
TileGeoG4DMLookup.h:83
TileGeoG4CalibSection::nrOfSamples
int nrOfSamples
Definition
TileGeoG4DMLookup.h:79
TileGeoG4CalibSection::nrOfCells
int nrOfCells
Definition
TileGeoG4DMLookup.h:80
TileGeoG4CalibSection::DMToCell
void DMToCell(bool gap_crack, TileGeoG4Section *tile_section)
TileGeoG4CalibSection::nrOfPeriods
int nrOfPeriods
Definition
TileGeoG4DMLookup.h:78
TileGeoG4CalibSection::m_verboseLevel
int m_verboseLevel
Definition
TileGeoG4DMLookup.h:109
TileGeoG4CalibSection::nrOfPlateCells
int nrOfPlateCells
Definition
TileGeoG4DMLookup.h:81
TileGeoG4CalibSection::girderCells
std::vector< TileGeoG4GirderCell * > girderCells
Definition
TileGeoG4DMLookup.h:86
TileGeoG4CalibSection::nrOfGirderCells
int nrOfGirderCells
Definition
TileGeoG4DMLookup.h:82
TileGeoG4CalibSection::~TileGeoG4CalibSection
~TileGeoG4CalibSection()
TileGeoG4CalibSection::GetCell
TileGeoG4Cell * GetCell(int nPeriod, int nSample)
TileGeoG4CalibSection::section
int section
Definition
TileGeoG4DMLookup.h:77
TileGeoG4CalibSection::GetTilePlateCell
TileGeoG4PlateCell * GetTilePlateCell(double xHit, double zHit, int plate)
TileGeoG4CalibSection::samples
std::vector< TileGeoG4CalibSample * > samples
Definition
TileGeoG4DMLookup.h:85
TileGeoG4GirderCell
Definition
TileGeoG4DMLookup.h:50
TileGeoG4GirderCell::dEta
double dEta
Definition
TileGeoG4DMLookup.h:57
TileGeoG4GirderCell::eta
double eta
Definition
TileGeoG4DMLookup.h:56
TileGeoG4GirderCell::TileGeoG4GirderCell
TileGeoG4GirderCell()
TileGeoG4GirderCell::xBound
double xBound
Definition
TileGeoG4DMLookup.h:58
TileGeoG4GirderCell::detector
int detector
Definition
TileGeoG4DMLookup.h:53
TileGeoG4GirderCell::m_nGirderCellHit_negative
std::vector< int > m_nGirderCellHit_negative
Definition
TileGeoG4DMLookup.h:61
TileGeoG4GirderCell::tower
int tower
Definition
TileGeoG4DMLookup.h:54
TileGeoG4GirderCell::sample
int sample
Definition
TileGeoG4DMLookup.h:55
TileGeoG4GirderCell::m_nGirderCellHit
std::vector< int > m_nGirderCellHit
Definition
TileGeoG4DMLookup.h:60
TileGeoG4PlateCell
Definition
TileGeoG4DMLookup.h:32
TileGeoG4PlateCell::zBound
double zBound
Definition
TileGeoG4DMLookup.h:42
TileGeoG4PlateCell::m_nPlateCellHit_negative
std::vector< int > m_nPlateCellHit_negative
Definition
TileGeoG4DMLookup.h:45
TileGeoG4PlateCell::tower
int tower
Definition
TileGeoG4DMLookup.h:36
TileGeoG4PlateCell::xBound
double xBound
Definition
TileGeoG4DMLookup.h:41
TileGeoG4PlateCell::sample
int sample
Definition
TileGeoG4DMLookup.h:37
TileGeoG4PlateCell::eta
double eta
Definition
TileGeoG4DMLookup.h:39
TileGeoG4PlateCell::m_nPlateCellHit
std::vector< int > m_nPlateCellHit
Definition
TileGeoG4DMLookup.h:44
TileGeoG4PlateCell::detector
int detector
Definition
TileGeoG4DMLookup.h:35
TileGeoG4PlateCell::TileGeoG4PlateCell
TileGeoG4PlateCell()
TileGeoG4PlateCell::dEta
double dEta
Definition
TileGeoG4DMLookup.h:40
TileGeoG4PlateCell::neighbor
int neighbor
Definition
TileGeoG4DMLookup.h:38
TileGeoG4CalibSample
Definition
TileGeoG4DMLookup.h:66
TileGeoG4CalibSample::cells
std::vector< TileGeoG4CalibCell * > cells
Definition
TileGeoG4DMLookup.h:67
TileGeoG4CalibSample::plateCells
std::vector< TileGeoG4PlateCell * > plateCells
Definition
TileGeoG4DMLookup.h:68
Generated on
for ATLAS Offline Software by
1.17.0