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

Namespaces

namespace  raw
 

Classes

class  Cluster
 HMPID cluster implementation. More...
 
class  Clusterer
 
class  ClusterReaderTask
 
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  DataDecoderTask
 
class  DataDecoderTask2
 
class  Detector
 
class  Digit
 HMPID Digit declaration. More...
 
class  DigitReader
 
class  DigitsToClustersTask
 
class  DigitsToRawSpec
 
class  DigitsToRootTask
 
class  DumpDigitsTask
 
class  EntropyDecoderSpec
 
class  EntropyEncoderSpec
 
class  ExecutionTimer
 HMPID Derived class for the Time of Workflows. More...
 
class  Geo
 HMPID detector geometry (only statics) More...
 
class  HitType
 
class  HmpidCoder2
 
class  HMPIDDCSDataProcessor
 
class  HMPIDDCSProcessor
 
class  HmpidDecoder
 
class  HmpidDecoder2
 
class  HmpidDecodeRawDigit
 
class  HmpidDecodeRawFile
 
class  HmpidDecodeRawMem
 
class  HMPIDDigitizer
 
class  HMPIDDPLDigitizerTask
 
class  HmpidEquipment
 
class  HMPMatchedReader
 
class  Param
 
class  PedestalsCalculationTask
 
class  RawFileReaderTask
 
class  RawToDigitsTask
 
class  ReadOut
 
class  Recon
 
struct  TransparencyDpInfo
 
class  Trigger
 HMPID Trigger declaration. More...
 
class  WriteRawFileTask
 

Typedefs

using TimeStampType = uint64_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 RunStatus = o2::dcs::RunStatusChecker::RunStatus
 
using RDH = o2::header::RDHAny
 
template<typename T >
using BranchDefinition = framework::MakeRootTreeWriterSpec::BranchDefinition< T >
 
using MatchInfo = std::vector< o2::dataformats::MatchInfoHMP >
 
using LabelsType = std::vector< o2::MCCompLabel >
 

Functions

std::ostream & operator<< (std::ostream &os, const o2::hmpid::Digit &d)
 
std::ostream & operator<< (std::ostream &os, const o2::hmpid::Trigger &d)
 
o2::framework::DataProcessorSpec getHMPIDClusterizerSpec (bool useMC)
 
o2::framework::DataProcessorSpec getClusterReaderSpec ()
 
o2::framework::DataProcessorSpec getClusterWriterSpec ()
 
o2::framework::DataProcessorSpec getDecodingSpec (bool askSTFDist)
 
o2::framework::DataProcessorSpec getDecodingSpec2 (bool askSTFDist)
 
framework::DataProcessorSpec getDigitReaderSpec (bool useMC)
 read simulated HMPID digits from a root file
 
o2::framework::DataProcessorSpec getDigitsReaderSpec ()
 
o2::framework::DataProcessorSpec getDigitsToClustersSpec ()
 
o2::framework::DataProcessorSpec getDigitsToRawSpec ()
 
o2::framework::DataProcessorSpec getDigitsToRootSpec (std::string inputSpec="HMP/DIGITS")
 
o2::framework::DataProcessorSpec getDumpDigitsSpec (std::string inputSpec="HMP/DIGITS")
 
framework::DataProcessorSpec getEntropyDecoderSpec (int verbosity, unsigned int sspec)
 create a processor spec
 
framework::DataProcessorSpec getEntropyEncoderSpec (bool selIR=false)
 create a processor spec
 
framework::DataProcessorSpec getHMPMatchedReaderSpec (bool useMC)
 
o2::framework::DataProcessorSpec getHMPMatchedWriterSpec (bool useMC, const char *outdef="o2match_hmpid.root")
 
o2::framework::DataProcessorSpec getPedestalsCalculationSpec (std::string inputSpec="TF:HMP/RAWDATA")
 
o2::framework::DataProcessorSpec getRawToDigitsSpec (std::string inputSpec="HMP/RAWDATA")
 
o2::framework::DataProcessorSpec getReadRawFileSpec (std::string inputSpec="HMP/RAWDATA")
 
o2::framework::DataProcessorSpec getWriteRawFileSpec (std::string inputSpec="HMP/DIGITS")
 
o2::framework::DataProcessorSpec getHMPIDDigitizerSpec (int channel, bool mctruth)
 
o2::framework::DataProcessorSpec getHMPIDDigitWriterSpec (bool mctruth=true)
 

Variables

const int MAXERRORS = 13
 
const int MAXHMPIDERRORS = 5
 
const int ERR_NOTKNOWN = 0
 
const int ERR_ROWMARKEMPTY = 1
 
const int ERR_DUPLICATEPAD = 2
 
const int ERR_ROWMARKWRONG = 3
 
const int ERR_ROWMARKLOST = 4
 
const int ERR_ROWMARKERROR = 5
 
const int ERR_LOSTEOEMARK = 6
 
const int ERR_DOUBLEEOEMARK = 7
 
const int ERR_WRONGSIZEINEOE = 8
 
const int ERR_DOUBLEMARKWORD = 9
 
const int ERR_WRONGSIZESEGMENTMARK = 10
 
const int ERR_LOSTEOSMARK = 11
 
const int ERR_HMPID = 12
 
const int TH_FILENOTEXISTS = 9
 
const int TH_OPENFILE = 8
 
const int TH_CREATEFILE = 7
 
const int TH_READFILE = 6
 
const int TH_WRITEFILE = 5
 
const int TH_WRONGEQUIPINDEX = 19
 
const int TH_WRONGHEADER = 15
 
const int TH_WRONGFILELEN = 14
 
const int TH_NULLBUFFERPOINTER = 13
 
const int TH_BUFFEREMPTY = 12
 
const int TH_WRONGBUFFERDIM = 11
 
const int TH_BUFFERPOINTERTOEND = 16
 
const uint64_t OUTRANGEEVENTNUMBER = 0x1FFFFFFFFFFF
 

Typedef Documentation

◆ BranchDefinition

Definition at line 27 of file ClustersWriterSpec.cxx.

◆ CcdbManager

◆ clbUtils

Definition at line 46 of file HMPIDDCSDataProcessorSpec.h.

◆ DPCOM

◆ DPID

Definition at line 41 of file HMPIDDCSDataProcessorSpec.h.

◆ DPVAL

Definition at line 42 of file HMPIDDCSDataProcessorSpec.h.

◆ Duration

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

Definition at line 48 of file HMPIDDCSDataProcessorSpec.h.

◆ HighResClock

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

Definition at line 47 of file HMPIDDCSDataProcessorSpec.h.

◆ LabelsType

using o2::hmpid::LabelsType = typedef std::vector<o2::MCCompLabel>

Definition at line 39 of file HMPMatchedWriterSpec.cxx.

◆ MatchInfo

Definition at line 38 of file HMPMatchedWriterSpec.cxx.

◆ RDH

Definition at line 52 of file ClustersReaderSpec.cxx.

◆ RunStatus

◆ TimeStampType

using o2::hmpid::TimeStampType = typedef uint64_t

Definition at line 52 of file HMPIDDCSProcessor.h.

Function Documentation

◆ getClusterReaderSpec()

o2::framework::DataProcessorSpec o2::hmpid::getClusterReaderSpec ( )

Definition at line 133 of file ClustersReaderSpec.cxx.

◆ getClusterWriterSpec()

o2::framework::DataProcessorSpec o2::hmpid::getClusterWriterSpec ( )

Definition at line 29 of file ClustersWriterSpec.cxx.

◆ getDecodingSpec()

o2::framework::DataProcessorSpec o2::hmpid::getDecodingSpec ( bool  askSTFDist)

Definition at line 280 of file DataDecoderSpec.cxx.

◆ getDecodingSpec2()

o2::framework::DataProcessorSpec o2::hmpid::getDecodingSpec2 ( bool  askSTFDist)

Definition at line 336 of file DataDecoderSpec2.cxx.

◆ getDigitReaderSpec()

framework::DataProcessorSpec o2::hmpid::getDigitReaderSpec ( bool  useMC)

read simulated HMPID digits from a root file

◆ getDigitsReaderSpec()

DataProcessorSpec o2::hmpid::getDigitsReaderSpec ( )

Definition at line 132 of file DigitsReaderSpec.cxx.

◆ getDigitsToClustersSpec()

o2::framework::DataProcessorSpec o2::hmpid::getDigitsToClustersSpec ( )

Definition at line 136 of file DigitsToClustersSpec.cxx.

◆ getDigitsToRawSpec()

o2::framework::DataProcessorSpec o2::hmpid::getDigitsToRawSpec ( )

Definition at line 189 of file DigitsToRawSpec.cxx.

◆ getDigitsToRootSpec()

o2::framework::DataProcessorSpec o2::hmpid::getDigitsToRootSpec ( std::string  inputSpec = "HMP/DIGITS")

Definition at line 132 of file DigitsWriterSpec.cxx.

◆ getDumpDigitsSpec()

o2::framework::DataProcessorSpec o2::hmpid::getDumpDigitsSpec ( std::string  inputSpec = "HMP/DIGITS")

Definition at line 133 of file DumpDigitsSpec.cxx.

◆ getEntropyDecoderSpec()

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

create a processor spec

Definition at line 94 of file EntropyDecoderSpec.cxx.

◆ getEntropyEncoderSpec()

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

create a processor spec

Definition at line 92 of file EntropyEncoderSpec.cxx.

◆ getHMPIDClusterizerSpec()

o2::framework::DataProcessorSpec o2::hmpid::getHMPIDClusterizerSpec ( bool  useMC)

◆ getHMPIDDigitizerSpec()

o2::framework::DataProcessorSpec o2::hmpid::getHMPIDDigitizerSpec ( int  channel,
bool  mctruth 
)

Definition at line 169 of file HMPIDDigitizerSpec.cxx.

◆ getHMPIDDigitWriterSpec()

o2::framework::DataProcessorSpec o2::hmpid::getHMPIDDigitWriterSpec ( bool  mctruth = true)

Definition at line 31 of file HMPIDDigitWriterSpec.h.

◆ getHMPMatchedReaderSpec()

DataProcessorSpec o2::hmpid::getHMPMatchedReaderSpec ( bool  useMC)

create a processor spec read matched HMP clusters from a ROOT file

Definition at line 76 of file HMPMatchedReaderSpec.cxx.

◆ getHMPMatchedWriterSpec()

DataProcessorSpec o2::hmpid::getHMPMatchedWriterSpec ( bool  useMC,
const char outdef = "o2match_hmpid.root" 
)

create a processor spec write HMP matching info in a root file

Definition at line 42 of file HMPMatchedWriterSpec.cxx.

◆ getPedestalsCalculationSpec()

o2::framework::DataProcessorSpec o2::hmpid::getPedestalsCalculationSpec ( std::string  inputSpec = "TF:HMP/RAWDATA")

Definition at line 358 of file PedestalsCalculationSpec.cxx.

◆ getRawToDigitsSpec()

o2::framework::DataProcessorSpec o2::hmpid::getRawToDigitsSpec ( std::string  inputSpec = "HMP/RAWDATA")

Definition at line 333 of file RawToDigitsSpec.cxx.

◆ getReadRawFileSpec()

o2::framework::DataProcessorSpec o2::hmpid::getReadRawFileSpec ( std::string  inputSpec = "HMP/RAWDATA")

Definition at line 135 of file ReadRawFileSpec.cxx.

◆ getWriteRawFileSpec()

o2::framework::DataProcessorSpec o2::hmpid::getWriteRawFileSpec ( std::string  inputSpec = "HMP/DIGITS")

Definition at line 152 of file WriteRawFileSpec.cxx.

◆ operator<<() [1/2]

std::ostream & o2::hmpid::operator<< ( std::ostream &  os,
const o2::hmpid::Digit d 
)

Definition at line 97 of file Digit.cxx.

◆ operator<<() [2/2]

std::ostream & o2::hmpid::operator<< ( std::ostream &  os,
const o2::hmpid::Trigger d 
)

Definition at line 34 of file Trigger.cxx.

Variable Documentation

◆ ERR_DOUBLEEOEMARK

const int o2::hmpid::ERR_DOUBLEEOEMARK = 7

Definition at line 43 of file HmpidEquipment.h.

◆ ERR_DOUBLEMARKWORD

const int o2::hmpid::ERR_DOUBLEMARKWORD = 9

Definition at line 45 of file HmpidEquipment.h.

◆ ERR_DUPLICATEPAD

const int o2::hmpid::ERR_DUPLICATEPAD = 2

Definition at line 38 of file HmpidEquipment.h.

◆ ERR_HMPID

const int o2::hmpid::ERR_HMPID = 12

Definition at line 48 of file HmpidEquipment.h.

◆ ERR_LOSTEOEMARK

const int o2::hmpid::ERR_LOSTEOEMARK = 6

Definition at line 42 of file HmpidEquipment.h.

◆ ERR_LOSTEOSMARK

const int o2::hmpid::ERR_LOSTEOSMARK = 11

Definition at line 47 of file HmpidEquipment.h.

◆ ERR_NOTKNOWN

const int o2::hmpid::ERR_NOTKNOWN = 0

Definition at line 36 of file HmpidEquipment.h.

◆ ERR_ROWMARKEMPTY

const int o2::hmpid::ERR_ROWMARKEMPTY = 1

Definition at line 37 of file HmpidEquipment.h.

◆ ERR_ROWMARKERROR

const int o2::hmpid::ERR_ROWMARKERROR = 5

Definition at line 41 of file HmpidEquipment.h.

◆ ERR_ROWMARKLOST

const int o2::hmpid::ERR_ROWMARKLOST = 4

Definition at line 40 of file HmpidEquipment.h.

◆ ERR_ROWMARKWRONG

const int o2::hmpid::ERR_ROWMARKWRONG = 3

Definition at line 39 of file HmpidEquipment.h.

◆ ERR_WRONGSIZEINEOE

const int o2::hmpid::ERR_WRONGSIZEINEOE = 8

Definition at line 44 of file HmpidEquipment.h.

◆ ERR_WRONGSIZESEGMENTMARK

const int o2::hmpid::ERR_WRONGSIZESEGMENTMARK = 10

Definition at line 46 of file HmpidEquipment.h.

◆ MAXERRORS

const int o2::hmpid::MAXERRORS = 13

Definition at line 33 of file HmpidEquipment.h.

◆ MAXHMPIDERRORS

const int o2::hmpid::MAXHMPIDERRORS = 5

Definition at line 34 of file HmpidEquipment.h.

◆ OUTRANGEEVENTNUMBER

const uint64_t o2::hmpid::OUTRANGEEVENTNUMBER = 0x1FFFFFFFFFFF

Definition at line 64 of file HmpidEquipment.h.

◆ TH_BUFFEREMPTY

const int o2::hmpid::TH_BUFFEREMPTY = 12

Definition at line 60 of file HmpidEquipment.h.

◆ TH_BUFFERPOINTERTOEND

const int o2::hmpid::TH_BUFFERPOINTERTOEND = 16

Definition at line 62 of file HmpidEquipment.h.

◆ TH_CREATEFILE

const int o2::hmpid::TH_CREATEFILE = 7

Definition at line 53 of file HmpidEquipment.h.

◆ TH_FILENOTEXISTS

const int o2::hmpid::TH_FILENOTEXISTS = 9

Definition at line 51 of file HmpidEquipment.h.

◆ TH_NULLBUFFERPOINTER

const int o2::hmpid::TH_NULLBUFFERPOINTER = 13

Definition at line 59 of file HmpidEquipment.h.

◆ TH_OPENFILE

const int o2::hmpid::TH_OPENFILE = 8

Definition at line 52 of file HmpidEquipment.h.

◆ TH_READFILE

const int o2::hmpid::TH_READFILE = 6

Definition at line 54 of file HmpidEquipment.h.

◆ TH_WRITEFILE

const int o2::hmpid::TH_WRITEFILE = 5

Definition at line 55 of file HmpidEquipment.h.

◆ TH_WRONGBUFFERDIM

const int o2::hmpid::TH_WRONGBUFFERDIM = 11

Definition at line 61 of file HmpidEquipment.h.

◆ TH_WRONGEQUIPINDEX

const int o2::hmpid::TH_WRONGEQUIPINDEX = 19

Definition at line 56 of file HmpidEquipment.h.

◆ TH_WRONGFILELEN

const int o2::hmpid::TH_WRONGFILELEN = 14

Definition at line 58 of file HmpidEquipment.h.

◆ TH_WRONGHEADER

const int o2::hmpid::TH_WRONGHEADER = 15

Definition at line 57 of file HmpidEquipment.h.