Cat
|
#include <include/TestSPI.h>
Classes | |
class | TestSPI |
Public Member Functions | |
TestSPI () | |
Standard constructor. More... | |
virtual | ~TestSPI () |
virtual StatusCode | initialize () |
Destructor. More... | |
virtual StatusCode | execute () |
virtual StatusCode | finalize () |
void | setAddress (int) |
void | setSubAddress (int) |
![]() | |
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 () |
Public Attributes | |
p7 = fig.add_subplot(2,3,6) | |
plot examplesp6=fig.add_subplot(4,3,6) p6.set_title('axes title') p6.set_xlabel('xlabel') p6.set_ylabel('ylabel') p6.text(3, 8, 'boxed italics text in data coords', style='italic', bbox={'facecolor':'red', 'alpha':0.5, 'pad':10}) p6.text(2, 6, r'an equation: $E=mc^2$', fontsize=15) p6.text(3, 2, unicode('unicode: Institut f\374r Festk\366rperphysik', 'latin-1')) p6.text(0.95, 0.01, 'colored text in axes coords', verticalalignment='bottom', horizontalalignment='right', transform=p6.transAxes, color='green', fontsize=15) p6.plot([2], [1], 'o') p6.annotate('annotate', xy=(2, 1), xytext=(3, 4), arrowprops=dict(facecolor='black', shrink=0.05)) p6.axis([0, 10, 0, 10]) More... | |
h7 = obj.hist1d(0) | |
color | |
Protected Member Functions | |
TestSPI * | clone () |
Private Attributes | |
FEB_v1 * | m_board |
SeqPGA * | m_seqPga |
TRandom * | m_rnd |
int | m_add |
int | m_subadd |
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] |
TestSPI::TestSPI | ( | ) |
Standard constructor.
Definition at line 23 of file TestSPI.cpp.
References Object::setName(), Object::setTitle(), and Object::setType().
Referenced by clone().
|
inlinevirtual |
Definition at line 25 of file TestSPI.h.
References execute(), finalize(), initialize(), setAddress(), and setSubAddress().
|
inlineprotectedvirtual |
|
virtual |
processus execution virtual function
Implements Processus.
Definition at line 61 of file TestSPI.cpp.
References Processus::dataFill(), m_rnd, m_seqPga, m_subadd, SeqPGA::spiRead(), SeqPGA::spiWrite(), and StatusCode::SUCCESS.
Referenced by ~TestSPI().
|
virtual |
processus termination virtual function
Implements Processus.
Definition at line 77 of file TestSPI.cpp.
References StatusCode::SUCCESS.
Referenced by ~TestSPI().
|
virtual |
Destructor.
Implements Processus.
Definition at line 33 of file TestSPI.cpp.
References Processus::addDataStream(), Processus::element(), m_add, m_board, m_rnd, m_seqPga, FEB_v1::seqPga(), SeqPGA::setSpiAdd(), StatusCode::SUCCESS, and Object::warning().
Referenced by ~TestSPI().
void TestSPI::setAddress | ( | int | add | ) |
Definition at line 84 of file TestSPI.cpp.
References Attrib::add(), and m_add.
Referenced by BOOST_PYTHON_MODULE(), and ~TestSPI().
void TestSPI::setSubAddress | ( | int | subadd | ) |
Definition at line 88 of file TestSPI.cpp.
References m_subadd.
Referenced by BOOST_PYTHON_MODULE(), and ~TestSPI().
TestSPI.color |
Definition at line 149 of file TestSPI.py.
TestSPI.h7 = obj.hist1d(0) |
Definition at line 147 of file TestSPI.py.
|
private |
Definition at line 43 of file TestSPI.h.
Referenced by initialize(), and setAddress().
|
private |
Definition at line 37 of file TestSPI.h.
Referenced by initialize().
|
private |
Definition at line 42 of file TestSPI.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 41 of file TestSPI.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 44 of file TestSPI.h.
Referenced by execute(), and setSubAddress().
TestSPI.p7 = fig.add_subplot(2,3,6) |
Definition at line 146 of file TestSPI.py.