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
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
BEmcCluster.cc
BEmcCluster.h
BEmcProfile.cc
BEmcProfile.h
BEmcRec.cc
BEmcRec.h
BEmcRecCEMC.cc
BEmcRecCEMC.h
CaloGeomMapping.cc
CaloGeomMapping.h
CaloRecoUtility.cc
CaloRecoUtility.h
CaloTowerBuilder.cc
CaloTowerBuilder.h
CaloTowerCalib.cc
CaloTowerCalib.h
CaloTowerDefs.h
CaloTowerStatus.cc
CaloTowerStatus.h
CaloWaveformFitting.cc
CaloWaveformFitting.h
CaloWaveformProcessing.cc
CaloWaveformProcessing.h
DeadHotMapLoader.cc
DeadHotMapLoader.h
PHMakeGroups.h
RawClusterBuilderGraph.cc
RawClusterBuilderGraph.h
RawClusterBuilderTemplate.cc
RawClusterBuilderTemplate.h
RawClusterBuilderTopo.cc
RawClusterBuilderTopo.h
RawClusterDeadHotMask.cc
RawClusterDeadHotMask.h
RawClusterPositionCorrection.cc
RawClusterPositionCorrection.h
RawClusterZVertexRecorrect.cc
RawClusterZVertexRecorrect.h
RawTowerCalibration.cc
RawTowerCalibration.h
RawTowerCombiner.cc
RawTowerCombiner.h
RawTowerDeadTowerInterp.cc
RawTowerDeadTowerInterp.h
TowerInfoDeadHotMask.cc
TowerInfoDeadHotMask.h
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
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
CaloTowerStatus.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CaloTowerStatus.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef CALOTOWERSTATUS_H
4
#define CALOTOWERSTATUS_H
5
6
#include "
CaloTowerDefs.h
"
7
8
#include <calobase/TowerInfoContainer.h>
// for TowerInfoContainer, TowerIn...
9
10
#include <
fun4all/SubsysReco.h
>
11
12
#include <cassert>
13
#include <iostream>
14
#include <string>
15
16
class
CDBTTree
;
17
class
PHCompositeNode
;
18
class
TowerInfoContainer
;
19
20
class
CaloTowerStatus
:
public
SubsysReco
21
{
22
public
:
23
CaloTowerStatus
(
const
std::string
&
name
=
"CaloTowerStatus"
);
24
25
~CaloTowerStatus
()
override
;
26
27
int
InitRun
(
PHCompositeNode
*topNode)
override
;
28
int
process_event
(
PHCompositeNode
*topNode)
override
;
29
void
CreateNodeTree
(
PHCompositeNode
*topNode);
30
31
void
set_detector_type
(
CaloTowerDefs::DetectorSystem
dettype)
32
{
33
m_dettype
= dettype;
34
return
;
35
}
36
void
set_inputNodePrefix
(
const
std::string
&
name
)
37
{
38
m_inputNodePrefix
=
name
;
39
return
;
40
}
41
void
set_badChi2_treshold
(
float
threshold)
42
{
43
badChi2_treshold
= threshold;
44
return
;
45
}
46
void
set_fraction_badChi2_threshold
(
float
threshold)
47
{
48
fraction_badChi2_threshold
= threshold;
49
return
;
50
}
51
void
set_time_cut
(
float
threshold)
52
{
53
time_cut
= threshold;
54
return
;
55
}
56
57
private
:
58
TowerInfoContainer
*
m_raw_towers
{
nullptr
};
59
60
CDBTTree
*
m_cdbttree_chi2
{
nullptr
};
61
CDBTTree
*
m_cdbttree_time
{
nullptr
};
62
CDBTTree
*
m_cdbttree_hotMap
{
nullptr
};
63
64
bool
m_doHotChi2
{
true
};
65
bool
m_doTime
{
true
};
66
bool
m_doHotMap
{
true
};
67
68
CaloTowerDefs::DetectorSystem
m_dettype
{
CaloTowerDefs::DETECTOR_INVALID
};
69
70
std::string
m_detector
;
71
std::string
m_fieldname_time
;
72
std::string
m_calibName_time
;
73
std::string
m_fieldname_chi2
;
74
std::string
m_calibName_chi2
;
75
std::string
m_fieldname_hotMap
;
76
std::string
m_calibName_hotMap
;
77
std::string
m_inputNodePrefix
{
"TOWERS_"
};
78
79
float
badChi2_treshold
= 1e4;
80
float
fraction_badChi2_threshold
= 0.01;
81
float
time_cut
= 2;
// number of samples from the mean time for the channel in the run
82
};
83
84
#endif // CALOTOWERBUILDER_H
coresoftware
blob
master
offline
packages
CaloReco
CaloTowerStatus.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration