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
MicromegasDefs.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MicromegasDefs.h
1
// Tell emacs that this is a C++ source
2
// This file is really -*- C++ -*-.
3
4
#ifndef MICROMEGAS_MICROMEGASDEFS_H
5
#define MICROMEGAS_MICROMEGASDEFS_H
6
12
#include <
trackbase/TrkrDefs.h
>
13
14
#include <array>
15
16
namespace
MicromegasDefs
17
{
18
20
enum class
SegmentationType
: uint8_t
21
{
22
SEGMENTATION_Z
,
23
SEGMENTATION_PHI
24
};
25
27
28
enum class
DriftDirection
: uint8_t
29
{
30
INWARD,
31
OUTWARD
32
};
33
42
static
constexpr
unsigned
int
kBitShiftSegmentation
__attribute__
((unused)) = 8;
43
static
constexpr
unsigned
int
kBitShiftTileId
__attribute__
((unused)) = 0;
44
46
static
constexpr
unsigned
int
kBitShiftStrip
__attribute__
((unused)) = 0;
47
57
TrkrDefs::hitsetkey
genHitSetKey
(uint8_t
layer
,
SegmentationType
segmentation, uint8_t
tile
);
58
64
SegmentationType
getSegmentationType
(
TrkrDefs::hitsetkey
);
65
71
uint8_t
getTileId
(
TrkrDefs::hitsetkey
);
72
77
TrkrDefs::hitkey
genHitKey
(uint16_t strip );
78
80
uint16_t
getStrip
(
TrkrDefs::hitkey
);
81
87
SegmentationType
getSegmentationType
(
TrkrDefs::cluskey
);
88
94
uint8_t
getTileId
(
TrkrDefs::cluskey
);
95
97
104
static
constexpr
int
m_npackets
= 3;
105
static
constexpr std::array<unsigned int,m_npackets>
m_packet_ids
= {5000, 5001, 5002};
106
108
static
constexpr
int
m_nchannels_fee
= 256;
109
111
static
constexpr
int
m_nfee
= 16;
112
114
static
constexpr
int
m_nchannels_total
=
m_nfee
*
m_nchannels_fee
;
115
117
static
constexpr
int
m_max_adc
= 1024;
118
119
}
120
121
#endif
coresoftware
blob
master
offline
packages
micromegas
MicromegasDefs.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration