Cat
|
#include <inc/StorageFifoAcquisition.h>
Classes | |
class | StorageFifoAcquisition |
Public Member Functions | |
StorageFifoAcquisition () | |
Standard constructor. More... | |
virtual | ~StorageFifoAcquisition () |
Destructor. More... | |
virtual StatusCode | initialize () |
virtual StatusCode | execute () |
virtual StatusCode | finalize () |
StatusCode | setDepth (unsigned int) |
unsigned int | depth () |
StatusCode | setChannels (unsigned int) |
unsigned int | channels () |
void | setHistos (unsigned int nbins, float minRange, float maxRange) |
![]() | |
Processus () | |
Standard constructor. More... | |
virtual | ~Processus () |
Destructor. More... | |
StatusCode | startProcessing () |
StatusCode | endProcessing () |
void | clean () |
void | setStorage (std::string storage) |
Data * | data () |
std::vector< double > | data (unsigned int row) |
std::vector< double > | data (std::string name) |
Histo1D * | hist1d (unsigned int row) |
Histo2D * | hist2d (unsigned int row) |
void | addDataStream (std::string name, std::string title) |
void | addHisto1d (TH1D *h) |
void | addHisto2d (TH2D *h) |
StatusCode | dataFill (int i, double val) |
StatusCode | dataFill (std::string name, double val) |
std::string | storage () |
void | setElement (Element *element) |
Element * | element () |
void | incNErrors () |
void | setNErrors (unsigned int) |
unsigned int | nErrors () |
TFile * | rootFile () |
void | openRootFile () |
void | closeRootFile () |
void | startChrono () |
void | setLogMsg (std::string logMsg) |
std::string | logMsg () |
void | setState (int state) |
double | elapsedTime () |
double | elapsedTime (time_t start) |
![]() | |
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 () |
Static Public Attributes | |
static const unsigned int | m_depthmax = 40 |
Protected Member Functions | |
StorageFifoAcquisition * | clone () |
Private Attributes | |
Proto40MHz_v1 * | m_board |
A3PE * | m_pga |
RAM * | m_fifo |
TH1D * | m_h [8 *m_depthmax] |
TH1D * | m_sh [8] |
TH1D * | m_ah [8] |
int | m_channels |
unsigned int | m_nbins |
float | m_minRange |
float | m_maxRange |
int | m_depth |
Additional Inherited Members | |
![]() | |
enum | states { ERR =-1, NOT_OK, OK } |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
![]() | |
Element * | m_element |
![]() | |
std::string | m_attribString [10] |
Definition at line 18 of file StorageFifoAcquisition.h.
Standard constructor.
Definition at line 20 of file StorageFifoAcquisition.cpp.
References Object::setName(), Object::setTitle(), and Object::setType().
Referenced by clone().
|
virtual |
|
inline |
Definition at line 32 of file StorageFifoAcquisition.h.
References m_channels.
Referenced by setChannels().
|
inlineprotectedvirtual |
processus termination virtual function
Implements Processus.
Definition at line 42 of file StorageFifoAcquisition.h.
References StorageFifoAcquisition().
|
inline |
Definition at line 29 of file StorageFifoAcquisition.h.
References m_depth, and setChannels().
Referenced by setDepth().
|
virtual |
processus execution virtual function
Implements Processus.
Definition at line 98 of file StorageFifoAcquisition.cpp.
References A3PE::acquisition(), Processus::data(), IOdata::dataU8(), Object::debug(), IOobject::io(), m_channels, m_depth, m_fifo, m_h, m_pga, IOobject::read(), and StatusCode::SUCCESS.
|
virtual |
processus termination virtual function
Implements Processus.
Definition at line 141 of file StorageFifoAcquisition.cpp.
References m_ah, m_channels, m_depth, m_h, m_sh, and StatusCode::SUCCESS.
|
virtual |
processus initialisation virtual function
Implements Processus.
Definition at line 41 of file StorageFifoAcquisition.cpp.
References Proto40MHz_v1::a3pe(), Processus::addHisto1d(), Object::debug(), Processus::element(), Object::info(), m_ah, m_board, m_channels, m_depth, m_depthmax, m_fifo, m_h, m_maxRange, m_minRange, m_nbins, m_pga, m_sh, Object::name(), A3PE::setEnableADC(), A3PE::setFifoDepth(), A3PE::setSoftwareTrigger(), A3PE::setWriteStorageFifoUsb(), A3PE::storageRam(), StatusCode::SUCCESS, Object::title(), Object::type(), and Object::warning().
StatusCode StorageFifoAcquisition::setChannels | ( | unsigned int | channels | ) |
Definition at line 169 of file StorageFifoAcquisition.cpp.
References channels(), m_channels, StatusCode::SUCCESS, and Object::warning().
Referenced by depth().
StatusCode StorageFifoAcquisition::setDepth | ( | unsigned int | depth | ) |
Definition at line 157 of file StorageFifoAcquisition.cpp.
References depth(), StatusCode::FAILURE, m_depth, StatusCode::SUCCESS, and Object::warning().
|
inline |
Definition at line 34 of file StorageFifoAcquisition.h.
References m_maxRange, m_minRange, and m_nbins.
|
private |
Definition at line 52 of file StorageFifoAcquisition.h.
Referenced by finalize(), and initialize().
|
private |
Definition at line 47 of file StorageFifoAcquisition.h.
Referenced by initialize().
|
private |
Definition at line 53 of file StorageFifoAcquisition.h.
Referenced by channels(), execute(), finalize(), initialize(), and setChannels().
|
private |
Definition at line 57 of file StorageFifoAcquisition.h.
Referenced by depth(), execute(), finalize(), initialize(), and setDepth().
|
static |
Definition at line 39 of file StorageFifoAcquisition.h.
Referenced by initialize().
|
private |
Definition at line 49 of file StorageFifoAcquisition.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 50 of file StorageFifoAcquisition.h.
Referenced by execute(), finalize(), and initialize().
|
private |
Definition at line 56 of file StorageFifoAcquisition.h.
Referenced by initialize(), and setHistos().
|
private |
Definition at line 55 of file StorageFifoAcquisition.h.
Referenced by initialize(), and setHistos().
|
private |
Definition at line 54 of file StorageFifoAcquisition.h.
Referenced by initialize(), and setHistos().
|
private |
Definition at line 48 of file StorageFifoAcquisition.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 51 of file StorageFifoAcquisition.h.
Referenced by finalize(), and initialize().