Project
Loading...
Searching...
No Matches
o2::ft0::RecPoints Class Reference

#include <RecPoints.h>

Public Types

enum  ETimeType { kTimeMean , kTimeA , kTimeC , kTimeVertex }
 
enum  ETriggerBits {
  kOrA = 0 , kOrC = 1 , kSemiCentral = 2 , kCentral = 3 ,
  kVertex = 4 , kIsActiveSideA = 5 , kIsActiveSideC = 6 , kIsFlangeEvent = 7
}
 
enum  ETechnicalBits { kLaser = 0 , kOutputsAreBlocked = 1 , kDataIsValid = 2 }
 

Public Member Functions

 RecPoints ()=default
 
 RecPoints (const std::array< short, 4 > &collisiontime, int first, int ne, o2::InteractionRecord iRec, o2::fit::Triggers chTrig)
 
 RecPoints (int chDataFirstEntryPos, int chDataNEntries, const o2::InteractionRecord &ir, const std::array< short, 4 > &arrTimes, const o2::fit::Triggers &digitTriggers, uint8_t extraTriggerWord)
 
 ~RecPoints ()=default
 
short getCollisionTime (int side) const
 
short getCollisionTimeMean () const
 
short getCollisionTimeA () const
 
short getCollisionTimeC () const
 
bool isValidTime (int side) const
 
void setCollisionTime (short time, int side)
 
short getVertex () const
 
void setVertex (short vertex)
 
o2::fit::Triggers getTrigger () const
 
void setTriggers (o2::fit::Triggers trig)
 
uint8_t getTechnicalWord () const
 
o2::InteractionRecord getInteractionRecord () const
 
gsl::span< const ChannelDataFloatgetBunchChannelData (const gsl::span< const ChannelDataFloat > tfdata) const
 
void print () const
 
bool operator== (const RecPoints &) const =default
 

Static Public Member Functions

static constexpr uint8_t makeExtraTrgWord (bool isActiveA=true, bool isActiveC=true, bool isFlangeEvent=true)
 

Public Attributes

o2::dataformats::RangeReference< int, intref
 
o2::InteractionRecord mIntRecord
 

Static Public Attributes

static const std::map< unsigned int, std::string > sMapTriggerBits
 
static const std::map< unsigned int, std::string > sMapTechnicalBits
 
static short constexpr sDummyCollissionTime = 32767
 

Detailed Description

Definition at line 57 of file RecPoints.h.

Member Enumeration Documentation

◆ ETechnicalBits

Enumerator
kLaser 
kOutputsAreBlocked 
kDataIsValid 

Definition at line 86 of file RecPoints.h.

◆ ETimeType

Enumerator
kTimeMean 
kTimeA 
kTimeC 
kTimeVertex 

Definition at line 61 of file RecPoints.h.

◆ ETriggerBits

Enumerator
kOrA 
kOrC 
kSemiCentral 
kCentral 
kVertex 
kIsActiveSideA 
kIsActiveSideC 
kIsFlangeEvent 

Definition at line 67 of file RecPoints.h.

Constructor & Destructor Documentation

◆ RecPoints() [1/3]

o2::ft0::RecPoints::RecPoints ( )
default

◆ RecPoints() [2/3]

o2::ft0::RecPoints::RecPoints ( const std::array< short, 4 > &  collisiontime,
int  first,
int  ne,
o2::InteractionRecord  iRec,
o2::fit::Triggers  chTrig 
)
inline

Definition at line 98 of file RecPoints.h.

◆ RecPoints() [3/3]

o2::ft0::RecPoints::RecPoints ( int  chDataFirstEntryPos,
int  chDataNEntries,
const o2::InteractionRecord ir,
const std::array< short, 4 > &  arrTimes,
const o2::fit::Triggers digitTriggers,
uint8_t  extraTriggerWord 
)
inline

Definition at line 107 of file RecPoints.h.

◆ ~RecPoints()

o2::ft0::RecPoints::~RecPoints ( )
default

Member Function Documentation

◆ getBunchChannelData()

gsl::span< const ChannelDataFloat > RecPoints::getBunchChannelData ( const gsl::span< const ChannelDataFloat tfdata) const

Definition at line 29 of file RecPoints.cxx.

◆ getCollisionTime()

short o2::ft0::RecPoints::getCollisionTime ( int  side) const
inline

Definition at line 121 of file RecPoints.h.

◆ getCollisionTimeA()

short o2::ft0::RecPoints::getCollisionTimeA ( ) const
inline

Definition at line 123 of file RecPoints.h.

◆ getCollisionTimeC()

short o2::ft0::RecPoints::getCollisionTimeC ( ) const
inline

Definition at line 124 of file RecPoints.h.

◆ getCollisionTimeMean()

short o2::ft0::RecPoints::getCollisionTimeMean ( ) const
inline

Definition at line 122 of file RecPoints.h.

◆ getInteractionRecord()

o2::InteractionRecord o2::ft0::RecPoints::getInteractionRecord ( ) const
inline

Definition at line 141 of file RecPoints.h.

◆ getTechnicalWord()

uint8_t o2::ft0::RecPoints::getTechnicalWord ( ) const
inline

Definition at line 133 of file RecPoints.h.

◆ getTrigger()

o2::fit::Triggers o2::ft0::RecPoints::getTrigger ( ) const
inline

Definition at line 131 of file RecPoints.h.

◆ getVertex()

short o2::ft0::RecPoints::getVertex ( ) const
inline

Definition at line 128 of file RecPoints.h.

◆ isValidTime()

bool o2::ft0::RecPoints::isValidTime ( int  side) const
inline

Definition at line 125 of file RecPoints.h.

◆ makeExtraTrgWord()

static constexpr uint8_t o2::ft0::RecPoints::makeExtraTrgWord ( bool  isActiveA = true,
bool  isActiveC = true,
bool  isFlangeEvent = true 
)
inlinestaticconstexpr

Definition at line 134 of file RecPoints.h.

◆ operator==()

bool o2::ft0::RecPoints::operator== ( const RecPoints ) const
default

◆ print()

void RecPoints::print ( ) const

Definition at line 35 of file RecPoints.cxx.

◆ setCollisionTime()

void o2::ft0::RecPoints::setCollisionTime ( short  time,
int  side 
)
inline

Definition at line 126 of file RecPoints.h.

◆ setTriggers()

void o2::ft0::RecPoints::setTriggers ( o2::fit::Triggers  trig)
inline

Definition at line 132 of file RecPoints.h.

◆ setVertex()

void o2::ft0::RecPoints::setVertex ( short  vertex)
inline

Definition at line 129 of file RecPoints.h.

Member Data Documentation

◆ mIntRecord

o2::InteractionRecord o2::ft0::RecPoints::mIntRecord

Definition at line 96 of file RecPoints.h.

◆ ref

o2::dataformats::RangeReference<int, int> o2::ft0::RecPoints::ref

Definition at line 95 of file RecPoints.h.

◆ sDummyCollissionTime

short constexpr o2::ft0::RecPoints::sDummyCollissionTime = 32767
staticconstexpr

Definition at line 143 of file RecPoints.h.

◆ sMapTechnicalBits

const std::map<unsigned int, std::string> o2::ft0::RecPoints::sMapTechnicalBits
inlinestatic
Initial value:

Definition at line 90 of file RecPoints.h.

◆ sMapTriggerBits

const std::map<unsigned int, std::string> o2::ft0::RecPoints::sMapTriggerBits
inlinestatic
Initial value:

Definition at line 76 of file RecPoints.h.


The documentation for this class was generated from the following files: