#include <CocoaDaqReaderRoot.h>
Public Member Functions | |
virtual void | BuildMeasurementsFromOptAlign (std::vector< OpticalAlignMeasurementInfo > &measList) override |
CocoaDaqReaderRoot (const std::string &m_inFileName) | |
int | GetNEvents () const |
virtual bool | ReadEvent (int nev) override |
virtual bool | ReadNextEvent () override |
~CocoaDaqReaderRoot () | |
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 17 of file CocoaDaqReaderRoot.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, cppFunctionSkipper::exception, nev, nextEvent, CocoaDaqReader::SetDaqReader(), theEvent, theFile, and theTree.
CocoaDaqReaderRoot::~CocoaDaqReaderRoot | ( | ) |
|
overridevirtual |
Reimplemented from CocoaDaqReader.
Definition at line 257 of file CocoaDaqReaderRoot.cc.
References begin, MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, cmsRelvalreport::exit, cuy::ii, findQualityFiles::jj, Model::MeasurementList(), OpticalAlignMeasurementInfo::name_, heppy_report::oname, OpticalAlignMeasurementInfo::type_, and OpticalAlignMeasurementInfo::values_.
Referenced by ReadEvent().
|
private |
Definition at line 231 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 GetNEvents(), and ReadEvent().
|
private |
Definition at line 127 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 GetNEvents(), and ReadEvent().
|
private |
Definition at line 159 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 GetNEvents(), and ReadEvent().
|
private |
Definition at line 204 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 GetNEvents(), and ReadEvent().
|
inline |
Definition at line 22 of file CocoaDaqReaderRoot.h.
References GetMeasFromDist(), GetMeasFromPosition2D(), GetMeasFromPositionCOPS(), GetMeasFromTilt(), and nev.
|
overridevirtual |
Reimplemented from CocoaDaqReader.
Definition at line 67 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, gen::n, nextEvent, theEvent, and theTree.
Referenced by ReadNextEvent().
|
overridevirtual |
Implements CocoaDaqReader.
Definition at line 60 of file CocoaDaqReaderRoot.cc.
References nextEvent, and ReadEvent().
|
private |
Definition at line 33 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and GetNEvents().
|
private |
Definition at line 34 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), ReadEvent(), and ReadNextEvent().
|
private |
Definition at line 30 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ReadEvent().
|
private |
Definition at line 31 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ~CocoaDaqReaderRoot().
|
private |
Definition at line 32 of file CocoaDaqReaderRoot.h.
Referenced by CocoaDaqReaderRoot(), and ReadEvent().