PPM-DU analysis  2.3
conversion and analysis of the PPM-DU data
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
pmt Class Reference

Identify and fill the pmts with data. More...

#include <pmt.h>

Public Member Functions

 pmt (const int pmtId, const int offset)
 
const int GetPmtId () const
 get the identity of the pmt (from 0 to 30) More...
 
void SetPmtId (const int id)
 set the identity of the pmt (shoud be careful with this one) More...
 
const bool HasSignal () const
 test if one pmt has signal during the slice reading More...
 
const std::vector< signalGetSignal () const
 get the signal measured by the pmt (see signal.h for the format) More...
 
void SetSignal (std::vector< signal > list)
 set the signal of the pmt (to use only when reading the binary) More...
 
const int GetPmtOffset () const
 get the time offset of the pmt (due to the time transit???) More...
 
void SetPmtOffset (const int offset)
 set the offset of the pmt More...
 
const int GetHitNumber () const
 get the number of hit detected by the pmt (one hit can be several photons!!!) More...
 
void ClearSignalData ()
 clear the pmt signal before to fill it again More...
 

Detailed Description

Identify and fill the pmts with data.

Note
We suggest you to clear the data before each plots
Author
Alexandre Creusot
Version
1.4
Date
Tue Jun 17 2014

Contact: creus.nosp@m.ot@a.nosp@m.pc.un.nosp@m.iv-p.nosp@m.aris7.nosp@m..fr

Created on: Wed Feb 27 2013

Definition at line 34 of file pmt.h.

Constructor & Destructor Documentation

pmt::pmt ( const int  pmtId,
const int  offset 
)
inline

Definition at line 37 of file pmt.h.

Member Function Documentation

void pmt::ClearSignalData ( )
inline

clear the pmt signal before to fill it again

Definition at line 58 of file pmt.h.

const int pmt::GetHitNumber ( ) const
inline

get the number of hit detected by the pmt (one hit can be several photons!!!)

Definition at line 56 of file pmt.h.

const int pmt::GetPmtId ( ) const
inline

get the identity of the pmt (from 0 to 30)

Definition at line 42 of file pmt.h.

const int pmt::GetPmtOffset ( ) const
inline

get the time offset of the pmt (due to the time transit???)

Definition at line 52 of file pmt.h.

const std::vector<signal> pmt::GetSignal ( ) const
inline

get the signal measured by the pmt (see signal.h for the format)

Definition at line 48 of file pmt.h.

const bool pmt::HasSignal ( ) const
inline

test if one pmt has signal during the slice reading

Definition at line 46 of file pmt.h.

void pmt::SetPmtId ( const int  id)
inline

set the identity of the pmt (shoud be careful with this one)

Definition at line 44 of file pmt.h.

void pmt::SetPmtOffset ( const int  offset)
inline

set the offset of the pmt

Definition at line 54 of file pmt.h.

void pmt::SetSignal ( std::vector< signal list)
inline

set the signal of the pmt (to use only when reading the binary)

Definition at line 50 of file pmt.h.


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