Project
Loading...
Searching...
No Matches
o2::zdc Namespace Reference

Namespaces

namespace  fastsim
 

Classes

class  BaselineCalib
 
struct  BaselineCalibBinData
 
struct  BaselineCalibChData
 
struct  BaselineCalibConfig
 
struct  BaselineCalibData
 
class  BaselineCalibEPN
 
class  BaselineCalibEPNSpec
 
class  BaselineCalibSpec
 
struct  BaselineCalibSummaryData
 
struct  BaselineParam
 
struct  BCData
 
struct  BCRecData
 
struct  CalibParamZDC
 
struct  ChannelData
 
struct  ChannelSimCondition
 
struct  CTF
 wrapper for the Entropy-encoded triggers and cells of the TF More...
 
class  CTFCoder
 
struct  CTFHeader
 Header for a single CTF. More...
 
class  CTFHelper
 
class  Detector
 
class  DigiParser
 
class  DigiReco
 
struct  DigiRecoTDC
 
class  DigiRecoTest
 
class  Digitizer
 
class  DigitizerTest
 
class  DigitParserSpec
 
class  DigitReader
 
class  DigitRecoSpec
 
class  Digits2Raw
 
class  DumpRaw
 
class  EntropyDecoderSpec
 
class  EntropyEncoderSpec
 
union  EventChData
 
struct  EventData
 
struct  FEEConfigMap
 
struct  FEEFillingMap
 
class  FragmentParam
 
class  Geometry
 
class  Hit
 
class  InterCalib
 
struct  InterCalibConfig
 
struct  InterCalibData
 
class  InterCalibEPN
 
class  InterCalibEPNSpec
 
class  InterCalibSpec
 
class  MCLabel
 
struct  Module
 
struct  ModuleConfig
 
union  ModuleTriggerMapData
 
class  NoiseCalib
 
struct  NoiseCalibBinData
 
struct  NoiseCalibChData
 
struct  NoiseCalibData
 
class  NoiseCalibEPN
 
class  NoiseCalibEPNSpec
 
class  NoiseCalibSpec
 
struct  NoiseCalibSummaryData
 
struct  NoiseParam
 
struct  OrbitData
 
struct  OrbitRawData
 
struct  OrbitRecData
 
class  RawReaderZDC
 
struct  RecEvent
 
struct  RecEventAux
 
struct  RecEventFlat
 
class  RecEventReader
 
struct  RecEventScale
 
struct  RecoConfigZDC
 
struct  RecoParamZDC
 
class  RecoReader
 
struct  SimCondition
 
class  SpatialPhotonResponse
 
class  TDCCalib
 
struct  TDCCalibConfig
 
struct  TDCCalibData
 
class  TDCCalibEPN
 
class  TDCCalibEPNSpec
 
class  TDCCalibSpec
 
struct  TriggerChannelConfig
 
class  WaveformCalib
 
struct  WaveformCalibChData
 
struct  WaveformCalibChParam
 
struct  WaveformCalibConfig
 
struct  WaveformCalibData
 
class  WaveformCalibEPN
 
class  WaveformCalibEPNSpec
 
struct  WaveformCalibParam
 
struct  WaveformCalibQueue
 
class  WaveformCalibSpec
 
class  ZDCDataReaderDPLSpec
 
class  ZDCDCSConfigProcessor
 
class  ZDCDCSDataProcessor
 
struct  ZDCDCSinfo
 
class  ZDCDCSProcessor
 
class  ZDCDPLDigitizerTask
 
struct  ZDCEnergy
 
struct  ZDCEnergyParam
 
struct  ZDCModuleMap
 
class  ZDCRawParserDPLSpec
 
struct  ZDCSimParam
 
struct  ZDCTDCCorr
 
struct  ZDCTDCData
 
struct  ZDCTDCDataErr
 
struct  ZDCTDCParam
 
struct  ZDCTowerParam
 
struct  ZDCWaveform
 

Typedefs

using FirstEntry = int
 
using NElem = int
 
using zdcBaseline_t = int16_t
 
using DPID = o2::dcs::DataPointIdentifier
 
using DPVAL = o2::dcs::DataPointValue
 
using DPCOM = o2::dcs::DataPointCompositeObject
 
using CcdbManager = o2::ccdb::BasicCCDBManager
 
using clbUtils = o2::calibration::Utils
 
using HighResClock = std::chrono::high_resolution_clock
 
using Duration = std::chrono::duration< double, std::ratio< 1, 1 > >
 
using O2_ZDC_DIGIRECO_FLT = float
 
template<typename T >
using BranchDefinition = MakeRootTreeWriterSpec::BranchDefinition< T >
 

Enumerations

enum  DetectorID {
  DetIDOffs = 1 , ZNA = 1 , ZPA = 2 , ZEM = 3 ,
  ZNC = 4 , ZPC = 5 , MinDetID = DetIDOffs , MaxDetID = 5
}
 
enum  ChannelTypeZNP {
  Common , Ch1 , Ch2 , Ch3 ,
  Ch4 , Sum
}
 
enum  ChannelTypeZEM { ZEMCh1 , ZEMCh2 }
 
enum  TDCChannelID {
  TDCZNAC , TDCZNAS , TDCZPAC , TDCZPAS ,
  TDCZEM1 , TDCZEM2 , TDCZNCC , TDCZNCS ,
  TDCZPCC , TDCZPCS
}
 
enum  Ped {
  PedND = 0 , PedEv = 1 , PedOr = 2 , PedQC = 3 ,
  PedMissing = 4
}
 
enum  Msg {
  MsgGeneric = 0 , MsgTDCPedQC = 1 , MsgTDCPedMissing = 2 , MsgADCPedOr = 3 ,
  MsgADCPedQC = 4 , MsgADCPedMissing = 5 , MsgOffPed = 6 , MsgPilePed = 7 ,
  MsgPileTM = 8 , MsgADCMissingwTDC = 9 , MsgTDCPileEvC = 10 , MsgTDCPileEvE = 11 ,
  MsgTDCPileM1C = 12 , MsgTDCPileM1E = 13 , MsgTDCPileM2C = 14 , MsgTDCPileM2E = 15 ,
  MsgTDCPileM3C = 16 , MsgTDCPileM3E = 17 , MsgTDCSigE = 18 , MsgEnd
}
 

Functions

struct __attribute__ ((__packed__)) ModuleTriggerMap
 
constexpr float getTOFCorrection (int det)
 
constexpr int toChannel (int det, int tower)
 
constexpr const charchannelName (int channel)
 
constexpr int toDet (int channel, int &tower)
 
std::string removeNamespace (const std::string &strin)
 
bool endsWith (const std::string &str, const std::string &suffix)
 
std::string ccdbShortcuts (std::string ccdbHost, std::string cln, std::string path)
 
framework::DataProcessorSpec getBaselineCalibEPNSpec ()
 
framework::DataProcessorSpec getBaselineCalibSpec ()
 
framework::DataProcessorSpec getInterCalibEPNSpec ()
 
framework::DataProcessorSpec getInterCalibSpec ()
 
framework::DataProcessorSpec getNoiseCalibEPNSpec ()
 
framework::DataProcessorSpec getNoiseCalibSpec ()
 
framework::DataProcessorSpec getTDCCalibEPNSpec ()
 
framework::DataProcessorSpec getTDCCalibSpec ()
 
framework::DataProcessorSpec getWaveformCalibEPNSpec ()
 
framework::DataProcessorSpec getWaveformCalibSpec ()
 
framework::DataProcessorSpec getZDCRawParserDPLSpec ()
 
framework::DataProcessorSpec getDigitParserSpec (const int verbosity)
 create a processor spec
 
framework::DataProcessorSpec getDigitReaderSpec (bool useMC)
 
framework::DataProcessorSpec getDigitRecoSpec (const int verbosity, const bool enableDebugOut, const bool enableZDCTDCCorr, const bool enableZDCEnergyParam, const bool enableZDCTowerParam, const bool enableBaselineParam)
 create a processor spec
 
framework::DataProcessorSpec getEntropyDecoderSpec (int verbosity, unsigned int sspec)
 create a processor spec
 
framework::DataProcessorSpec getEntropyEncoderSpec (bool selIR=false)
 create a processor spec
 
framework::WorkflowSpec getParserWorkflow (const int verbosity)
 
framework::DataProcessorSpec getRecEventReaderSpec (bool useMC)
 
framework::DataProcessorSpec getRecoReaderSpec ()
 
framework::WorkflowSpec getRecoWorkflow (const bool useMC, const bool disableRootInp, const bool disableRootOut, const int verbosity, const bool enableDebugOut, const bool enableZDCTDCCorr, const bool enableZDCEnergyParam, const bool enableZDCTowerParam, const bool enableBaselineParam)
 
framework::DataProcessorSpec getZDCDataReaderDPLSpec (const RawReaderZDC &rawReader, const bool askSTFDist)
 
framework::DataProcessorSpec getZDCDigitWriterDPLSpec (bool mctruth, bool simVersion)
 create a processor spec
 
framework::DataProcessorSpec getZDCRecoWriterDPLSpec (std::string fname="zdcreco.root")
 create a processor spec
 
o2::framework::DataProcessorSpec getZDCDigitizerSpec (int channel, bool mctruth)
 

Variables

constexpr int IdDummy = -1
 
constexpr int IdVoid = -2
 
constexpr int IdZNAC = 0
 
constexpr int IdZNA1 = 1
 
constexpr int IdZNA2 = 2
 
constexpr int IdZNA3 = 3
 
constexpr int IdZNA4 = 4
 
constexpr int IdZNASum = 5
 
constexpr int IdZPAC = 6
 
constexpr int IdZPA1 = 7
 
constexpr int IdZPA2 = 8
 
constexpr int IdZPA3 = 9
 
constexpr int IdZPA4 = 10
 
constexpr int IdZPASum = 11
 
constexpr int IdZEM1 = 12
 
constexpr int IdZEM2 = 13
 
constexpr int IdZNCC = 14
 
constexpr int IdZNC1 = 15
 
constexpr int IdZNC2 = 16
 
constexpr int IdZNC3 = 17
 
constexpr int IdZNC4 = 18
 
constexpr int IdZNCSum = 19
 
constexpr int IdZPCC = 20
 
constexpr int IdZPC1 = 21
 
constexpr int IdZPC2 = 22
 
constexpr int IdZPC3 = 23
 
constexpr int IdZPC4 = 24
 
constexpr int IdZPCSum = 25
 
constexpr unsigned short Id_w0 = 0x0
 
constexpr unsigned short Id_w1 = 0x1
 
constexpr unsigned short Id_w2 = 0x2
 
constexpr unsigned short Id_wn = 0x3
 
constexpr int NWPerGBTW = 4
 
constexpr int NBPerGBTW = 4 * NWPerGBTW
 
constexpr int PayloadPerGBTW = 10
 
constexpr int NTimeBinsPerBC = 12
 
constexpr int NBCReadOut = 4
 
constexpr int NTimeBinsReadout = NTimeBinsPerBC * NBCReadOut
 
constexpr int16_t Int16MaxVal = 0x7fff
 
constexpr int NChannelsZN = 6
 
constexpr int NChannelsZP = 6
 
constexpr int NChannelsZEM = 2
 
constexpr float ChannelTimeBinNS = 2.
 
constexpr float SampleLenghtNS = NTimeBinsPerBC * ChannelTimeBinNS
 
constexpr int NChannels = 2 * (NChannelsZN + NChannelsZP) + NChannelsZEM
 
constexpr uint8_t ALICETriggerMask = 0x1
 
constexpr int NModules = 8
 
constexpr int NChPerModule = 4
 
constexpr int NLinks = NModules * 2
 
constexpr int NDigiChannels = NModules * NChPerModule
 
constexpr int NWPerBc = 3
 
constexpr int MaxTriggerChannels = NChannels
 
constexpr int ADCMin = -2048
 
constexpr int ADCMax = 2047
 
constexpr int ADCRange = 4096
 
constexpr float FInfty = std::numeric_limits<float>::infinity()
 
constexpr float DInfty = std::numeric_limits<double>::infinity()
 
constexpr float EnergyOffset = 10000
 
constexpr float EnergyUnit = 0.01
 
constexpr uint32_t EnergyMask = 0x07ffffff
 
constexpr uint32_t EnergyChMask = 0xf8000000
 
constexpr int MaxTDCValues = 5
 
constexpr int NTDCChannels = 10
 
constexpr uint32_t ZDCRefInitVal = 0xffffffff
 
constexpr int TSL = 6
 
constexpr int TSN = 200
 
constexpr int TSNH = TSN / 2
 
constexpr int NTS = 2 * TSL * TSN + 1
 
constexpr int NIS = NTimeBinsPerBC * TSN
 
constexpr float FTDCVal = o2::constants::lhc::LHCBunchSpacingNS / NTimeBinsPerBC / TSN
 
constexpr float FOffset = 8.
 
constexpr int NBucket = 10
 
constexpr int NBKZero = 5
 
constexpr int NFParA = 3
 
constexpr int NFParT = 3
 
constexpr int NBCAn = 3
 
constexpr uint32_t MaskZNA = 0x0000001f
 
constexpr uint32_t MaskAllZNA = 0x0000003f
 
constexpr uint32_t MaskZPA = 0x000007c0
 
constexpr uint32_t MaskAllZPA = 0x00000fc0
 
constexpr uint32_t MaskZEM = 0x00003000
 
constexpr uint32_t MaskZNC = 0x000fc000
 
constexpr uint32_t MaskAllZNC = 0x0007f000
 
constexpr uint32_t MaskZPC = 0x01f00000
 
constexpr uint32_t MaskAllZPC = 0x03f00000
 
constexpr std::string_view ChannelNames []
 
const int TDCSignal [NTDCChannels]
 
const int SignalTDC [NChannels]
 
constexpr int DbgZero = 0
 
constexpr int DbgMinimal = 1
 
constexpr int DbgMedium = 2
 
constexpr int DbgFull = 3
 
constexpr int DbgExtra = 4
 
const std::string CCDBPathConfigSim = "ZDC/Config/Sim"
 
const std::string CCDBPathConfigModule = "ZDC/Config/Module"
 
const std::string CCDBPathRecoConfigZDC = "ZDC/Calib/RecoConfigZDC"
 
const std::string CCDBPathTDCCalib = "ZDC/Calib/TDCCalib"
 
const std::string CCDBPathTDCCalibConfig = "ZDC/Calib/TDCCalibConfig"
 
const std::string CCDBPathTDCCorr = "ZDC/Calib/TDCCorr"
 
const std::string CCDBPathEnergyCalib = "ZDC/Calib/EnergyCalib"
 
const std::string CCDBPathTowerCalib = "ZDC/Calib/TowerCalib"
 
const std::string CCDBPathInterCalibConfig = "ZDC/Calib/InterCalibConfig"
 
const std::string CCDBPathWaveformCalib = "ZDC/Calib/WaveformCalib"
 
const std::string CCDBPathWaveformCalibConfig = "ZDC/Calib/WaveformCalibConfig"
 
const std::string CCDBPathBaselineCalib = "ZDC/Calib/BaselineCalib"
 
const std::string CCDBPathBaselineCalibConfig = "ZDC/Calib/BaselineCalibConfig"
 
const std::string CCDBPathNoiseCalib = "ZDC/Calib/NoiseCalib"
 
constexpr std::string_view MsgText []
 
constexpr std::array< int, 10 > ChEnergyCalib
 
constexpr std::array< int, 17 > ChTowerCalib
 
constexpr std::array< int, NChannelsCaloCommonPM
 
constexpr int DummyIntRange = -NTimeBinsPerBC - 1
 
constexpr std::string_view DummyName = "Dumm"
 
constexpr std::string_view VoidName = " NA "
 
constexpr int WaveformCalib_NBB = 3
 
constexpr int WaveformCalib_NBA = 6
 
constexpr int WaveformCalib_NBT = WaveformCalib_NBB + WaveformCalib_NBA + 1
 
constexpr int WaveformCalib_NW = WaveformCalib_NBT * NIS
 
constexpr int BaselineMin = -32768
 
constexpr int BaselineMax = 32767
 
constexpr int BaselineRange = 65536
 
std::array< double, NTDCChannels *NBCAn *NBucket *NBucket *NFParT+1 > fit_ts_par
 
std::array< double, NTDCChannels *NBCAn *NBucket *NBucket *NFParA+1 > fit_as_par
 

Typedef Documentation

◆ BranchDefinition

template<typename T >
using o2::zdc::BranchDefinition = typedef MakeRootTreeWriterSpec::BranchDefinition<T>

Definition at line 30 of file ZDCDigitWriterDPLSpec.cxx.

◆ CcdbManager

Definition at line 48 of file ZDCDCSDataProcessorSpec.h.

◆ clbUtils

Definition at line 49 of file ZDCDCSDataProcessorSpec.h.

◆ DPCOM

◆ DPID

Definition at line 38 of file ZDCDCSProcessor.h.

◆ DPVAL

Definition at line 39 of file ZDCDCSProcessor.h.

◆ Duration

using o2::zdc::Duration = typedef std::chrono::duration<double, std::ratio<1, 1> >

Definition at line 51 of file ZDCDCSDataProcessorSpec.h.

◆ FirstEntry

using o2::zdc::FirstEntry = typedef int

Definition at line 37 of file RecEventFlat.h.

◆ HighResClock

using o2::zdc::HighResClock = typedef std::chrono::high_resolution_clock

Definition at line 50 of file ZDCDCSDataProcessorSpec.h.

◆ NElem

using o2::zdc::NElem = typedef int

Definition at line 38 of file RecEventFlat.h.

◆ O2_ZDC_DIGIRECO_FLT

using o2::zdc::O2_ZDC_DIGIRECO_FLT = typedef float

Definition at line 49 of file DigiReco.h.

◆ zdcBaseline_t

using o2::zdc::zdcBaseline_t = typedef int16_t

Definition at line 352 of file Constants.h.

Enumeration Type Documentation

◆ ChannelTypeZEM

Enumerator
ZEMCh1 
ZEMCh2 

Definition at line 50 of file Constants.h.

◆ ChannelTypeZNP

Enumerator
Common 
Ch1 
Ch2 
Ch3 
Ch4 
Sum 

Definition at line 44 of file Constants.h.

◆ DetectorID

Enumerator
DetIDOffs 
ZNA 
ZPA 
ZEM 
ZNC 
ZPC 
MinDetID 
MaxDetID 

Definition at line 36 of file Constants.h.

◆ Msg

Enumerator
MsgGeneric 
MsgTDCPedQC 
MsgTDCPedMissing 
MsgADCPedOr 
MsgADCPedQC 
MsgADCPedMissing 
MsgOffPed 
MsgPilePed 
MsgPileTM 
MsgADCMissingwTDC 
MsgTDCPileEvC 
MsgTDCPileEvE 
MsgTDCPileM1C 
MsgTDCPileM1E 
MsgTDCPileM2C 
MsgTDCPileM2E 
MsgTDCPileM3C 
MsgTDCPileM3E 
MsgTDCSigE 
MsgEnd 

Definition at line 240 of file Constants.h.

◆ Ped

Enumerator
PedND 
PedEv 
PedOr 
PedQC 
PedMissing 

Definition at line 233 of file Constants.h.

◆ TDCChannelID

Enumerator
TDCZNAC 
TDCZNAS 
TDCZPAC 
TDCZPAS 
TDCZEM1 
TDCZEM2 
TDCZNCC 
TDCZNCS 
TDCZPCC 
TDCZPCS 

Definition at line 106 of file Constants.h.

Function Documentation

◆ __attribute__()

struct o2::zdc::__attribute__ ( (__packed__)  )

Definition at line 1 of file BCData.h.

◆ ccdbShortcuts()

std::string o2::zdc::ccdbShortcuts ( std::string  ccdbHost,
std::string  cln,
std::string  path 
)

Definition at line 48 of file Helpers.h.

◆ channelName()

constexpr const char * o2::zdc::channelName ( int  channel)
constexpr

Definition at line 318 of file Constants.h.

◆ endsWith()

bool o2::zdc::endsWith ( const std::string &  str,
const std::string &  suffix 
)

Definition at line 42 of file Helpers.h.

◆ getBaselineCalibEPNSpec()

framework::DataProcessorSpec o2::zdc::getBaselineCalibEPNSpec ( )

Definition at line 171 of file BaselineCalibEPNSpec.cxx.

◆ getBaselineCalibSpec()

framework::DataProcessorSpec o2::zdc::getBaselineCalibSpec ( )

Definition at line 227 of file BaselineCalibSpec.cxx.

◆ getDigitParserSpec()

framework::DataProcessorSpec o2::zdc::getDigitParserSpec ( const int  verbosity = 0)

create a processor spec

Definition at line 108 of file DigitParserSpec.cxx.

◆ getDigitReaderSpec()

DataProcessorSpec o2::zdc::getDigitReaderSpec ( bool  useMC)

create a processor spec read simulated ZDC digits from a root file

Definition at line 85 of file DigitReaderSpec.cxx.

◆ getDigitRecoSpec()

framework::DataProcessorSpec o2::zdc::getDigitRecoSpec ( const int  verbosity = 0,
const bool  enableDebugOut = true,
const bool  enableZDCTDCCorr = true,
const bool  enableZDCEnergyParam = true,
const bool  enableZDCTowerParam = true,
const bool  enableBaselineParam = true 
)

create a processor spec

Definition at line 281 of file DigitRecoSpec.cxx.

◆ getEntropyDecoderSpec()

DataProcessorSpec o2::zdc::getEntropyDecoderSpec ( int  verbosity,
unsigned int  sspec 
)

create a processor spec

Definition at line 84 of file EntropyDecoderSpec.cxx.

◆ getEntropyEncoderSpec()

DataProcessorSpec o2::zdc::getEntropyEncoderSpec ( bool  selIR = false)

create a processor spec

Definition at line 77 of file EntropyEncoderSpec.cxx.

◆ getInterCalibEPNSpec()

framework::DataProcessorSpec o2::zdc::getInterCalibEPNSpec ( )

Definition at line 125 of file InterCalibEPNSpec.cxx.

◆ getInterCalibSpec()

framework::DataProcessorSpec o2::zdc::getInterCalibSpec ( )

Definition at line 208 of file InterCalibSpec.cxx.

◆ getNoiseCalibEPNSpec()

framework::DataProcessorSpec o2::zdc::getNoiseCalibEPNSpec ( )

Definition at line 144 of file NoiseCalibEPNSpec.cxx.

◆ getNoiseCalibSpec()

framework::DataProcessorSpec o2::zdc::getNoiseCalibSpec ( )

Definition at line 196 of file NoiseCalibSpec.cxx.

◆ getParserWorkflow()

framework::WorkflowSpec o2::zdc::getParserWorkflow ( const int  verbosity)

Definition at line 23 of file ParserWorkflow.cxx.

◆ getRecEventReaderSpec()

DataProcessorSpec o2::zdc::getRecEventReaderSpec ( bool  useMC)

create a processor spec read reconstructed ZDC event parts

Definition at line 84 of file RecEventReaderSpec.cxx.

◆ getRecoReaderSpec()

DataProcessorSpec o2::zdc::getRecoReaderSpec ( )

create a processor spec read reconstructed ZDC data from a root file

