Project
Loading...
Searching...
No Matches
o2::grp::GRPDCSDPsProcessor Class Reference

#include <GRPDCSDPsProcessor.h>

Public Member Functions

 GRPDCSDPsProcessor ()=default
 
 ~GRPDCSDPsProcessor ()=default
 
void init (const std::vector< DPID > &pids)
 
int process (const gsl::span< const DPCOM > dps)
 
int processDP (const DPCOM &dpcom)
 
O2LongUInt processFlags (O2LongUInt flag, const char *pid)
 
bool processCollimators (const DPCOM &dpcom)
 
bool processEnvVar (const DPCOM &dpcom)
 
bool processPairD (const DPCOM &dpcom, const std::string &alias, std::unordered_map< std::string, std::vector< std::pair< O2LongUInt, double > > > &mapToUpdate)
 
bool processPairS (const DPCOM &dpcom, const std::string &alias, std::pair< O2LongUInt, std::string > &p, bool &flag)
 
bool compareToLatest (std::pair< O2LongUInt, double > &p, double val)
 
bool processLHCIFDPs (const DPCOM &dpcom)
 
void resetAndKeepLastLHCIFDPs ()
 
void resetAndKeepLast (std::unordered_map< std::string, std::vector< std::pair< O2LongUInt, double > > > &mapToReset)
 
void resetPIDs ()
 
void resetPIDsLHCIF ()
 
const o2::parameters::GRPMagFieldgetMagFieldObj () const
 
const o2::ccdb::CcdbObjectInfogetccdbMagFieldInfo () const
 
o2::ccdb::CcdbObjectInfogetccdbMagFieldInfo ()
 
void updateMagFieldCCDB ()
 
bool isMagFieldUpdated () const
 
const GRPLHCInfogetLHCIFObj () const
 
const o2::ccdb::CcdbObjectInfogetccdbLHCIFInfo () const
 
o2::ccdb::CcdbObjectInfogetccdbLHCIFInfo ()
 
void updateLHCIFInfoCCDB ()
 
bool isLHCIFInfoUpdated () const
 
const GRPEnvVariablesgetEnvVarsObj () const
 
GRPEnvVariablesgetEnvVarsObj ()
 
const o2::ccdb::CcdbObjectInfogetccdbEnvVarsInfo () const
 
o2::ccdb::CcdbObjectInfogetccdbEnvVarsInfo ()
 
void updateEnvVarsCCDB ()
 
const GRPCollimatorsgetCollimatorsObj () const
 
GRPCollimatorsgetCollimatorsObj ()
 
const o2::ccdb::CcdbObjectInfogetccdbCollimatorsInfo () const
 
o2::ccdb::CcdbObjectInfogetccdbCollimatorsInfo ()
 
void updateCollimatorsCCDB ()
 
void setStartValidityMagFi (long t)
 
void setStartValidityLHCIF (long t)
 
void setStartValidityEnvVa (long t)
 
void setStartValidityColli (long t)
 
long getStartValidityLHCIF () const
 
long getStartValidityEnvVa () const
 
long getStartValidityColli () const
 
void resetStartValidityLHCIF ()
 
void resetStartValidityEnvVa ()
 
void resetStartValidityColli ()
 
void useVerboseMode ()
 
void clearVectors ()
 
void printVectorInfo (const std::vector< std::pair< O2LongUInt, double > > &vect, bool afterUpdate)
 
void updateVector (const DPID &dpid, std::vector< std::pair< O2LongUInt, double > > &vect, std::string alias, O2LongUInt timestamp, double val)
 

Detailed Description

Definition at line 286 of file GRPDCSDPsProcessor.h.

Constructor & Destructor Documentation

◆ GRPDCSDPsProcessor()

o2::grp::GRPDCSDPsProcessor::GRPDCSDPsProcessor ( )
default

◆ ~GRPDCSDPsProcessor()

o2::grp::GRPDCSDPsProcessor::~GRPDCSDPsProcessor ( )
default

Member Function Documentation

◆ clearVectors()

void o2::grp::GRPDCSDPsProcessor::clearVectors ( )
inline

Definition at line 368 of file GRPDCSDPsProcessor.h.

◆ compareToLatest()

bool GRPDCSDPsProcessor::compareToLatest ( std::pair< O2LongUInt, double > &  p,
double  val 
)

Definition at line 240 of file GRPDCSDPsProcessor.cxx.

◆ getccdbCollimatorsInfo() [1/2]

o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbCollimatorsInfo ( )
inline

Definition at line 353 of file GRPDCSDPsProcessor.h.

◆ getccdbCollimatorsInfo() [2/2]

const o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbCollimatorsInfo ( ) const
inline

Definition at line 352 of file GRPDCSDPsProcessor.h.

◆ getccdbEnvVarsInfo() [1/2]

o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbEnvVarsInfo ( )
inline

Definition at line 347 of file GRPDCSDPsProcessor.h.

◆ getccdbEnvVarsInfo() [2/2]

const o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbEnvVarsInfo ( ) const
inline

Definition at line 346 of file GRPDCSDPsProcessor.h.

◆ getccdbLHCIFInfo() [1/2]

o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbLHCIFInfo ( )
inline

Definition at line 340 of file GRPDCSDPsProcessor.h.

◆ getccdbLHCIFInfo() [2/2]

const o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbLHCIFInfo ( ) const
inline

Definition at line 339 of file GRPDCSDPsProcessor.h.

◆ getccdbMagFieldInfo() [1/2]

o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbMagFieldInfo ( )
inline

Definition at line 334 of file GRPDCSDPsProcessor.h.

◆ getccdbMagFieldInfo() [2/2]

const o2::ccdb::CcdbObjectInfo & o2::grp::GRPDCSDPsProcessor::getccdbMagFieldInfo ( ) const
inline

Definition at line 333 of file GRPDCSDPsProcessor.h.

◆ getCollimatorsObj() [1/2]

GRPCollimators & o2::grp::GRPDCSDPsProcessor::getCollimatorsObj ( )
inline

Definition at line 351 of file GRPDCSDPsProcessor.h.

◆ getCollimatorsObj() [2/2]

const GRPCollimators & o2::grp::GRPDCSDPsProcessor::getCollimatorsObj ( ) const
inline

Definition at line 350 of file GRPDCSDPsProcessor.h.

◆ getEnvVarsObj() [1/2]

GRPEnvVariables & o2::grp::GRPDCSDPsProcessor::getEnvVarsObj ( )
inline

Definition at line 345 of file GRPDCSDPsProcessor.h.

◆ getEnvVarsObj() [2/2]

const GRPEnvVariables & o2::grp::GRPDCSDPsProcessor::getEnvVarsObj ( ) const
inline

Definition at line 344 of file GRPDCSDPsProcessor.h.

◆ getLHCIFObj()

const GRPLHCInfo & o2::grp::GRPDCSDPsProcessor::getLHCIFObj ( ) const
inline

Definition at line 338 of file GRPDCSDPsProcessor.h.

◆ getMagFieldObj()

const o2::parameters::GRPMagField & o2::grp::GRPDCSDPsProcessor::getMagFieldObj ( ) const
inline

Definition at line 332 of file GRPDCSDPsProcessor.h.

◆ getStartValidityColli()

long o2::grp::GRPDCSDPsProcessor::getStartValidityColli ( ) const
inline

Definition at line 362 of file GRPDCSDPsProcessor.h.

◆ getStartValidityEnvVa()

long o2::grp::GRPDCSDPsProcessor::getStartValidityEnvVa ( ) const
inline

Definition at line 361 of file GRPDCSDPsProcessor.h.

◆ getStartValidityLHCIF()

long o2::grp::GRPDCSDPsProcessor::getStartValidityLHCIF ( ) const
inline

Definition at line 360 of file GRPDCSDPsProcessor.h.

◆ init()

void GRPDCSDPsProcessor::init ( const std::vector< DPID > &  pids)

Definition at line 26 of file GRPDCSDPsProcessor.cxx.

◆ isLHCIFInfoUpdated()

bool o2::grp::GRPDCSDPsProcessor::isLHCIFInfoUpdated ( ) const
inline

Definition at line 342 of file GRPDCSDPsProcessor.h.

◆ isMagFieldUpdated()

bool o2::grp::GRPDCSDPsProcessor::isMagFieldUpdated ( ) const
inline

Definition at line 336 of file GRPDCSDPsProcessor.h.

◆ printVectorInfo()

void GRPDCSDPsProcessor::printVectorInfo ( const std::vector< std::pair< O2LongUInt, double > > &  vect,
bool  afterUpdate 
)

Definition at line 411 of file GRPDCSDPsProcessor.cxx.

◆ process()

int GRPDCSDPsProcessor::process ( const gsl::span< const DPCOM dps)

Definition at line 89 of file GRPDCSDPsProcessor.cxx.

◆ processCollimators()

bool GRPDCSDPsProcessor::processCollimators ( const DPCOM dpcom)

Definition at line 160 of file GRPDCSDPsProcessor.cxx.

◆ processDP()

int GRPDCSDPsProcessor::processDP ( const DPCOM dpcom)

Definition at line 115 of file GRPDCSDPsProcessor.cxx.

◆ processEnvVar()

bool GRPDCSDPsProcessor::processEnvVar ( const DPCOM dpcom)

Definition at line 176 of file GRPDCSDPsProcessor.cxx.

◆ processFlags()

O2LongUInt o2::grp::GRPDCSDPsProcessor::processFlags ( O2LongUInt  flag,
const char pid 
)
inline

Definition at line 295 of file GRPDCSDPsProcessor.h.

◆ processLHCIFDPs()

bool GRPDCSDPsProcessor::processLHCIFDPs ( const DPCOM dpcom)

Definition at line 262 of file GRPDCSDPsProcessor.cxx.

◆ processPairD()

bool GRPDCSDPsProcessor::processPairD ( const DPCOM dpcom,
const std::string &  alias,
std::unordered_map< std::string, std::vector< std::pair< O2LongUInt, double > > > &  mapToUpdate 
)

Definition at line 188 of file GRPDCSDPsProcessor.cxx.

◆ processPairS()

bool GRPDCSDPsProcessor::processPairS ( const DPCOM dpcom,
const std::string &  alias,
std::pair< O2LongUInt, std::string > &  p,
bool &  flag 
)

Definition at line 210 of file GRPDCSDPsProcessor.cxx.

◆ resetAndKeepLast()

void o2::grp::GRPDCSDPsProcessor::resetAndKeepLast ( std::unordered_map< std::string, std::vector< std::pair< O2LongUInt, double > > > &  mapToReset)
inline

Definition at line 304 of file GRPDCSDPsProcessor.h.

◆ resetAndKeepLastLHCIFDPs()

void o2::grp::GRPDCSDPsProcessor::resetAndKeepLastLHCIFDPs ( )
inline

Definition at line 303 of file GRPDCSDPsProcessor.h.

◆ resetPIDs()

void o2::grp::GRPDCSDPsProcessor::resetPIDs ( )
inline

Definition at line 314 of file GRPDCSDPsProcessor.h.

◆ resetPIDsLHCIF()

void o2::grp::GRPDCSDPsProcessor::resetPIDsLHCIF ( )
inline

Definition at line 321 of file GRPDCSDPsProcessor.h.

◆ resetStartValidityColli()

void o2::grp::GRPDCSDPsProcessor::resetStartValidityColli ( )
inline

Definition at line 365 of file GRPDCSDPsProcessor.h.

◆ resetStartValidityEnvVa()

void o2::grp::GRPDCSDPsProcessor::resetStartValidityEnvVa ( )
inline

Definition at line 364 of file GRPDCSDPsProcessor.h.

◆ resetStartValidityLHCIF()

void o2::grp::GRPDCSDPsProcessor::resetStartValidityLHCIF ( )
inline

Definition at line 363 of file GRPDCSDPsProcessor.h.

◆ setStartValidityColli()

void o2::grp::GRPDCSDPsProcessor::setStartValidityColli ( long  t)
inline

Definition at line 359 of file GRPDCSDPsProcessor.h.

◆ setStartValidityEnvVa()

void o2::grp::GRPDCSDPsProcessor::setStartValidityEnvVa ( long  t)
inline

Definition at line 358 of file GRPDCSDPsProcessor.h.

◆ setStartValidityLHCIF()

void o2::grp::GRPDCSDPsProcessor::setStartValidityLHCIF ( long  t)
inline

Definition at line 357 of file GRPDCSDPsProcessor.h.

◆ setStartValidityMagFi()

void o2::grp::GRPDCSDPsProcessor::setStartValidityMagFi ( long  t)
inline

Definition at line 356 of file GRPDCSDPsProcessor.h.

◆ updateCollimatorsCCDB()

void GRPDCSDPsProcessor::updateCollimatorsCCDB ( )

Definition at line 395 of file GRPDCSDPsProcessor.cxx.

◆ updateEnvVarsCCDB()

void GRPDCSDPsProcessor::updateEnvVarsCCDB ( )

Definition at line 379 of file GRPDCSDPsProcessor.cxx.

◆ updateLHCIFInfoCCDB()

void GRPDCSDPsProcessor::updateLHCIFInfoCCDB ( )

Definition at line 363 of file GRPDCSDPsProcessor.cxx.

◆ updateMagFieldCCDB()

void GRPDCSDPsProcessor::updateMagFieldCCDB ( )

Definition at line 343 of file GRPDCSDPsProcessor.cxx.

◆ updateVector()

void GRPDCSDPsProcessor::updateVector ( const DPID dpid,
std::vector< std::pair< O2LongUInt, double > > &  vect,
std::string  alias,
O2LongUInt  timestamp,
double  val 
)

Definition at line 425 of file GRPDCSDPsProcessor.cxx.

◆ useVerboseMode()

void o2::grp::GRPDCSDPsProcessor::useVerboseMode ( )
inline

Definition at line 367 of file GRPDCSDPsProcessor.h.


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