Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
BeamLineMagnetDetector.cc
BeamLineMagnetDetector.h
BeamLineMagnetDisplayAction.cc
BeamLineMagnetDisplayAction.h
BeamLineMagnetSteppingAction.cc
BeamLineMagnetSteppingAction.h
BeamLineMagnetSubsystem.cc
BeamLineMagnetSubsystem.h
LightCollectionModel.cc
LightCollectionModel.h
PHG4BbcDetector.cc
PHG4BbcDetector.h
PHG4BbcDisplayAction.cc
PHG4BbcDisplayAction.h
PHG4BbcSteppingAction.cc
PHG4BbcSteppingAction.h
PHG4BbcSubsystem.cc
PHG4BbcSubsystem.h
PHG4BeamlineMagnetDetector.cc
PHG4BeamlineMagnetDetector.h
PHG4BeamlineMagnetSubsystem.cc
PHG4BeamlineMagnetSubsystem.h
PHG4BlockCellGeom.cc
PHG4BlockCellGeom.h
PHG4BlockCellGeomContainer.cc
PHG4BlockCellGeomContainer.h
PHG4BlockCellGeomContainerLinkDef.h
PHG4BlockCellGeomLinkDef.h
PHG4BlockCellGeomv1LinkDef.h
PHG4BlockCellReco.cc
PHG4BlockCellReco.h
PHG4BlockDetector.cc
PHG4BlockDetector.h
PHG4BlockDisplayAction.cc
PHG4BlockDisplayAction.h
PHG4BlockGeom.cc
PHG4BlockGeom.h
PHG4BlockGeomContainer.cc
PHG4BlockGeomContainer.h
PHG4BlockGeomContainerLinkDef.h
PHG4BlockGeomLinkDef.h
PHG4BlockGeomv1.cc
PHG4BlockGeomv1.h
PHG4BlockGeomv1LinkDef.h
PHG4BlockSteppingAction.cc
PHG4BlockSteppingAction.h
PHG4BlockSubsystem.cc
PHG4BlockSubsystem.h
PHG4Cell.cc
PHG4Cell.h
PHG4CellContainer.cc
PHG4CellContainer.h
PHG4CellContainerLinkDef.h
PHG4CellDefs.cc
PHG4CellDefs.h
PHG4CellLinkDef.h
PHG4Cellv1.cc
PHG4Cellv1.h
PHG4Cellv1LinkDef.h
PHG4Cellv2LinkDef.h
PHG4CEmcTestBeamDetector.cc
PHG4CEmcTestBeamDetector.h
PHG4CEmcTestBeamSteppingAction.cc
PHG4CEmcTestBeamSteppingAction.h
PHG4CEmcTestBeamSubsystem.cc
PHG4CEmcTestBeamSubsystem.h
PHG4ConeDetector.cc
PHG4ConeDetector.h
PHG4ConeDisplayAction.cc
PHG4ConeDisplayAction.h
PHG4ConeSteppingAction.cc
PHG4ConeSteppingAction.h
PHG4ConeSubsystem.cc
PHG4ConeSubsystem.h
PHG4CylinderCell.h
PHG4CylinderCellContainer.cc
PHG4CylinderCellContainer.h
PHG4CylinderCellContainerLinkDef.h
PHG4CylinderCellDefs.h
PHG4CylinderCellGeom.cc
PHG4CylinderCellGeom.h
PHG4CylinderCellGeom_Spacalv1.cc
PHG4CylinderCellGeom_Spacalv1.h
PHG4CylinderCellGeom_Spacalv1LinkDef.h
PHG4CylinderCellGeomContainer.cc
PHG4CylinderCellGeomContainer.h
PHG4CylinderCellGeomContainerLinkDef.h
PHG4CylinderCellGeomLinkDef.h
PHG4CylinderCellLinkDef.h
PHG4CylinderCellReco.cc
PHG4CylinderCellReco.h
PHG4CylinderCellv1.cc
PHG4CylinderCellv1.h
PHG4CylinderCellv1LinkDef.h
PHG4CylinderCellv2.cc
PHG4CylinderCellv2.h
PHG4CylinderCellv2LinkDef.h
PHG4CylinderCellv3.cc
PHG4CylinderCellv3.h
PHG4CylinderCellv3LinkDef.h
PHG4CylinderDetector.cc
PHG4CylinderDetector.h
PHG4CylinderDisplayAction.cc
PHG4CylinderDisplayAction.h
PHG4CylinderGeom.cc
PHG4CylinderGeom.h
PHG4CylinderGeom_Spacalv1.cc
PHG4CylinderGeom_Spacalv1.h
PHG4CylinderGeom_Spacalv1LinkDef.h
PHG4CylinderGeom_Spacalv2.cc
PHG4CylinderGeom_Spacalv2.h
PHG4CylinderGeom_Spacalv2LinkDef.h
PHG4CylinderGeom_Spacalv3.cc
PHG4CylinderGeom_Spacalv3.h
PHG4CylinderGeom_Spacalv3LinkDef.h
PHG4CylinderGeomContainer.cc
PHG4CylinderGeomContainer.h
PHG4CylinderGeomContainerLinkDef.h
PHG4CylinderGeomLinkDef.h
PHG4CylinderGeomv1.cc
PHG4CylinderGeomv1.h
PHG4CylinderGeomv1LinkDef.h
PHG4CylinderGeomv2.cc
PHG4CylinderGeomv2.h
PHG4CylinderGeomv2LinkDef.h
PHG4CylinderGeomv3.cc
PHG4CylinderGeomv3.h
PHG4CylinderGeomv3LinkDef.h
PHG4CylinderGeomv4.cc
PHG4CylinderGeomv4.h
PHG4CylinderGeomv4LinkDef.h
PHG4CylinderSteppingAction.cc
PHG4CylinderSteppingAction.h
PHG4CylinderSubsystem.cc
PHG4CylinderSubsystem.h
PHG4DetectorGroupSubsystem.cc
PHG4DetectorGroupSubsystem.h
PHG4DetectorSubsystem.cc
PHG4DetectorSubsystem.h
PHG4EnvelopeDetector.cc
PHG4EnvelopeDetector.h
PHG4EnvelopeSteppingAction.cc
PHG4EnvelopeSteppingAction.h
PHG4EnvelopeSubsystem.cc
PHG4EnvelopeSubsystem.h
PHG4EventActionClearZeroEdep.cc
PHG4EventActionClearZeroEdep.h
PHG4FullProjSpacalCellReco.cc
PHG4FullProjSpacalCellReco.h
PHG4FullProjSpacalDetector.cc
PHG4FullProjSpacalDetector.h
PHG4FullProjTiltedSpacalDetector.cc
PHG4FullProjTiltedSpacalDetector.h
PHG4GDMLDetector.cc
PHG4GDMLDetector.h
PHG4GDMLSubsystem.cc
PHG4GDMLSubsystem.h
PHG4GenHit.cc
PHG4GenHit.h
PHG4HcalCellReco.cc
PHG4HcalCellReco.h
PHG4HcalDefs.h
PHG4HcalDetector.cc
PHG4HcalDetector.h
PHG4HcalSteppingAction.cc
PHG4HcalSteppingAction.h
PHG4HcalSubsystem.cc
PHG4HcalSubsystem.h
PHG4InnerHcalDetector.cc
PHG4InnerHcalDetector.h
PHG4InnerHcalDisplayAction.cc
PHG4InnerHcalDisplayAction.h
PHG4InnerHcalSteppingAction.cc
PHG4InnerHcalSteppingAction.h
PHG4InnerHcalSubsystem.cc
PHG4InnerHcalSubsystem.h
PHG4OuterHcalDetector.cc
PHG4OuterHcalDetector.h
PHG4OuterHcalDisplayAction.cc
PHG4OuterHcalDisplayAction.h
PHG4OuterHcalField.cc
PHG4OuterHcalField.h
PHG4OuterHcalFieldSetup.cc
PHG4OuterHcalFieldSetup.h
PHG4OuterHcalSteppingAction.cc
PHG4OuterHcalSteppingAction.h
PHG4OuterHcalSubsystem.cc
PHG4OuterHcalSubsystem.h
PHG4PSTOFDetector.cc
PHG4PSTOFDetector.h
PHG4PSTOFSteppingAction.cc
PHG4PSTOFSteppingAction.h
PHG4PSTOFSubsystem.cc
PHG4PSTOFSubsystem.h
PHG4ScintillatorSlat.h
PHG4ScintillatorSlatContainer.cc
PHG4ScintillatorSlatContainer.h
PHG4ScintillatorSlatContainerLinkDef.h
PHG4ScintillatorSlatDefs.cc
PHG4ScintillatorSlatDefs.h
PHG4ScintillatorSlatDefsLinkDef.h
PHG4ScintillatorSlatLinkDef.h
PHG4ScintillatorSlatv1.cc
PHG4ScintillatorSlatv1.h
PHG4ScintillatorSlatv1LinkDef.h
PHG4SectorConstructor.cc
PHG4SectorConstructor.h
PHG4SectorDetector.cc
PHG4SectorDetector.h
PHG4SectorDisplayAction.cc
PHG4SectorDisplayAction.h
PHG4SectorSteppingAction.cc
PHG4SectorSteppingAction.h
PHG4SectorSubsystem.cc
PHG4SectorSubsystem.h
PHG4SpacalDetector.cc
PHG4SpacalDetector.h
PHG4SpacalDisplayAction.cc
PHG4SpacalDisplayAction.h
PHG4SpacalSteppingAction.cc
PHG4SpacalSteppingAction.h
PHG4SpacalSubsystem.cc
PHG4SpacalSubsystem.h
PHG4StepStatusDecode.cc
PHG4StepStatusDecode.h
PHG4TpcCylinderGeom.cc
PHG4TpcCylinderGeom.h
PHG4TpcCylinderGeomContainer.cc
PHG4TpcCylinderGeomContainer.h
PHG4TpcCylinderGeomContainerLinkDef.h
PHG4TpcCylinderGeomLinkDef.h
PHG4TrackStatusDecode.cc
PHG4TrackStatusDecode.h
PHG4ZDCDefs.h
PHG4ZDCDetector.cc
PHG4ZDCDetector.h
PHG4ZDCDisplayAction.cc
PHG4ZDCDisplayAction.h
PHG4ZDCSteppingAction.cc
PHG4ZDCSteppingAction.h
PHG4ZDCSubsystem.cc
PHG4ZDCSubsystem.h
g4epd
g4eval
g4gdml
g4histos
g4ihcal
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
g4vertex
g4waveformsim
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4BlockCellGeom.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4BlockCellGeom.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4BLOCKCELLGEOM_H
4
#define G4DETECTORS_PHG4BLOCKCELLGEOM_H
5
6
#include <
phool/PHObject.h
>
7
8
#include <iostream>
// for cout, ostream
9
#include <string>
10
#include <utility>
// for pair
11
12
class
PHG4BlockCellGeom
:
public
PHObject
13
{
14
public
:
15
PHG4BlockCellGeom
();
16
17
~PHG4BlockCellGeom
()
override
{}
18
19
// from PHObject
20
void
identify
(std::ostream&
os
= std::cout)
const override
;
21
22
int
get_layer
()
const
{
return
_layer
; }
23
int
get_binning
()
const
{
return
_binning
; }
24
25
int
get_zbins
()
const
;
26
double
get_zstep
()
const
;
27
double
get_zmin
()
const
;
28
29
int
get_xbins
()
const
;
30
double
get_xstep
()
const
;
31
double
get_xmin
()
const
;
32
33
int
get_etabins
()
const
;
34
double
get_etastep
()
const
;
35
double
get_etamin
()
const
;
36
37
std::pair<double, double>
get_zbounds
(
const
int
ibin
)
const
;
38
std::pair<double, double>
get_etabounds
(
const
int
ibin
)
const
;
39
std::pair<double, double>
get_xbounds
(
const
int
ibin
)
const
;
40
41
double
get_etacenter
(
const
int
ibin
)
const
;
42
double
get_zcenter
(
const
int
ibin
)
const
;
43
double
get_xcenter
(
const
int
ibin
)
const
;
44
45
int
get_etabin
(
const
double
eta
)
const
;
46
int
get_zbin
(
const
double
z
)
const
;
47
int
get_xbin
(
const
double
x
)
const
;
48
49
void
set_layer
(
const
int
i
) {
_layer
=
i
; }
50
void
set_binning
(
const
int
i
) {
_binning
=
i
; }
51
52
void
set_zbins
(
const
int
i
);
53
void
set_zmin
(
const
double
z
);
54
void
set_zstep
(
const
double
z
);
55
56
void
set_xbins
(
const
int
i
);
57
void
set_xstep
(
const
double
x
);
58
void
set_xmin
(
const
double
x
);
59
60
void
set_etabins
(
const
int
i
);
61
void
set_etamin
(
const
double
z
);
62
void
set_etastep
(
const
double
z
);
63
64
protected
:
65
void
check_binning_method
(
const
int
i
)
const
;
66
void
check_binning_method_eta
(
const
std::string
& src =
""
)
const
;
67
void
check_binning_method_x
(
const
std::string
& src =
""
)
const
;
68
std::string
methodname
(
const
int
i
)
const
;
69
70
int
_layer
;
71
int
_binning
;
72
73
int
_nzbins
;
74
double
_zmin
;
75
double
_zstep
;
76
77
int
_nxbins
;
78
double
_xmin
;
79
double
_xstep
;
80
81
ClassDefOverride(
PHG4BlockCellGeom
, 1)
82
};
83
84
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4BlockCellGeom.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:12
using
1.8.2 with
sPHENIX GitHub integration