Definition at line 82 of file RecoReaderSpec.cxx.

◆ getRecoWorkflow()

framework::WorkflowSpec o2::zdc::getRecoWorkflow ( const bool  useMC,
const bool  disableRootInp,
const bool  disableRootOut,
const int  verbosity,
const bool  enableDebugOut,
const bool  enableZDCTDCCorr,
const bool  enableZDCEnergyParam,
const bool  enableZDCTowerParam,
const bool  enableBaselineParam 
)

Definition at line 25 of file RecoWorkflow.cxx.

◆ getTDCCalibEPNSpec()

framework::DataProcessorSpec o2::zdc::getTDCCalibEPNSpec ( )

Definition at line 135 of file TDCCalibEPNSpec.cxx.

◆ getTDCCalibSpec()

framework::DataProcessorSpec o2::zdc::getTDCCalibSpec ( )

Definition at line 194 of file TDCCalibSpec.cxx.

◆ getTOFCorrection()

constexpr float o2::zdc::getTOFCorrection ( int  det)
constexpr

Definition at line 126 of file Constants.h.

◆ getWaveformCalibEPNSpec()

framework::DataProcessorSpec o2::zdc::getWaveformCalibEPNSpec ( )

Definition at line 121 of file WaveformCalibEPNSpec.cxx.

◆ getWaveformCalibSpec()

framework::DataProcessorSpec o2::zdc::getWaveformCalibSpec ( )

Definition at line 135 of file WaveformCalibSpec.cxx.

◆ getZDCDataReaderDPLSpec()

framework::DataProcessorSpec o2::zdc::getZDCDataReaderDPLSpec ( const RawReaderZDC rawReader,
const bool  askSTFDist 
)

Definition at line 138 of file ZDCDataReaderDPLSpec.cxx.

◆ getZDCDigitizerSpec()

o2::framework::DataProcessorSpec o2::zdc::getZDCDigitizerSpec ( int  channel,
bool  mctruth 
)

Definition at line 188 of file ZDCDigitizerSpec.cxx.

◆ getZDCDigitWriterDPLSpec()

DataProcessorSpec o2::zdc::getZDCDigitWriterDPLSpec ( bool  mctruth,
bool  simVersion 
)

create a processor spec

Definition at line 31 of file ZDCDigitWriterDPLSpec.cxx.

◆ getZDCRawParserDPLSpec()

framework::DataProcessorSpec o2::zdc::getZDCRawParserDPLSpec ( )

Definition at line 157 of file ZDCRawParserDPLSpec.cxx.

◆ getZDCRecoWriterDPLSpec()

DataProcessorSpec o2::zdc::getZDCRecoWriterDPLSpec ( std::string  fname = "zdcreco.root")

create a processor spec

Definition at line 33 of file ZDCRecoWriterDPLSpec.cxx.

◆ removeNamespace()

std::string o2::zdc::removeNamespace ( const std::string &  strin)

Definition at line 32 of file Helpers.h.

◆ toChannel()

constexpr int o2::zdc::toChannel ( int  det,
int  tower 
)
constexpr

Definition at line 308 of file Constants.h.

◆ toDet()

constexpr int o2::zdc::toDet ( int  channel,
int tower 
)
constexpr

Definition at line 333 of file Constants.h.

Variable Documentation

◆ ADCMax

constexpr int o2::zdc::ADCMax = 2047

Definition at line 76 of file Constants.h.

◆ ADCMin

constexpr int o2::zdc::ADCMin = -2048
constexpr

Definition at line 76 of file Constants.h.

◆ ADCRange

constexpr int o2::zdc::ADCRange = 4096

Definition at line 76 of file Constants.h.

◆ ALICETriggerMask

constexpr uint8_t o2::zdc::ALICETriggerMask = 0x1
constexpr

Definition at line 66 of file Constants.h.

◆ BaselineMax

constexpr int o2::zdc::BaselineMax = 32767

Definition at line 353 of file Constants.h.

◆ BaselineMin

constexpr int o2::zdc::BaselineMin = -32768
constexpr

Definition at line 353 of file Constants.h.

◆ BaselineRange

constexpr int o2::zdc::BaselineRange = 65536

Definition at line 353 of file Constants.h.

◆ CaloCommonPM

constexpr std::array<int, NChannels> o2::zdc::CaloCommonPM
constexpr
Initial value:
constexpr int IdZEM1
constexpr int IdZNCC
constexpr int IdZPAC
constexpr int IdZPCC
constexpr int IdZEM2
constexpr int IdZNAC

Definition at line 296 of file Constants.h.

◆ CCDBPathBaselineCalib

const std::string o2::zdc::CCDBPathBaselineCalib = "ZDC/Calib/BaselineCalib"

Definition at line 229 of file Constants.h.

◆ CCDBPathBaselineCalibConfig

const std::string o2::zdc::CCDBPathBaselineCalibConfig = "ZDC/Calib/BaselineCalibConfig"

Definition at line 230 of file Constants.h.

◆ CCDBPathConfigModule

const std::string o2::zdc::CCDBPathConfigModule = "ZDC/Config/Module"

Definition at line 219 of file Constants.h.

◆ CCDBPathConfigSim

const std::string o2::zdc::CCDBPathConfigSim = "ZDC/Config/Sim"

Definition at line 218 of file Constants.h.

◆ CCDBPathEnergyCalib

const std::string o2::zdc::CCDBPathEnergyCalib = "ZDC/Calib/EnergyCalib"

Definition at line 224 of file Constants.h.

◆ CCDBPathInterCalibConfig

const std::string o2::zdc::CCDBPathInterCalibConfig = "ZDC/Calib/InterCalibConfig"

Definition at line 226 of file Constants.h.

◆ CCDBPathNoiseCalib

const std::string o2::zdc::CCDBPathNoiseCalib = "ZDC/Calib/NoiseCalib"

Definition at line 231 of file Constants.h.

◆ CCDBPathRecoConfigZDC

const std::string o2::zdc::CCDBPathRecoConfigZDC = "ZDC/Calib/RecoConfigZDC"

Definition at line 220 of file Constants.h.

◆ CCDBPathTDCCalib

const std::string o2::zdc::CCDBPathTDCCalib = "ZDC/Calib/TDCCalib"

Definition at line 221 of file Constants.h.

◆ CCDBPathTDCCalibConfig

const std::string o2::zdc::CCDBPathTDCCalibConfig = "ZDC/Calib/TDCCalibConfig"

Definition at line 222 of file Constants.h.

◆ CCDBPathTDCCorr

const std::string o2::zdc::CCDBPathTDCCorr = "ZDC/Calib/TDCCorr"

Definition at line 223 of file Constants.h.

◆ CCDBPathTowerCalib

const std::string o2::zdc::CCDBPathTowerCalib = "ZDC/Calib/TowerCalib"

Definition at line 225 of file Constants.h.

◆ CCDBPathWaveformCalib

const std::string o2::zdc::CCDBPathWaveformCalib = "ZDC/Calib/WaveformCalib"

Definition at line 227 of file Constants.h.

◆ CCDBPathWaveformCalibConfig

const std::string o2::zdc::CCDBPathWaveformCalibConfig = "ZDC/Calib/WaveformCalibConfig"

Definition at line 228 of file Constants.h.

◆ ChannelNames

constexpr std::string_view o2::zdc::ChannelNames[]
constexpr

Definition at line 147 of file Constants.h.

◆ ChannelTimeBinNS

constexpr float o2::zdc::ChannelTimeBinNS = 2.
constexpr

Definition at line 62 of file Constants.h.

◆ ChEnergyCalib

constexpr std::array<int, 10> o2::zdc::ChEnergyCalib
constexpr
Initial value:
constexpr int IdZNCSum
constexpr int IdZPCSum
constexpr int IdZNASum
constexpr int IdZPASum

Definition at line 286 of file Constants.h.

◆ ChTowerCalib

constexpr std::array<int, 17> o2::zdc::ChTowerCalib
constexpr
Initial value:
constexpr int IdZPC4
constexpr int IdZPA2
constexpr int IdZNA3
constexpr int IdZNA1
constexpr int IdZPA1
constexpr int IdZNC2
constexpr int IdZPC2
constexpr int IdZPA4
constexpr int IdZNC1
constexpr int IdZNC3
constexpr int IdZPC1
constexpr int IdZPA3
constexpr int IdZNC4
constexpr int IdZNA2
constexpr int IdZPC3
constexpr int IdZNA4

Definition at line 290 of file Constants.h.

◆ DbgExtra

constexpr int o2::zdc::DbgExtra = 4
constexpr

Definition at line 211 of file Constants.h.

◆ DbgFull

constexpr int o2::zdc::DbgFull = 3
constexpr

Definition at line 210 of file Constants.h.

◆ DbgMedium

constexpr int o2::zdc::DbgMedium = 2
constexpr

Definition at line 209 of file Constants.h.

◆ DbgMinimal

constexpr int o2::zdc::DbgMinimal = 1
constexpr

Definition at line 208 of file Constants.h.

◆ DbgZero

constexpr int o2::zdc::DbgZero = 0
constexpr

Definition at line 207 of file Constants.h.

◆ DInfty

constexpr float o2::zdc::DInfty = std::numeric_limits<double>::infinity()
constexpr

Definition at line 78 of file Constants.h.

◆ DummyIntRange

constexpr int o2::zdc::DummyIntRange = -NTimeBinsPerBC - 1
constexpr

Definition at line 303 of file Constants.h.

◆ DummyName

constexpr std::string_view o2::zdc::DummyName = "Dumm"
constexpr

Definition at line 305 of file Constants.h.

◆ EnergyChMask

constexpr uint32_t o2::zdc::EnergyChMask = 0xf8000000
constexpr

Definition at line 86 of file Constants.h.

◆ EnergyMask

constexpr uint32_t o2::zdc::EnergyMask = 0x07ffffff
constexpr

Definition at line 85 of file Constants.h.

◆ EnergyOffset

constexpr float o2::zdc::EnergyOffset = 10000
constexpr

Definition at line 83 of file Constants.h.

◆ EnergyUnit

constexpr float o2::zdc::EnergyUnit = 0.01
constexpr

Definition at line 84 of file Constants.h.

◆ FInfty

constexpr float o2::zdc::FInfty = std::numeric_limits<float>::infinity()
constexpr

Definition at line 77 of file Constants.h.

◆ fit_as_par

std::array<double,NTDCChannels*NBCAn*NBucket*NBucket*NFParA+1> o2::zdc::fit_as_par

Definition at line 3025 of file TDCCorrPar.h.

◆ fit_ts_par

std::array<double,NTDCChannels*NBCAn*NBucket*NBucket*NFParT+1> o2::zdc::fit_ts_par

Definition at line 21 of file TDCCorrPar.h.

◆ FOffset

constexpr float o2::zdc::FOffset = 8.
constexpr

Definition at line 104 of file Constants.h.

◆ FTDCVal

constexpr float o2::zdc::FTDCVal = o2::constants::lhc::LHCBunchSpacingNS / NTimeBinsPerBC / TSN
constexpr

Definition at line 103 of file Constants.h.

◆ Id_w0

constexpr unsigned short o2::zdc::Id_w0 = 0x0
constexpr

Definition at line 32 of file RawEventData.h.

◆ Id_w1

constexpr unsigned short o2::zdc::Id_w1 = 0x1
constexpr

Definition at line 33 of file RawEventData.h.

◆ Id_w2

constexpr unsigned short o2::zdc::Id_w2 = 0x2
constexpr

Definition at line 34 of file RawEventData.h.

◆ Id_wn

constexpr unsigned short o2::zdc::Id_wn = 0x3
constexpr

Definition at line 35 of file RawEventData.h.

◆ IdDummy

constexpr int o2::zdc::IdDummy = -1
constexpr

Definition at line 26 of file ZDCConstants.h.

◆ IdVoid

constexpr int o2::zdc::IdVoid = -2
constexpr

Definition at line 27 of file ZDCConstants.h.

◆ IdZEM1

constexpr int o2::zdc::IdZEM1 = 12
constexpr

Definition at line 43 of file ZDCConstants.h.

◆ IdZEM2

constexpr int o2::zdc::IdZEM2 = 13
constexpr

Definition at line 44 of file ZDCConstants.h.

◆ IdZNA1

constexpr int o2::zdc::IdZNA1 = 1
constexpr

Definition at line 30 of file ZDCConstants.h.

◆ IdZNA2

constexpr int o2::zdc::IdZNA2 = 2
constexpr

Definition at line 31 of file ZDCConstants.h.

◆ IdZNA3

constexpr int o2::zdc::IdZNA3 = 3
constexpr

Definition at line 32 of file ZDCConstants.h.

◆ IdZNA4

constexpr int o2::zdc::IdZNA4 = 4
constexpr

Definition at line 33 of file ZDCConstants.h.

◆ IdZNAC

constexpr int o2::zdc::IdZNAC = 0
constexpr

Definition at line 29 of file ZDCConstants.h.

◆ IdZNASum

constexpr int o2::zdc::IdZNASum = 5
constexpr

Definition at line 34 of file ZDCConstants.h.

◆ IdZNC1

constexpr int o2::zdc::IdZNC1 = 15
constexpr

Definition at line 47 of file ZDCConstants.h.

◆ IdZNC2

constexpr int o2::zdc::IdZNC2 = 16
constexpr

Definition at line 48 of file ZDCConstants.h.

◆ IdZNC3

constexpr int o2::zdc::IdZNC3 = 17
constexpr

Definition at line 49 of file ZDCConstants.h.

◆ IdZNC4

constexpr int o2::zdc::IdZNC4 = 18
constexpr

Definition at line 50 of file ZDCConstants.h.

◆ IdZNCC

constexpr int o2::zdc::IdZNCC = 14
constexpr

Definition at line 46 of file ZDCConstants.h.

◆ IdZNCSum

constexpr int o2::zdc::IdZNCSum = 19
constexpr

Definition at line 51 of file ZDCConstants.h.

◆ IdZPA1

constexpr int o2::zdc::IdZPA1 = 7
constexpr

Definition at line 37 of file ZDCConstants.h.

◆ IdZPA2

constexpr int o2::zdc::IdZPA2 = 8
constexpr

Definition at line 38 of file ZDCConstants.h.

◆ IdZPA3

constexpr int o2::zdc::IdZPA3 = 9
constexpr

Definition at line 39 of file ZDCConstants.h.

◆ IdZPA4

constexpr int o2::zdc::IdZPA4 = 10
constexpr

Definition at line 40 of file ZDCConstants.h.

◆ IdZPAC

constexpr int o2::zdc::IdZPAC = 6
constexpr

Definition at line 36 of file ZDCConstants.h.

◆ IdZPASum

constexpr int o2::zdc::IdZPASum = 11
constexpr

Definition at line 41 of file ZDCConstants.h.

◆ IdZPC1

constexpr int o2::zdc::IdZPC1 = 21
constexpr

Definition at line 54 of file ZDCConstants.h.

◆ IdZPC2

constexpr int o2::zdc::IdZPC2 = 22
constexpr

Definition at line 55 of file ZDCConstants.h.

◆ IdZPC3

constexpr int o2::zdc::IdZPC3 = 23
constexpr

Definition at line 56 of file ZDCConstants.h.

◆ IdZPC4

constexpr int o2::zdc::IdZPC4 = 24
constexpr

Definition at line 57 of file ZDCConstants.h.

◆ IdZPCC

constexpr int o2::zdc::IdZPCC = 20
constexpr

Definition at line 53 of file ZDCConstants.h.

◆ IdZPCSum

constexpr int o2::zdc::IdZPCSum = 25
constexpr

Definition at line 58 of file ZDCConstants.h.

◆ Int16MaxVal

constexpr int16_t o2::zdc::Int16MaxVal = 0x7fff
constexpr

Definition at line 56 of file Constants.h.

◆ MaskAllZNA

constexpr uint32_t o2::zdc::MaskAllZNA = 0x0000003f
constexpr

Definition at line 138 of file Constants.h.

◆ MaskAllZNC

constexpr uint32_t o2::zdc::MaskAllZNC = 0x0007f000
constexpr

Definition at line 143 of file Constants.h.

◆ MaskAllZPA

constexpr uint32_t o2::zdc::MaskAllZPA = 0x00000fc0
constexpr

Definition at line 140 of file Constants.h.

◆ MaskAllZPC

constexpr uint32_t o2::zdc::MaskAllZPC = 0x03f00000
constexpr

Definition at line 145 of file Constants.h.

◆ MaskZEM

constexpr uint32_t o2::zdc::MaskZEM = 0x00003000
constexpr

Definition at line 141 of file Constants.h.

◆ MaskZNA

constexpr uint32_t o2::zdc::MaskZNA = 0x0000001f
constexpr

Definition at line 137 of file Constants.h.

◆ MaskZNC

constexpr uint32_t o2::zdc::MaskZNC = 0x000fc000
constexpr

Definition at line 142 of file Constants.h.

◆ MaskZPA

constexpr uint32_t o2::zdc::MaskZPA = 0x000007c0
constexpr

Definition at line 139 of file Constants.h.

◆ MaskZPC

constexpr uint32_t o2::zdc::MaskZPC = 0x01f00000
constexpr

Definition at line 144 of file Constants.h.

◆ MaxTDCValues

constexpr int o2::zdc::MaxTDCValues = 5
constexpr

Definition at line 89 of file Constants.h.

◆ MaxTriggerChannels

constexpr int o2::zdc::MaxTriggerChannels = NChannels
constexpr

Definition at line 73 of file Constants.h.

◆ MsgText

constexpr std::string_view o2::zdc::MsgText[]
constexpr
Initial value:
= {
"Generic E",
"TDC QC ped",
"TDC missing ped",
"ADC Orbit ped",
"ADC QC ped",
"ADC missing ped",
"Positive ped offset",
"Pile-up in ev ped",
"Pile-up in TM",
"ADC missing, TDC present",
"TDC pile-up Ev C",
"TDC pile-up Ev E",
"TDC pile-up M1 C",
"TDC pile-up M1 E",
"TDC pile-up M2 C",
"TDC pile-up M2 E",
"TDC pile-up M3 C",
"TDC pile-up M3 E",
"TDC signal E"
}

Definition at line 262 of file Constants.h.

◆ NBCAn

constexpr int o2::zdc::NBCAn = 3
constexpr

Definition at line 123 of file Constants.h.

◆ NBCReadOut

constexpr int o2::zdc::NBCReadOut = 4
constexpr

Definition at line 54 of file Constants.h.

◆ NBKZero

constexpr int o2::zdc::NBKZero = 5
constexpr

Definition at line 120 of file Constants.h.

◆ NBPerGBTW

constexpr int o2::zdc::NBPerGBTW = 4 * NWPerGBTW
constexpr

Definition at line 37 of file RawEventData.h.

◆ NBucket

constexpr int o2::zdc::NBucket = 10
constexpr

Definition at line 119 of file Constants.h.

◆ NChannels

constexpr int o2::zdc::NChannels = 2 * (NChannelsZN + NChannelsZP) + NChannelsZEM
constexpr

Definition at line 65 of file Constants.h.

◆ NChannelsZEM

constexpr int o2::zdc::NChannelsZEM = 2
constexpr

Definition at line 60 of file Constants.h.

◆ NChannelsZN

constexpr int o2::zdc::NChannelsZN = 6
constexpr

Definition at line 58 of file Constants.h.

◆ NChannelsZP

constexpr int o2::zdc::NChannelsZP = 6
constexpr

Definition at line 59 of file Constants.h.

◆ NChPerModule

constexpr int o2::zdc::NChPerModule = 4
constexpr

Definition at line 69 of file Constants.h.

◆ NDigiChannels

constexpr int o2::zdc::NDigiChannels = NModules * NChPerModule
constexpr

Definition at line 71 of file Constants.h.

◆ NFParA

constexpr int o2::zdc::NFParA = 3
constexpr

Definition at line 121 of file Constants.h.

◆ NFParT

constexpr int o2::zdc::NFParT = 3
constexpr

Definition at line 122 of file Constants.h.

◆ NIS

constexpr int o2::zdc::NIS = NTimeBinsPerBC * TSN
constexpr

Definition at line 97 of file Constants.h.

◆ NLinks

constexpr int o2::zdc::NLinks = NModules * 2
constexpr

Definition at line 70 of file Constants.h.

◆ NModules

constexpr int o2::zdc::NModules = 8
constexpr

Definition at line 68 of file Constants.h.

◆ NTDCChannels

constexpr int o2::zdc::NTDCChannels = 10
constexpr

Definition at line 90 of file Constants.h.

◆ NTimeBinsPerBC

constexpr int o2::zdc::NTimeBinsPerBC = 12
constexpr

Definition at line 53 of file Constants.h.

◆ NTimeBinsReadout

constexpr int o2::zdc::NTimeBinsReadout = NTimeBinsPerBC * NBCReadOut
constexpr

Definition at line 55 of file Constants.h.

◆ NTS

constexpr int o2::zdc::NTS = 2 * TSL * TSN + 1
constexpr

Definition at line 96 of file Constants.h.

◆ NWPerBc

constexpr int o2::zdc::NWPerBc = 3
constexpr

Definition at line 72 of file Constants.h.

◆ NWPerGBTW

constexpr int o2::zdc::NWPerGBTW = 4
constexpr

Definition at line 36 of file RawEventData.h.

◆ PayloadPerGBTW

constexpr int o2::zdc::PayloadPerGBTW = 10
constexpr

Definition at line 38 of file RawEventData.h.

◆ SampleLenghtNS

constexpr float o2::zdc::SampleLenghtNS = NTimeBinsPerBC * ChannelTimeBinNS
constexpr

Definition at line 63 of file Constants.h.

◆ SignalTDC

◆ TDCSignal

const int o2::zdc::TDCSignal[NTDCChannels]
Initial value:

Definition at line 181 of file Constants.h.

◆ TSL

constexpr int o2::zdc::TSL = 6
constexpr

Definition at line 93 of file Constants.h.

◆ TSN

constexpr int o2::zdc::TSN = 200
constexpr

Definition at line 94 of file Constants.h.

◆ TSNH

constexpr int o2::zdc::TSNH = TSN / 2
constexpr

Definition at line 95 of file Constants.h.

◆ VoidName

constexpr std::string_view o2::zdc::VoidName = " NA "
constexpr

Definition at line 306 of file Constants.h.

◆ WaveformCalib_NBA

constexpr int o2::zdc::WaveformCalib_NBA = 6
constexpr

Definition at line 348 of file Constants.h.

◆ WaveformCalib_NBB

constexpr int o2::zdc::WaveformCalib_NBB = 3
constexpr

Definition at line 347 of file Constants.h.

◆ WaveformCalib_NBT

constexpr int o2::zdc::WaveformCalib_NBT = WaveformCalib_NBB + WaveformCalib_NBA + 1
constexpr

Definition at line 349 of file Constants.h.

◆ WaveformCalib_NW

constexpr int o2::zdc::WaveformCalib_NW = WaveformCalib_NBT * NIS
constexpr

Definition at line 350 of file Constants.h.

◆ ZDCRefInitVal

constexpr uint32_t o2::zdc::ZDCRefInitVal = 0xffffffff
constexpr

Definition at line 91 of file Constants.h.