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

Namespaces

namespace  reco_workflow
 

Classes

union  AddressCharge
 
class  AmplitudeSpectrum
 
class  BadChannelMap
 CCDB container for bad (masked) channels in CPV. More...
 
struct  BCRecord
 BC reference to digits. More...
 
class  CalibParams
 
class  Cluster
 Contains CPV cluster parameters. More...
 
class  Clusterer
 
class  ClusterReader
 
class  CPVBadMapCalibDevice
 
struct  CPVBlockHeader
 Header for CPV flagging the following CPV payload. More...
 
struct  CPVCalibParams
 
class  CPVGainCalibDevice
 
class  CpvHeader
 
class  CPVPedestalCalibDevice
 
struct  CPVSimParams
 
class  CpvTrailer
 
class  CpvWord
 
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 CPV detector. More...
 
class  Digit
 
class  Digitizer
 
class  DigitizerSpec
 Task for CPV digitization in the data processing layer. More...
 
class  DigitReader
 
class  EntropyDecoderSpec
 
class  EntropyEncoderSpec
 
class  FullCluster
 CPV cluster implementation. More...
 
class  GainCalibData
 
class  GainCalibrator
 
struct  GBTLinkAttributes
 
class  Geometry
 
class  GeometryParams
 
class  Hit
 CPV simulation hit information. More...
 
struct  NoiseCalibData
 
class  NoiseCalibrator
 
struct  padCharge
 
union  PadWord
 
struct  PedestalCalibData
 
class  PedestalCalibrator
 
class  Pedestals
 
class  PedestalSpectrum
 
struct  ProcessAttributes
 
class  RawDecoder
 Decoder of the ALTRO data in the raw page. More...
 
struct  RawDecoderError
 
class  RawReaderMemory
 Reader for raw data produced by the Readout application in in-memory format. More...
 
class  RawWriter
 
class  TriggerRecord
 Header for data corresponding to the same hardware trigger adapted from DataFormatsEMCAL/TriggerRecord. More...
 

Typedefs

using DigitBase = o2::dataformats::TimeStamp< double >
 
using GainTimeSlot = o2::calibration::TimeSlot< GainCalibData >
 
using Digit = o2::cpv::Digit
 
using NoiseTimeSlot = o2::calibration::TimeSlot< o2::cpv::NoiseCalibData >
 
using PedestalTimeSlot = o2::calibration::TimeSlot< o2::cpv::PedestalCalibData >
 
using OutputSpec = framework::OutputSpec
 
template<typename T >
using BranchDefinition = MakeRootTreeWriterSpec::BranchDefinition< T >
 
using ClusType = std::vector< o2::cpv::Cluster >
 
using DigitType = std::vector< o2::cpv::Digit >
 
using TriggerRecordType = std::vector< o2::cpv::TriggerRecord >
 
using MCLabelType = o2::dataformats::MCTruthContainer< MCCompLabel >
 

Enumerations

enum  RawErrorType_t {
  kOK , kOK_NO_PAYLOAD , kRDH_DECODING , kRDH_INVALID ,
  kNOT_CPV_RDH , kSTOPBIT_NOTFOUND , kPAGE_NOTFOUND , kOFFSET_TO_NEXT_IS_0 ,
  kPAYLOAD_INCOMPLETE , kNO_CPVHEADER , kNO_CPVTRAILER , kCPVHEADER_INVALID ,
  kCPVTRAILER_INVALID , kSEGMENT_HEADER_ERROR , kROW_HEADER_ERROR , kEOE_HEADER_ERROR ,
  kPADERROR , kUNKNOWN_WORD , kPadAddress , kWRONG_DATAFORMAT
}
 

Functions

std::ostream & operator<< (std::ostream &in, const BadChannelMap &bcm)
 Printing bad channel map on the stream.
 
std::ostream & operator<< (std::ostream &stream, const Digit &dig)
 
std::ostream & operator<< (std::ostream &stream, const Hit &point)
 
std::ostream & operator<< (std::ostream &stream, const TriggerRecord &trg)
 
o2::framework::DataProcessorSpec getBadMapCalibSpec (bool useCCDB, bool forceUpdate, std::string path, short method)
 
o2::framework::DataProcessorSpec getGainCalibSpec (bool useCCDB, bool forceUpdate, std::string path)
 
o2::framework::DataProcessorSpec getPedestalCalibSpec (bool useCCDB, bool forceUpdate, std::string path)
 
framework::DataProcessorSpec getCPVClusterReaderSpec (bool useMC=true)
 
framework::DataProcessorSpec getCPVDigitReaderSpec (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
 
framework::DataProcessorSpec getDigitsReaderSpec (bool propagateMC=true)
 
framework::DataProcessorSpec getClustersReaderSpec (bool propagateMC=true)
 
framework::DataProcessorSpec getClusterWriterSpec (bool useMC)
 
framework::DataProcessorSpec getDigitWriterSpec (bool useMC)
 
DataProcessorSpec getCPVDigitizerSpec (int channel, bool mctruth=true)
 Create new digitizer spec.
 
o2::framework::DataProcessorSpec getCPVDigitWriterSpec (bool mctruth=true)
 

Variables

constexpr float kMinX = -72.32
 
constexpr float kStepX = 0.0025
 
constexpr float kMinZ = -63.3
 
constexpr float kStepZ = 0.002
 
constexpr float kStepE = 0.036
 
const GBTLinkAttributes links [kNGBTLinks]
 

Typedef Documentation

◆ BranchDefinition

Definition at line 38 of file ReaderSpec.cxx.

◆ ClusType

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

Definition at line 32 of file WriterSpec.cxx.

◆ Digit

Definition at line 26 of file NoiseCalibrator.h.

◆ DigitBase

Definition at line 27 of file Digit.h.

◆ DigitType

using o2::cpv::DigitType = typedef std::vector<o2::cpv::Digit>

Definition at line 33 of file WriterSpec.cxx.

◆ GainTimeSlot

◆ MCLabelType

◆ NoiseTimeSlot

◆ OutputSpec

Definition at line 23 of file ReaderSpec.h.

◆ PedestalTimeSlot

◆ TriggerRecordType

using o2::cpv::TriggerRecordType = typedef std::vector<o2::cpv::TriggerRecord>

Definition at line 34 of file WriterSpec.cxx.

Enumeration Type Documentation

◆ RawErrorType_t

Enumerator
kOK 

NoError.

kOK_NO_PAYLOAD 

No payload per ddl (not error)

kRDH_DECODING 
kRDH_INVALID 
kNOT_CPV_RDH 
kSTOPBIT_NOTFOUND 
kPAGE_NOTFOUND 
kOFFSET_TO_NEXT_IS_0 
kPAYLOAD_INCOMPLETE 
kNO_CPVHEADER 
kNO_CPVTRAILER 
kCPVHEADER_INVALID 
kCPVTRAILER_INVALID 
kSEGMENT_HEADER_ERROR 
kROW_HEADER_ERROR 
kEOE_HEADER_ERROR 
kPADERROR 
kUNKNOWN_WORD 
kPadAddress 
kWRONG_DATAFORMAT 

Definition at line 26 of file RawReaderMemory.h.

Function Documentation

◆ getBadMapCalibSpec()

o2::framework::DataProcessorSpec o2::cpv::getBadMapCalibSpec ( bool  useCCDB,
bool  forceUpdate,
std::string  path,
short  method 
)

Definition at line 205 of file CPVBadMapCalibDevice.cxx.

◆ getClustersReaderSpec()

DataProcessorSpec o2::cpv::getClustersReaderSpec ( bool  propagateMC = true)

Definition at line 137 of file ReaderSpec.cxx.

◆ getClusterWriterSpec()

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

create a processor spec write CPV clusters to ROOT file

Definition at line 38 of file WriterSpec.cxx.

◆ getCPVClusterReaderSpec()

DataProcessorSpec o2::cpv::getCPVClusterReaderSpec ( bool  useMC = true)

create a processor spec read CPV Cluster data from a root file

Definition at line 80 of file ClusterReaderSpec.cxx.

◆ getCPVDigitizerSpec()

o2::framework::DataProcessorSpec o2::cpv::getCPVDigitizerSpec ( int  channel,
bool  mctruth = true 
)

Create new digitizer spec.

Returns
Digitizer spec

Definition at line 192 of file CPVDigitizerSpec.cxx.

◆ getCPVDigitReaderSpec()

DataProcessorSpec o2::cpv::getCPVDigitReaderSpec ( bool  useMC = true)

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

Definition at line 80 of file DigitReaderSpec.cxx.

◆ getCPVDigitWriterSpec()

o2::framework::DataProcessorSpec o2::cpv::getCPVDigitWriterSpec ( bool  mctruth = true)

Definition at line 31 of file CPVDigitWriterSpec.h.

◆ getDigitsReaderSpec()

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

Definition at line 47 of file ReaderSpec.cxx.

◆ getDigitWriterSpec()

DataProcessorSpec o2::cpv::getDigitWriterSpec ( bool  useMC)

Definition at line 68 of file WriterSpec.cxx.

◆ getEntropyDecoderSpec()

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

create a processor spec

Definition at line 77 of file EntropyDecoderSpec.cxx.

◆ getEntropyEncoderSpec()

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

create a processor spec

Definition at line 73 of file EntropyEncoderSpec.cxx.

◆ getGainCalibSpec()

o2::framework::DataProcessorSpec o2::cpv::getGainCalibSpec ( bool  useCCDB,
bool  forceUpdate,
std::string  path 
)

Definition at line 213 of file CPVGainCalibDevice.cxx.

◆ getPedestalCalibSpec()

o2::framework::DataProcessorSpec o2::cpv::getPedestalCalibSpec ( bool  useCCDB,
bool  forceUpdate,
std::string  path 
)

Definition at line 170 of file CPVPedestalCalibDevice.cxx.

◆ operator<<() [1/4]

std::ostream & o2::cpv::operator<< ( std::ostream &  in,
const BadChannelMap 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 93 of file BadChannelMap.cxx.

◆ operator<<() [2/4]

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

◆ operator<<() [3/4]

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

◆ operator<<() [4/4]

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

Definition at line 26 of file TriggerRecord.cxx.

Variable Documentation

◆ kMinX

constexpr float o2::cpv::kMinX = -72.32
constexpr

Definition at line 26 of file Cluster.h.

◆ kMinZ

constexpr float o2::cpv::kMinZ = -63.3
constexpr

Definition at line 28 of file Cluster.h.

◆ kStepE

constexpr float o2::cpv::kStepE = 0.036
constexpr

Definition at line 30 of file Cluster.h.

◆ kStepX

constexpr float o2::cpv::kStepX = 0.0025
constexpr

Definition at line 27 of file Cluster.h.

◆ kStepZ

constexpr float o2::cpv::kStepZ = 0.002
constexpr

Definition at line 29 of file Cluster.h.

◆ links

const GBTLinkAttributes o2::cpv::links[kNGBTLinks]
Initial value:
=
{
{0, 0, 0, 0, "alio2-cr1-flp162"},
{1, 1, 0, 0, "alio2-cr1-flp162"},
{2, 2, 0, 0, "alio2-cr1-flp162"}}

Definition at line 54 of file RawWriter.h.