Cat
|
#include <inc/Data.h>
Public Member Functions | |
Data () | |
Standard constructor. More... | |
Data (int, int, int) | |
virtual | ~Data () |
void | setEvt (int evt) |
Destructor. More... | |
void | setChannel (int ch) |
void | setData (int data) |
void | Clear (Option_t *option="") |
Data () | |
Standard constructor. More... | |
virtual | ~Data () |
Destructor. More... | |
void | print () |
void | addDataStream (std::string, std::string) |
void | addHisto1d (TH1D *) |
void | addHisto2d (TH2D *) |
void | buildHistos () |
Histo1D * | hist1d (unsigned int row) |
Histo1D * | hist1d (std::string name) |
Histo2D * | hist2d (unsigned int row) |
Histo2D * | hist2d (std::string name) |
void | purge () |
StatusCode | clear (int) |
StatusCode | dataFill (int, double) |
std::string | name (unsigned int) |
std::string | title (unsigned int) |
std::vector< double > * | vectorPtr (unsigned int) |
std::vector< double > | vector (unsigned int) |
std::vector< double > | vector (std::string) |
int | rowFromName (std::string) |
bool | empty () |
![]() | |
Object () | |
Standard constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
std::string | name () const |
std::string | type () |
unsigned char | id () |
std::string | title () |
void | msgSvc (int level, std::string msg, std::string name) |
void | msg (std::string mymsg) |
void | verbose (std::string mymsg) |
void | debug (std::string mymsg) |
void | info (std::string mymsg) |
void | warning (std::string mymsg) |
void | error (std::string mymsg) |
void | fatal (std::string mymsg) |
void | msg (std::string mymsg, std::string name) |
void | verbose (std::string mymsg, std::string name) |
void | debug (std::string mymsg, std::string name) |
void | info (std::string mymsg, std::string name) |
void | warning (std::string mymsg, std::string name) |
void | error (std::string mymsg, std::string name) |
void | fatal (std::string mymsg, std::string name) |
void | setName (std::string name) |
void | setType (std::string type) |
void | setId (unsigned char id) |
void | setTitle (std::string title) |
void | setDllName (std::string dllName) |
std::string | dllName () |
![]() | |
Attrib () | |
Standard constructor. More... | |
virtual | ~Attrib () |
Destructor. More... | |
bool | is (int attribut) |
void | add (int attribut) |
void | remove (int attribut) |
std::string | attributs () |
Public Attributes | |
ClassDef(Data, 1) protected int | Evt |
int | Raw |
Private Attributes | |
std::vector< std::vector< double > *> | m_values |
std::vector< TH1D *> | m_h1d |
std::vector< TH2D *> | m_h2d |
std::vector< Histo1D > | m_hist1d |
std::vector< Histo2D > | m_hist2d |
std::vector< std::string > | m_titles |
std::vector< std::string > | m_names |
Additional Inherited Members | |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
![]() | |
std::string | m_attribString [10] |
Data::Data | ( | ) |
Data::Data | ( | int | evt, |
int | channel, | ||
int | data | ||
) |
|
inlinevirtual |
Data::Data | ( | ) |
Standard constructor.
|
virtual |
Destructor.
void Data::addDataStream | ( | std::string | n, |
std::string | t | ||
) |
void Data::addHisto1d | ( | TH1D * | h | ) |
void Data::addHisto2d | ( | TH2D * | h | ) |
void Data::buildHistos | ( | ) |
Definition at line 98 of file Data.cpp.
References m_h1d, m_h2d, m_hist1d, and m_hist2d.
Referenced by Processus::endProcessing().
void Data::Clear | ( | Option_t * | option = "" | ) |
StatusCode Data::clear | ( | int | i | ) |
Definition at line 71 of file Data.cpp.
References StatusCode::FAILURE, StatusCode::SUCCESS, and vectorPtr().
Referenced by hist2d(), FEB_v1::readFifoLLT(), FEB_v1::readFifoLLTFE(), and FEB_v1::readFifoSpyFE().
StatusCode Data::dataFill | ( | int | i, |
double | val | ||
) |
Set data stream with value
Definition at line 85 of file Data.cpp.
References StatusCode::FAILURE, StatusCode::SUCCESS, and vectorPtr().
Referenced by hist2d(), FEB_v1::readFifoLLT(), FEB_v1::readFifoLLTFE(), and FEB_v1::readFifoSpyFE().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 36 of file Data.h.
References clear(), dataFill(), m_hist2d, Object::name(), purge(), rowFromName(), Object::title(), vector(), and vectorPtr().
std::string Data::name | ( | unsigned int | row | ) |
void Data::print | ( | ) |
Definition at line 186 of file Data.cpp.
References images::index, Object::info(), m_h1d, m_h2d, m_names, m_titles, and vectorPtr().
Referenced by Processus::endProcessing(), and export_proc().
void Data::purge | ( | ) |
int Data::rowFromName | ( | std::string | name | ) |
|
inline |
|
inline |
std::string Data::title | ( | unsigned int | row | ) |
std::vector< double > Data::vector | ( | unsigned int | row | ) |
Definition at line 146 of file Data.cpp.
References vectorPtr().
Referenced by export_proc(), and hist2d().
std::vector< double > Data::vector | ( | std::string | name | ) |
std::vector< double > * Data::vectorPtr | ( | unsigned int | row | ) |
Definition at line 134 of file Data.cpp.
References itos(), m_values, and Object::warning().
Referenced by clear(), dataFill(), hist2d(), print(), and vector().
ClassDef (Data,1) protected int Data::Evt |
|
private |
Definition at line 58 of file Data.h.
Referenced by addHisto1d(), buildHistos(), empty(), print(), and purge().
|
private |
Definition at line 59 of file Data.h.
Referenced by addHisto2d(), buildHistos(), empty(), print(), and purge().
|
private |
Definition at line 60 of file Data.h.
Referenced by buildHistos(), hist1d(), and purge().
|
private |
Definition at line 61 of file Data.h.
Referenced by buildHistos(), and hist2d().
|
private |
Definition at line 63 of file Data.h.
Referenced by addDataStream(), empty(), name(), print(), purge(), and rowFromName().
|
private |
|
private |
Definition at line 57 of file Data.h.
Referenced by addDataStream(), purge(), and vectorPtr().