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
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
CylinderGeomMicromegas.cc
CylinderGeomMicromegas.h
CylinderGeomMicromegasLinkDef.h
MicromegasCalibrationData.cc
MicromegasCalibrationData.h
MicromegasClusterizer.cc
MicromegasClusterizer.h
MicromegasCombinedDataDecoder.cc
MicromegasCombinedDataDecoder.h
MicromegasCombinedDataEvaluation.cc
MicromegasCombinedDataEvaluation.h
MicromegasCombinedDataEvaluationLinkDef.h
MicromegasDefs.cc
MicromegasDefs.h
MicromegasHotChannelMapData.cc
MicromegasHotChannelMapData.h
MicromegasMapping.cc
MicromegasMapping.h
MicromegasRawDataCalibration.cc
MicromegasRawDataCalibration.h
MicromegasRawDataDecoder.cc
MicromegasRawDataDecoder.h
MicromegasRawDataEvaluation.cc
MicromegasRawDataEvaluation.h
MicromegasRawDataEvaluationLinkDef.h
MicromegasTile.h
MicromegasTileLinkDef.h
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
MicromegasCombinedDataDecoder.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MicromegasCombinedDataDecoder.h
1
#ifndef MICROMEGAS_MICROMEGASCOMBINEDDATADECODER_H
2
#define MICROMEGAS_MICROMEGASCOMBINEDDATADECODER_H
3
9
#include "
MicromegasCalibrationData.h
"
10
#include "
MicromegasHotChannelMapData.h
"
11
#include "
MicromegasMapping.h
"
12
13
#include <
fun4all/SubsysReco.h
>
14
15
#include <memory>
16
#include <string>
17
18
class
PHCompositeNode
;
19
21
class
MicromegasCombinedDataDecoder
:
public
SubsysReco
22
{
23
public
:
24
26
MicromegasCombinedDataDecoder
(
const
std::string
&
name
=
"MicromegasCombinedDataDecoder"
);
27
29
int
Init
(
PHCompositeNode
*)
override
;
30
32
int
InitRun
(
PHCompositeNode
*)
override
;
33
35
int
process_event
(
PHCompositeNode
*)
override
;
36
38
int
End
(
PHCompositeNode
*)
override
;
39
41
void
set_calibration_file
(
const
std::string
&
value
) {
m_calibration_filename
=
value
; }
42
44
void
set_hot_channel_map_file
(
const
std::string
&
value
) {
m_hot_channel_map_filename
=
value
; }
45
47
void
set_n_sigma
(
double
value
) {
m_n_sigma
=
value
; }
48
50
51
void
set_min_adc
(
double
value
) {
m_min_adc
=
value
; }
52
54
void
set_sample_min
(
int
value
) {
m_sample_min
=
value
; }
55
57
void
set_sample_max
(
int
value
) {
m_sample_max
=
value
; }
58
59
private
:
60
62
std::string
m_rawhitnodename
=
"MICROMEGASRAWHIT"
;
63
65
66
std::string
m_calibration_filename
=
"TPOT_Pedestal_000.root"
;
67
MicromegasCalibrationData
m_calibration_data
;
69
71
72
std::string
m_hot_channel_map_filename
;
73
MicromegasHotChannelMapData
m_hot_channels
;
75
77
MicromegasMapping
m_mapping
;
78
80
double
m_n_sigma
= 5;
81
83
/* This removes faulty channels for which calibration has failed */
84
double
m_min_adc
= 50;
85
87
int
m_sample_min
= 0;
88
90
int
m_sample_max
= 100;
91
93
using
hitcountmap_t
= std::map<TrkrDefs::hitsetkey,int>;
94
hitcountmap_t
m_hitcounts
;
95
96
};
97
98
#endif
coresoftware
blob
master
offline
packages
micromegas
MicromegasCombinedDataDecoder.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration