ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4tpc
PHG4TpcCentralMembrane.cc
PHG4TpcCentralMembrane.h
PHG4TpcDefs.h
PHG4TpcDetector.cc
PHG4TpcDetector.h
PHG4TpcDigitizer.cc
PHG4TpcDigitizer.h
PHG4TpcDirectLaser.cc
PHG4TpcDirectLaser.h
PHG4TpcDisplayAction.cc
PHG4TpcDisplayAction.h
PHG4TpcDistortion.cc
PHG4TpcDistortion.h
PHG4TpcElectronDrift.cc
PHG4TpcElectronDrift.h
PHG4TpcEndCapDetector.cc
PHG4TpcEndCapDetector.h
PHG4TpcEndCapDisplayAction.cc
PHG4TpcEndCapDisplayAction.h
PHG4TpcEndCapSteppingAction.cc
PHG4TpcEndCapSteppingAction.h
PHG4TpcEndCapSubsystem.cc
PHG4TpcEndCapSubsystem.h
PHG4TpcPadBaselineShift.cc
PHG4TpcPadBaselineShift.h
PHG4TpcPadPlane.cc
PHG4TpcPadPlane.h
PHG4TpcPadPlaneReadout.cc
PHG4TpcPadPlaneReadout.h
PHG4TpcSteppingAction.cc
PHG4TpcSteppingAction.h
PHG4TpcSubsystem.cc
PHG4TpcSubsystem.h
g4trackfastsim
g4vertex
tpcresponse
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4TpcPadBaselineShift.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TpcPadBaselineShift.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4TPC_PHG4TpcPadBaselineShift_H
4
#define G4TPC_PHG4TpcPadBaselineShift_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <climits>
9
#include <cmath>
10
#include <string>
11
#include <utility>
// for pair
12
13
class
PHCompositeNode
;
14
15
class
TTree;
16
class
TFile;
17
18
class
TrkrHitSetContainer
;
19
class
TrkrClusterContainer
;
20
class
TrkrClusterHitAssoc
;
21
class
PHG4CylinderCellGeom
;
22
23
struct
ActsSurfaceMaps
;
24
struct
ActsTrackingGeometry
;
25
26
class
PHG4TpcPadBaselineShift
:
public
SubsysReco
27
{
28
public
:
29
PHG4TpcPadBaselineShift
(
const
std::string &
name
=
"PHG4TpcPadBaselineShift"
);
30
31
virtual
~PHG4TpcPadBaselineShift
();
32
int
Init
(
PHCompositeNode
*topNode)
override
;
33
int
InitRun
(
PHCompositeNode
*topNode)
override
;
34
int
process_event
(
PHCompositeNode
*topNode)
override
;
35
//int ResetEvent(PHCompositeNode *topNode) override;
36
37
//int EndRun(const int runnumber) override;
38
39
int
End
(
PHCompositeNode
*topNode)
override
;
40
41
//int Reset(PHCompositeNode * /*topNode*/) override;
42
43
//void Print(const std::string &what = "ALL") const override;
44
45
void
setScale
(
float
CScale);
46
void
setFileName
(
const
std::string &
filename
);
47
void
writeTree
(
int
f_writeTree);
48
49
private
:
50
bool
is_in_sector_boundary
(
int
phibin,
int
sector,
PHG4CylinderCellGeom
*layergeom);
51
float
_hit_z
= NAN;
52
float
_hit_r
= NAN;
53
float
_hit_phi
= NAN;
54
float
_hit_e
= NAN;
55
int
_hit_adc
=
INT_MIN
;
56
int
_hit_adc_bls
=
INT_MIN
;
57
int
_hit_layer
=
INT_MIN
;
58
int
_hit_sector
=
INT_MIN
;
59
60
TrkrHitSetContainer
*
m_hits
=
nullptr
;
61
TrkrClusterContainer
*
m_clusterlist
=
nullptr
;
62
TrkrClusterHitAssoc
*
m_clusterhitassoc
=
nullptr
;
63
ActsSurfaceMaps
*
m_surfMaps
=
nullptr
;
64
ActsTrackingGeometry
*
m_tGeometry
=
nullptr
;
65
66
// bool do_hit_assoc = true;
67
// double pedestal = 74.4;
68
int
_writeTree
= 0;
69
double
SectorFiducialCut
= 0.5;
70
71
// int NSearch = 2;
72
int
NZBinsMax
= 0;
73
float
_CScale
= 1.;
74
75
TFile *
outfile
=
nullptr
;
76
std::string
_filename
=
"./hitsBLS.root"
;
77
78
TTree *
_rawHits
=
nullptr
;
79
};
80
81
#endif // PHG4TpcPadBaselineShift_H
coresoftware
blob
master
simulation
g4simulation
g4tpc
PHG4TpcPadBaselineShift.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration