#include <CocoaDaqReaderRoot.h>
Public Member Functions | |
void | BuildMeasurementsFromOptAlign (std::vector< OpticalAlignMeasurementInfo > &measList) override |
CocoaDaqReaderRoot (const std::string &m_inFileName) | |
int | GetNEvents () const |
bool | ReadEvent (int nev) override |
bool | ReadNextEvent () override |
~CocoaDaqReaderRoot () override | |
Public Member Functions inherited from CocoaDaqReader | |
CocoaDaqReader () | |
int | GetNEvents () const |
virtual | ~CocoaDaqReader () |
Private Member Functions | |
OpticalAlignMeasurementInfo | GetMeasFromDist (AliDaqDistance *dist) |
OpticalAlignMeasurementInfo | GetMeasFromPosition2D (AliDaqPosition2D *pos2D) |
OpticalAlignMeasurementInfo | GetMeasFromPositionCOPS (AliDaqPositionCOPS *posCOPS) |
OpticalAlignMeasurementInfo | GetMeasFromTilt (AliDaqTilt *tilt) |
Private Attributes | |
int | nev |
int | nextEvent |
CocoaDaqRootEvent * | theEvent |
TFile * | theFile |
TTree * | theTree |
Additional Inherited Members | |
Static Public Member Functions inherited from CocoaDaqReader | |
static CocoaDaqReader * | GetDaqReader () |
static void | SetDaqReader (CocoaDaqReader *reader) |
Protected Attributes inherited from CocoaDaqReader | |
int | nev |
int | nextEvent |
Definition at line 13 of file CocoaDaqReaderRoot.h.
CocoaDaqReaderRoot::CocoaDaqReaderRoot | ( | const std::string & | m_inFileName | ) |
Definition at line 16 of file CocoaDaqReaderRoot.cc.
References MicroEventContent_cff::branch, DMR_cfg::cerr, gather_cfg::cout, ALIUtils::debug, cppFunctionSkipper::exception, nev, nextEvent, CocoaDaqReader::SetDaqReader(), theEvent, theFile, and theTree.
|
override |
|
overridevirtual |
Reimplemented from CocoaDaqReader.
Definition at line 242 of file CocoaDaqReaderRoot.cc.
References SplitLinear::begin, DMR_cfg::cerr, gather_cfg::cout, ALIUtils::debug, beamvalidation::exit(), cuy::ii, findQualityFiles::jj, Model::MeasurementList(), OpticalAlignMeasurementInfo::name_, heppy_report::oname, OpticalAlignMeasurementInfo::type_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
private |
Definition at line 218 of file CocoaDaqReaderRoot.cc.
References OpticalAlignParam::error_, AliDaqDistance::GetDistance(), AliDaqDistance::GetDistanceError(), AliDaqDistance::GetID(), OpticalAlignMeasurementInfo::isSimulatedValue_, findQualityFiles::jj, OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignMeasurementInfo::type_, OpticalAlignParam::value_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
private |
Definition at line 121 of file CocoaDaqReaderRoot.cc.
References OpticalAlignParam::error_, AliDaqPosition2D::GetID(), AliDaqPosition2D::GetX(), AliDaqPosition2D::GetXerror(), AliDaqPosition2D::GetY(), AliDaqPosition2D::GetYerror(), OpticalAlignMeasurementInfo::isSimulatedValue_, findQualityFiles::jj, OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignMeasurementInfo::type_, OpticalAlignParam::value_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
private |
Definition at line 151 of file CocoaDaqReaderRoot.cc.
References OpticalAlignParam::error_, AliDaqPositionCOPS::GetDown(), AliDaqPositionCOPS::GetDownError(), AliDaqPositionCOPS::GetID(), AliDaqPositionCOPS::GetLeft(), AliDaqPositionCOPS::GetLeftError(), AliDaqPositionCOPS::GetRight(), AliDaqPositionCOPS::GetRightError(), AliDaqPositionCOPS::GetUp(), AliDaqPositionCOPS::GetUpError(), OpticalAlignMeasurementInfo::isSimulatedValue_, findQualityFiles::jj, OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignMeasurementInfo::type_, OpticalAlignParam::value_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
private |
Definition at line 194 of file CocoaDaqReaderRoot.cc.
References OpticalAlignParam::error_, AliDaqTilt::GetID(), AliDaqTilt::GetTilt(), AliDaqTilt::GetTiltError(), OpticalAlignMeasurementInfo::isSimulatedValue_, findQualityFiles::jj, OpticalAlignMeasurementInfo::name_, OpticalAlignParam::name_, AlCaHLTBitMon_QueryRunRegistry::string, OpticalAlignMeasurementInfo::type_, OpticalAlignParam::value_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
inline |
|
overridevirtual |
Reimplemented from CocoaDaqReader.
Definition at line 58 of file CocoaDaqReaderRoot.cc.
References BuildMeasurementsFromOptAlign(), gather_cfg::cout, ALIUtils::debug, AliDaqPosition2D::DumpIt(), AliDaqPositionCOPS::DumpIt(), AliDaqTilt::DumpIt(), AliDaqDistance::DumpIt(), CocoaDaqRootEvent::DumpIt(), CocoaDaqRootEvent::GetArray_Dist(), CocoaDaqRootEvent::GetArray_Position2D(), CocoaDaqRootEvent::GetArray_PositionCOPS(), CocoaDaqRootEvent::GetArray_Tilt(), AliDaqPosition2D::GetID(), AliDaqPositionCOPS::GetID(), AliDaqTilt::GetID(), AliDaqDistance::GetID(), GetMeasFromDist(), GetMeasFromPosition2D(), GetMeasFromPositionCOPS(), GetMeasFromTilt(), CocoaDaqRootEvent::GetNumDist(), CocoaDaqRootEvent::GetNumPos2D(), CocoaDaqRootEvent::GetNumPosCOPS(), CocoaDaqRootEvent::GetNumTilt(), cuy::ii, create_idmaps::n, nev, nextEvent, theEvent, and theTree.
Referenced by ReadNextEvent().
|
overridevirtual |
Implements CocoaDaqReader.
Definition at line 55 of file CocoaDaqReaderRoot.cc.
References nextEvent, and ReadEvent().
|
private |
Definition at line 34 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), GetNEvents(), and ReadEvent().
|
private |
Definition at line 35 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), ReadEvent(), and ReadNextEvent().
|
private |
Definition at line 31 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ReadEvent().
|
private |
Definition at line 32 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ~CocoaDaqReaderRoot().
|
private |
Definition at line 33 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ReadEvent().