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

Namespaces

namespace  reco_workflow
 

Classes

struct  AltroBunch
 
class  AltroDecoder
 Decoder of the ALTRO data in the raw page. More...
 
class  AltroDecoderError
 Error handling of the ALTRO Decoder. More...
 
class  BadChannelsMap
 CCDB container for bad (masked) channels in PHOS. More...
 
union  CalibDigit
 
class  CalibParams
 
union  CaloBunchWord
 
class  CaloRawFitter
 
class  CaloRawFitterGS
 
class  Cell
 
class  CellReader
 
union  ChannelHeader
 
struct  CluElement
 
class  Cluster
 Contains PHOS cluster parameters. More...
 
class  Clusterer
 
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
 Detector class for the PHOS detector. More...
 
class  Digit
 
class  Digitizer
 
class  DigitizerSpec
 Task for PHOS digitization in the data processing layer. More...
 
class  DigitReader
 
class  EntropyDecoderSpec
 
class  EntropyEncoderSpec
 
class  ETCalibHistos
 
class  EventBuilderSpec
 Class merges subevents from two FLPs. More...
 
struct  EventData
 
class  EventHandler
 
union  EventHeader
 
class  Geometry
 
class  GeometryParams
 
class  Hit
 PHOS simulation hit information. More...
 
class  Mapping
 
class  MCLabel
 
class  Pedestals
 
class  PHOSBadMapCalibDevice
 
struct  PHOSBlockHeader
 Header for PHOS flagging the following PHOS payload. More...
 
class  PHOSEnergyCalibDevice
 
class  PHOSEnergyCalibrator
 
class  PHOSEnergySlot
 
class  PHOSHGLGRatioCalibDevice
 
class  PHOSL1phaseCalibDevice
 
class  PHOSL1phaseCalibrator
 
class  PHOSL1phaseSlot
 
class  PHOSPedestalCalibDevice
 
class  PHOSRunbyrunCalibDevice
 
class  PHOSRunbyrunCalibrator
 
class  PHOSRunbyrunSlot
 
struct  PHOSSimParams
 
class  PHOSTurnonCalibDevice
 
class  PHOSTurnonCalibrator
 
class  PHOSTurnonSlot
 
struct  ProcessAttributes
 
class  RawBuffer
 Buffer for PHOS raw pages. More...
 
class  RawDecodingError
 Error handling of the raw reader. More...
 
class  RawPayload
 Class for raw payload excluding raw data headers from one or multiple DMA pages. More...
 
class  RawReaderError
 Error occured during reasing raw data. More...
 
class  RawReaderMemory
 Reader for raw data produced by the Readout application in in-memory format. More...
 
class  RawWriter
 
class  RCUTrailer
 Information stored in the RCU trailer. More...
 
class  RingBuffer
 
struct  SRUDigitContainer
 
class  StandaloneAODProducerSpec
 
class  TriggerMap
 
class  TriggerRecord
 Header for data corresponding to the same hardware trigger adapted from DataFormatsEMCAL/TriggerRecord. More...
 
class  TurnOnHistos
 

Typedefs

using DigitBase = o2::dataformats::TimeStamp< double >
 
using OutputSpec = framework::OutputSpec
 
template<typename T >
using BranchDefinition = MakeRootTreeWriterSpec::BranchDefinition< T >
 
using ClusType = std::vector< o2::phos::Cluster >
 
using CellType = std::vector< o2::phos::Cell >
 
using TriggerRecordType = std::vector< o2::phos::TriggerRecord >
 
using MCLabelType = o2::dataformats::MCTruthContainer< o2::phos::MCLabel >
 

Enumerations

enum  ChannelType_t { LOW_GAIN , HIGH_GAIN , TRU2x2 , TRU4x4 }
 

Functions

std::ostream & operator<< (std::ostream &in, const BadChannelsMap &bcm)
 Printing bad channel map on the stream.
 
std::ostream & operator<< (std::ostream &stream, const Cell &c)
 
std::ostream & operator<< (std::ostream &stream, const Digit &dig)
 
std::ostream & operator<< (std::ostream &stream, const TriggerRecord &trg)
 
 BOOST_AUTO_TEST_CASE (Cell_test)
 Standard tests for cell class.
 
std::ostream & operator<< (std::ostream &stream, const Hit &point)
 
std::ostream & operator<< (std::ostream &stream, const RCUTrailer &trailer)
 
o2::framework::DataProcessorSpec getBadMapCalibSpec (int mode)
 
o2::framework::DataProcessorSpec getPHOSEnergyCalibDeviceSpec (bool useCCDB, const std::string &outputDir, const std::string &metaFileDir, bool writeRootOutput)
 
DataProcessorSpec getHGLGRatioCalibSpec (bool useCCDB, bool forceUpdate)
 
o2::framework::DataProcessorSpec getPHOSL1phaseCalibDeviceSpec ()
 
o2::framework::DataProcessorSpec getPedestalCalibSpec (bool useCCDB, bool forceUpdate)
 
o2::framework::DataProcessorSpec getPHOSRunbyrunCalibDeviceSpec (bool useCCDB, const std::string &outputDir, const std::string &metaFileDir, bool writeRootOutput)
 
o2::framework::DataProcessorSpec getPHOSTurnonCalibDeviceSpec (bool useCCDB)
 
o2::framework::DataProcessorSpec getPHOSTunronCalibDeviceSpec (bool useCCDB)
 
std::istream & operator>> (std::istream &stream, o2::header::RAWDataHeaderV4 &header)
 
std::istream & operator>> (std::istream &stream, o2::header::RAWDataHeaderV5 &header)
 
std::ostream & operator<< (std::ostream &stream, const o2::header::RAWDataHeaderV4 &header)
 
std::ostream & operator<< (std::ostream &stream, const o2::header::RAWDataHeaderV5 &header)
 
framework::DataProcessorSpec getPHOSCellReaderSpec (bool useMC=true)
 
framework::DataProcessorSpec getPHOSDigitReaderSpec (bool useMC=true)
 
framework::DataProcessorSpec getEntropyDecoderSpec (int verbosity, unsigned int sspec)
 create a processor spec
 
framework::DataProcessorSpec getEntropyEncoderSpec (bool selIR=false)
 create a processor spec
 
o2::framework::DataProcessorSpec getEventBuilderSpec ()
 
framework::DataProcessorSpec getDigitsReaderSpec (bool propagateMC=true)
 
framework::DataProcessorSpec getCellReaderSpec (bool propagateMC=true)
 
framework::DataProcessorSpec getPHOSStandaloneAODProducerSpec ()
 create a processor spec
 
framework::DataProcessorSpec getCellWriterSpec (bool useMC)
 
framework::DataProcessorSpec getClusterWriterSpec (bool useMC)
 write PHOS clusters to ROOT file
 
DataProcessorSpec getPHOSDigitizerSpec (int channel, bool mctruth=true)
 Create new digitizer spec.
 
o2::framework::DataProcessorSpec getPHOSDigitWriterSpec (bool mctruth)
 

Variables

constexpr int kOffset = 1792
 
constexpr int kNmaxCell = 14336
 
constexpr float kTimeAccuracy1 = 1.e-9
 
constexpr float kTimeAccuracy2 = 0.6e-9
 
constexpr float kTimeAccuracy3 = 0.2e-9
 
constexpr float kTimeAccuracy4 = 0.6e-9
 
constexpr float kTimeAccuracy5 = 1.e-9
 
constexpr float kTime0 = -1500.e-9
 
constexpr float kTime1 = -800.e-9
 
constexpr float kTime2 = -200.e-9
 
constexpr float kTime3 = 200.e-9
 
constexpr float kTime4 = 800.e-9
 
constexpr uint16_t kTimeOffset1 = 1 + (kTime1 - kTime0) / kTimeAccuracy1
 
constexpr uint16_t kTimeOffset2 = kTimeOffset1 + (kTime2 - kTime1) / kTimeAccuracy2
 
constexpr uint16_t kTimeOffset3 = kTimeOffset2 + (kTime3 - kTime2) / kTimeAccuracy3
 
constexpr uint16_t kTimeOffset4 = kTimeOffset3 + (kTime4 - kTime3) / kTimeAccuracy4
 

Typedef Documentation

◆ BranchDefinition

Definition at line 36 of file ReaderSpec.cxx.

◆ CellType

using o2::phos::CellType = typedef std::vector<o2::phos::Cell>

Definition at line 35 of file WriterSpec.cxx.

◆ ClusType

using o2::phos::ClusType = typedef std::vector<o2::phos::Cluster>

Definition at line 34 of file WriterSpec.cxx.

◆ DigitBase

Definition at line 27 of file Digit.h.

◆ MCLabelType

◆ OutputSpec

Definition at line 23 of file ReaderSpec.h.

◆ TriggerRecordType

Definition at line 36 of file WriterSpec.cxx.

Enumeration Type Documentation

◆ ChannelType_t

Enumerator
LOW_GAIN 

Low gain channel.

HIGH_GAIN 

High gain channel.

TRU2x2 

TRU channel, 2x2 trigger.

TRU4x4 

TRU channel, 4x4 trigger.

Definition at line 51 of file Cell.h.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

o2::phos::BOOST_AUTO_TEST_CASE ( Cell_test  )

Standard tests for cell class.

  • verify that set and get functions return consistent values

Definition at line 29 of file testCell.cxx.

◆ getBadMapCalibSpec()

o2::framework::DataProcessorSpec o2::phos::getBadMapCalibSpec ( int  mode)

Definition at line 401 of file PHOSBadMapCalibDevice.cxx.

◆ getCellReaderSpec()

DataProcessorSpec o2::phos::getCellReaderSpec ( bool  propagateMC = true)

Definition at line 142 of file ReaderSpec.cxx.

◆ getCellWriterSpec()

DataProcessorSpec o2::phos::getCellWriterSpec ( bool  useMC)

create a processor spec write PHOS clusters to ROOT file

Definition at line 70 of file WriterSpec.cxx.

◆ getClusterWriterSpec()

DataProcessorSpec o2::phos::getClusterWriterSpec ( bool  useMC)

write PHOS clusters to ROOT file

Definition at line 40 of file WriterSpec.cxx.

◆ getDigitsReaderSpec()

DataProcessorSpec o2::phos::getDigitsReaderSpec ( bool  propagateMC = true)

Definition at line 45 of file ReaderSpec.cxx.

◆ getEntropyDecoderSpec()

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

create a processor spec

Definition at line 77 of file EntropyDecoderSpec.cxx.

◆ getEntropyEncoderSpec()

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

create a processor spec

Definition at line 73 of file EntropyEncoderSpec.cxx.

◆ getEventBuilderSpec()

o2::framework::DataProcessorSpec o2::phos::getEventBuilderSpec ( )

Definition at line 185 of file EventBuilderSpec.cxx.

◆ getHGLGRatioCalibSpec()

DataProcessorSpec o2::phos::getHGLGRatioCalibSpec ( bool  useCCDB,
bool  forceUpdate 
)

Definition at line 235 of file PHOSHGLGRatioCalibDevice.cxx.

◆ getPedestalCalibSpec()

o2::framework::DataProcessorSpec o2::phos::getPedestalCalibSpec ( bool  useCCDB,
bool  forceUpdate 
)

Definition at line 217 of file PHOSPedestalCalibDevice.cxx.

◆ getPHOSCellReaderSpec()

DataProcessorSpec o2::phos::getPHOSCellReaderSpec ( bool  useMC = true)

create a processor spec read PHOS Cell data from a root file

Definition at line 80 of file CellReaderSpec.cxx.

◆ getPHOSDigitizerSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSDigitizerSpec ( int  channel,
bool  mctruth = true 
)

Create new digitizer spec.

Returns
Digitizer spec

Definition at line 183 of file PHOSDigitizerSpec.cxx.

◆ getPHOSDigitReaderSpec()

DataProcessorSpec o2::phos::getPHOSDigitReaderSpec ( bool  useMC = true)

create a processor spec read PHOS Digit data from a root file

Definition at line 80 of file DigitReaderSpec.cxx.

◆ getPHOSDigitWriterSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSDigitWriterSpec ( bool  mctruth)

Definition at line 32 of file PHOSDigitWriterSpec.h.

◆ getPHOSEnergyCalibDeviceSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSEnergyCalibDeviceSpec ( bool  useCCDB,
const std::string &  outputDir,
const std::string &  metaFileDir,
bool  writeRootOutput 
)

Definition at line 253 of file PHOSEnergyCalibDevice.cxx.

◆ getPHOSL1phaseCalibDeviceSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSL1phaseCalibDeviceSpec ( )

Definition at line 104 of file PHOSL1phaseCalibDevice.cxx.

◆ getPHOSRunbyrunCalibDeviceSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSRunbyrunCalibDeviceSpec ( bool  useCCDB,
const std::string &  outputDir,
const std::string &  metaFileDir,
bool  writeRootOutput 
)

Definition at line 132 of file PHOSRunbyrunCalibDevice.cxx.

◆ getPHOSStandaloneAODProducerSpec()

DataProcessorSpec o2::phos::getPHOSStandaloneAODProducerSpec ( )

create a processor spec

Definition at line 151 of file StandaloneAODProducerSpec.cxx.

◆ getPHOSTunronCalibDeviceSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSTunronCalibDeviceSpec ( bool  useCCDB)

◆ getPHOSTurnonCalibDeviceSpec()

o2::framework::DataProcessorSpec o2::phos::getPHOSTurnonCalibDeviceSpec ( bool  useCCDB)

Definition at line 87 of file PHOSTurnonCalibDevice.cxx.

◆ operator<<() [1/8]

std::ostream & o2::phos::operator<< ( std::ostream &  in,
const BadChannelsMap bcm 
)

Printing bad channel map on the stream.

Parameters
inStream where the bad channel map is printed on
bcmBad channel map to be printed
Returns
Stream after printing the bad channel map

Printing cellID of all bad channels stored in the bad channel map on the stream.

Definition at line 95 of file BadChannelsMap.cxx.

◆ operator<<() [2/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const Cell c 
)

◆ operator<<() [3/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const Digit dig 
)

◆ operator<<() [4/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const Hit point 
)

◆ operator<<() [5/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const o2::header::RAWDataHeaderV4 header 
)

Definition at line 59 of file RawHeaderStream.cxx.

◆ operator<<() [6/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const o2::header::RAWDataHeaderV5 header 
)

Definition at line 94 of file RawHeaderStream.cxx.

◆ operator<<() [7/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const RCUTrailer trailer 
)

Definition at line 246 of file RCUTrailer.cxx.

◆ operator<<() [8/8]

std::ostream & o2::phos::operator<< ( std::ostream &  stream,
const TriggerRecord trg 
)

Definition at line 26 of file TriggerRecord.cxx.

◆ operator>>() [1/2]

std::istream & o2::phos::operator>> ( std::istream &  stream,
o2::header::RAWDataHeaderV4 header 
)

Definition at line 15 of file RawHeaderStream.cxx.

◆ operator>>() [2/2]

std::istream & o2::phos::operator>> ( std::istream &  stream,
o2::header::RAWDataHeaderV5 header 
)

Definition at line 37 of file RawHeaderStream.cxx.

Variable Documentation

◆ kNmaxCell

constexpr int o2::phos::kNmaxCell = 14336
constexpr

Definition at line 30 of file Cell.h.

◆ kOffset

constexpr int o2::phos::kOffset = 1792
constexpr

Definition at line 29 of file Cell.h.

◆ kTime0

constexpr float o2::phos::kTime0 = -1500.e-9
constexpr

Definition at line 41 of file Cell.h.

◆ kTime1

constexpr float o2::phos::kTime1 = -800.e-9
constexpr

Definition at line 42 of file Cell.h.

◆ kTime2

constexpr float o2::phos::kTime2 = -200.e-9
constexpr

Definition at line 43 of file Cell.h.

◆ kTime3

constexpr float o2::phos::kTime3 = 200.e-9
constexpr

Definition at line 44 of file Cell.h.

◆ kTime4

constexpr float o2::phos::kTime4 = 800.e-9
constexpr

Definition at line 45 of file Cell.h.

◆ kTimeAccuracy1

constexpr float o2::phos::kTimeAccuracy1 = 1.e-9
constexpr

Definition at line 36 of file Cell.h.

◆ kTimeAccuracy2

constexpr float o2::phos::kTimeAccuracy2 = 0.6e-9
constexpr

Definition at line 37 of file Cell.h.

◆ kTimeAccuracy3

constexpr float o2::phos::kTimeAccuracy3 = 0.2e-9
constexpr

Definition at line 38 of file Cell.h.

◆ kTimeAccuracy4

constexpr float o2::phos::kTimeAccuracy4 = 0.6e-9
constexpr

Definition at line 39 of file Cell.h.

◆ kTimeAccuracy5

constexpr float o2::phos::kTimeAccuracy5 = 1.e-9
constexpr

Definition at line 40 of file Cell.h.

◆ kTimeOffset1

constexpr uint16_t o2::phos::kTimeOffset1 = 1 + (kTime1 - kTime0) / kTimeAccuracy1
constexpr

Definition at line 46 of file Cell.h.

◆ kTimeOffset2

constexpr uint16_t o2::phos::kTimeOffset2 = kTimeOffset1 + (kTime2 - kTime1) / kTimeAccuracy2
constexpr

Definition at line 47 of file Cell.h.

◆ kTimeOffset3

constexpr uint16_t o2::phos::kTimeOffset3 = kTimeOffset2 + (kTime3 - kTime2) / kTimeAccuracy3
constexpr

Definition at line 48 of file Cell.h.

◆ kTimeOffset4

constexpr uint16_t o2::phos::kTimeOffset4 = kTimeOffset3 + (kTime4 - kTime3) / kTimeAccuracy4
constexpr

Definition at line 49 of file Cell.h.