EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CalorimeterGeoParData.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CalorimeterGeoParData.h
1
//
2
// AYK (ayk@bnl.gov), 2013/06/12
3
//
4
// Generic calorimeter mapping class;
5
//
6
// Well, there are too many calorimeters in EIC setup :-); this sort of
7
// justifies creation of several class layers which share common methods
8
// and data; most of the class data variables are for information purposes;
9
//
10
// -> at some point will have to write down exact list of methods/variables
11
// which should not be modified for backwards compatibility!;
12
//
13
14
#include <EicGeoParData.h>
15
16
#ifndef _CALORIMETER_GEO_PAR_DATA_
17
#define _CALORIMETER_GEO_PAR_DATA_
18
19
class
CalorimeterGeoParData
:
public
EicGeoParData
20
{
21
private
:
22
void
ResetVars
() {
23
mType
=
CalorimeterGeoParData::Dummy
;
24
mCellFaceSizeX
=
mCellFaceSizeY
=
mCellLength
=
mInterCellGap
= 0.0;
25
};
26
27
public
:
28
// Well, can imagine different calorimeter types may have certain specific
29
// features which need to be distinguished later; does not cost much to describe
30
// calorimeter type in geometry;
31
enum
EicCalorimeterType
{
Dummy
,
Crystal
,
Fiber
,
Sandwich
};
32
33
CalorimeterGeoParData
(
const
char
*detName = 0,
int
version
= -1,
int
subVersion = 0):
34
EicGeoParData
(detName,
version
, subVersion) {
ResetVars
(); };
35
36
EicCalorimeterType
mType
;
// calorimeter type (PWO, fiber, etc)
37
38
// Elementary unit (BEMC crystal; fiber calorimeter tower; ...);
39
Double_t
mCellFaceSizeX
;
// crystal(tower) front face (square) dimension
40
Double_t
mCellFaceSizeY
;
// crystal(tower) front face (square) dimension
41
Double_t
mCellLength
;
// crystal(tower) length
42
Double_t
mInterCellGap
;
// either air (FEMC) or carbon fiber alveole gap between cells
43
44
ClassDef
(
CalorimeterGeoParData
,7);
45
};
46
47
#endif
EicRoot
blob
master
eic
calorimetry
CalorimeterGeoParData.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration