Cat
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
PhaserScan Class Reference

#include <inc/PhaserScan.h>

Inheritance diagram for PhaserScan:
Processus Object Attrib

Public Member Functions

 PhaserScan ()
 Standard constructor. More...
 
virtual ~PhaserScan ()
 Destructor. More...
 
virtual StatusCode initialize ()
 
virtual StatusCode execute ()
 
virtual StatusCode finalize ()
 
StatusCode setPhaserMin (unsigned int)
 
unsigned int phaserMin ()
 
StatusCode setPhaserMax (unsigned int)
 
unsigned int phaserMax ()
 
StatusCode setPhaserStep (unsigned int)
 
unsigned int phaserStep ()
 
StatusCode setDepth (unsigned int)
 
unsigned int depth ()
 
StatusCode setChannels (unsigned int)
 
unsigned int channels ()
 
StatusCode setTrigger (bool trig)
 
void setSample (int nsample)
 
int sample ()
 
bool trigger ()
 
- Public Member Functions inherited from Processus
 Processus ()
 Standard constructor. More...
 
virtual ~Processus ()
 Destructor. More...
 
StatusCode startProcessing ()
 
StatusCode endProcessing ()
 
void clean ()
 
void setStorage (std::string storage)
 
Datadata ()
 
std::vector< double > data (unsigned int row)
 
std::vector< double > data (std::string name)
 
Histo1Dhist1d (unsigned int row)
 
Histo2Dhist2d (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)
 
Elementelement ()
 
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)
 
- Public Member Functions inherited from Object
 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 ()
 
- Public Member Functions inherited from Attrib
 Attrib ()
 Standard constructor. More...
 
virtual ~Attrib ()
 Destructor. More...
 
bool is (int attribut)
 
void add (int attribut)
 
void remove (int attribut)
 
std::string attributs ()
 

Protected Member Functions

PhaserScanclone ()
 
unsigned int decodeFormat (unsigned int, unsigned int, RAM *)
 

Private Attributes

Int_t m_runNumber
 
Int_t m_evtNumber
 
Int_t m_channel [8]
 
Int_t m_chNumber [8]
 
Int_t m_nch
 
int m_channels
 
int m_depth
 
Proto40MHz_v1m_board
 
A3PEm_pga
 
Phaserm_phaser
 
RAMm_fifo
 
bool m_trig
 
TH1D * m_hist
 
unsigned int m_phaserMin
 
unsigned int m_phaserStep
 
unsigned int m_phaserMax
 
unsigned int m_nsample
 
int m_deadtime
 

Static Private Attributes

static const unsigned int m_depthmax = 512
 

Additional Inherited Members

- Public Types inherited from Processus
enum  states { ERR =-1, NOT_OK, OK }
 
- Public Types inherited from Attrib
enum  Attribut {
  UNDEFINED, PASSIVE, ACTIVE, INTERFACE,
  IO, IODATA, ELEMENT, HARDWARE,
  PROCESSUS, SOFTWARE
}
 
- Protected Attributes inherited from Processus
Elementm_element
 
- Protected Attributes inherited from Attrib
std::string m_attribString [10]
 

Detailed Description

Author
Date
2006-10-23

Definition at line 20 of file PhaserScan.h.

Constructor & Destructor Documentation

◆ PhaserScan()

PhaserScan::PhaserScan ( )

Standard constructor.

Referenced by clone().

◆ ~PhaserScan()

virtual PhaserScan::~PhaserScan ( )
virtual

Destructor.

Member Function Documentation

◆ channels()

unsigned int PhaserScan::channels ( )
inline

Definition at line 41 of file PhaserScan.h.

References m_channels.

41 {return m_channels;};
int m_channels
Definition: PhaserScan.h:75

◆ clone()

PhaserScan* PhaserScan::clone ( )
inlineprotectedvirtual

processus termination virtual function

Implements Processus.

Definition at line 59 of file PhaserScan.h.

References decodeFormat(), and PhaserScan().

59  {
60  return new PhaserScan (*this);
61  }
PhaserScan()
Standard constructor.

◆ decodeFormat()

unsigned int PhaserScan::decodeFormat ( unsigned  int,
unsigned  int,
RAM  
)
protected

Referenced by clone().

◆ depth()

unsigned int PhaserScan::depth ( )
inline

Definition at line 38 of file PhaserScan.h.

References m_depth, and setChannels().

38 {return m_depth;};
int m_depth
Definition: PhaserScan.h:76

◆ execute()

virtual StatusCode PhaserScan::execute ( )
virtual

processus execution virtual function

Implements Processus.

◆ finalize()

virtual StatusCode PhaserScan::finalize ( )
virtual

processus termination virtual function

Implements Processus.

◆ initialize()

virtual StatusCode PhaserScan::initialize ( )
virtual

processus initialisation virtual function

Implements Processus.

◆ phaserMax()

unsigned int PhaserScan::phaserMax ( )
inline

Definition at line 33 of file PhaserScan.h.

References m_phaserMax, and setPhaserStep().

33 {return m_phaserMax;};
unsigned int m_phaserMax
Definition: PhaserScan.h:85

◆ phaserMin()

unsigned int PhaserScan::phaserMin ( )
inline

Definition at line 31 of file PhaserScan.h.

References m_phaserMin, and setPhaserMax().

31 {return m_phaserMin;};
unsigned int m_phaserMin
Definition: PhaserScan.h:83

◆ phaserStep()

unsigned int PhaserScan::phaserStep ( )
inline

Definition at line 35 of file PhaserScan.h.

References m_phaserStep, and setDepth().

35 {return m_phaserStep;};
unsigned int m_phaserStep
Definition: PhaserScan.h:84

◆ sample()

int PhaserScan::sample ( )
inline

Definition at line 52 of file PhaserScan.h.

References m_nsample.

52 {return m_nsample;}
unsigned int m_nsample
Definition: PhaserScan.h:86

◆ setChannels()

StatusCode PhaserScan::setChannels ( unsigned  int)

Referenced by depth().

◆ setDepth()

StatusCode PhaserScan::setDepth ( unsigned  int)

Referenced by phaserStep().

◆ setPhaserMax()

StatusCode PhaserScan::setPhaserMax ( unsigned  int)

Referenced by phaserMin().

◆ setPhaserMin()

StatusCode PhaserScan::setPhaserMin ( unsigned  int)

◆ setPhaserStep()

StatusCode PhaserScan::setPhaserStep ( unsigned  int)

Referenced by phaserMax().

◆ setSample()

void PhaserScan::setSample ( int  nsample)
inline

Definition at line 48 of file PhaserScan.h.

References m_nsample.

48  {
49  m_nsample=nsample;
50  }
unsigned int m_nsample
Definition: PhaserScan.h:86

◆ setTrigger()

StatusCode PhaserScan::setTrigger ( bool  trig)
inline

Definition at line 43 of file PhaserScan.h.

References m_trig, and StatusCode::SUCCESS.

43  {
44  m_trig=trig;
45  return StatusCode::SUCCESS;
46  };
bool m_trig
Definition: PhaserScan.h:81

◆ trigger()

bool PhaserScan::trigger ( )
inline

Definition at line 54 of file PhaserScan.h.

References m_trig.

54  {
55  return m_trig;
56  };
bool m_trig
Definition: PhaserScan.h:81

Member Data Documentation

◆ m_board

Proto40MHz_v1* PhaserScan::m_board
private

Definition at line 77 of file PhaserScan.h.

◆ m_channel

Int_t PhaserScan::m_channel[8]
private

Definition at line 71 of file PhaserScan.h.

◆ m_channels

int PhaserScan::m_channels
private

Definition at line 75 of file PhaserScan.h.

Referenced by channels().

◆ m_chNumber

Int_t PhaserScan::m_chNumber[8]
private

Definition at line 72 of file PhaserScan.h.

◆ m_deadtime

int PhaserScan::m_deadtime
private

Definition at line 87 of file PhaserScan.h.

◆ m_depth

int PhaserScan::m_depth
private

Definition at line 76 of file PhaserScan.h.

Referenced by depth().

◆ m_depthmax

const unsigned int PhaserScan::m_depthmax = 512
staticprivate

Definition at line 65 of file PhaserScan.h.

◆ m_evtNumber

Int_t PhaserScan::m_evtNumber
private

Definition at line 69 of file PhaserScan.h.

◆ m_fifo

RAM* PhaserScan::m_fifo
private

Definition at line 80 of file PhaserScan.h.

◆ m_hist

TH1D* PhaserScan::m_hist
private

Definition at line 82 of file PhaserScan.h.

◆ m_nch

Int_t PhaserScan::m_nch
private

Definition at line 73 of file PhaserScan.h.

◆ m_nsample

unsigned int PhaserScan::m_nsample
private

Definition at line 86 of file PhaserScan.h.

Referenced by sample(), and setSample().

◆ m_pga

A3PE* PhaserScan::m_pga
private

Definition at line 78 of file PhaserScan.h.

◆ m_phaser

Phaser* PhaserScan::m_phaser
private

Definition at line 79 of file PhaserScan.h.

◆ m_phaserMax

unsigned int PhaserScan::m_phaserMax
private

Definition at line 85 of file PhaserScan.h.

Referenced by phaserMax().

◆ m_phaserMin

unsigned int PhaserScan::m_phaserMin
private

Definition at line 83 of file PhaserScan.h.

Referenced by phaserMin().

◆ m_phaserStep

unsigned int PhaserScan::m_phaserStep
private

Definition at line 84 of file PhaserScan.h.

Referenced by phaserStep().

◆ m_runNumber

Int_t PhaserScan::m_runNumber
private

Definition at line 68 of file PhaserScan.h.

◆ m_trig

bool PhaserScan::m_trig
private

Definition at line 81 of file PhaserScan.h.

Referenced by setTrigger(), and trigger().


The documentation for this class was generated from the following file: