Diana Software
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
QSampleInfo Class Reference

contains information on flagged samples More...

Inheritance diagram for QSampleInfo:

Public Types

enum  EventType {
  Signal =1 , Reversed =2 , Noise =3 , Pulser =5 ,
  Veto =7 , Side =9 , LED =11 , Unassigned =99
}
 event type, for QSampleInfo internal use More...
 

Public Member Functions

 QSampleInfo ()
 default constructor More...
 
virtual ~QSampleInfo ()
 default destructor More...
 
bool GetIsPulser () const
 Get IsPulser. More...
 
bool GetIsSignal () const
 Get IsSignal. More...
 
bool GetIsReversed () const
 Get IsSignal. More...
 
bool GetIsLED () const
 Get IsLED. More...
 
bool GetIsVeto () const
 Get IsMuon. More...
 
bool GetIsNoise () const
 Get IsNoise. More...
 
bool GetIsSide () const
 Get IsSide. More...
 
Int_t GetTriggerNumber () const
 Get number of the trigger that fired. Valid for IsSignal() More...
 
Int_t GetPulserDelay () const
 Get pulser delay. Valid for IsPulser. More...
 
Int_t GetSampleIndex () const
 Get SampleIndex from the beginning of the waveform. More...
 
Int_t GetOriginChannel () const
 Get Origin Channel inducing the special sample. More...
 
Int_t GetEventNumber () const
 Get EventNumber associated to this sample, or to the main event. More...
 
void SetIsPulser ()
 Set event type to Pulser. More...
 
void SetIsSignal ()
 Set event type to Signal. More...
 
void SetIsReversed ()
 Set event type to Reversed. More...
 
void SetIsLED ()
 Set event type to LED. More...
 
void SetIsVeto ()
 Set event type to Muon. More...
 
void SetIsNoise ()
 Set event type to Noise. More...
 
void SetIsSide ()
 Set event type to Side. More...
 
void SetOriginChannel (int ch)
 Set Origin Channel. More...
 
void SetTriggerNumber (Int_t n)
 Set trigger number (1 to 4) More...
 
void SetPulserDelay (Int_t delay)
 set pulser delay in ms More...
 
void SetSampleIndex (Int_t index)
 Set SampleIndex. More...
 
void SetEventNumber (Int_t eventNumber)
 Set EventNumber. More...
 
void Clear ()
 
void Dump (std::ostream &o) const
 

Public Attributes

EventType fEventType
 

Private Member Functions

 QObjectDef (QSampleInfo, 8)
 

Private Attributes

Int_t fTriggerNumber
 
Int_t fPulserDelay
 
Int_t fSampleIndex
 
Int_t fEventNumber
 
Int_t fOriginChannel
 

Detailed Description

contains information on flagged samples

Author
Marco Vignati
Sergio Di Domizio

Flagged samples can be of different types:

Definition at line 23 of file QSampleInfo.hh.

Member Enumeration Documentation

◆ EventType

event type, for QSampleInfo internal use

Enumerator
Signal 

signal event

Reversed 

reversed event

Noise 

noise event

Pulser 

Pulser event

Veto 

muon event

Side 

master sample of a side pulse

LED 

LED event

Unassigned 

default status set in Clear()

Definition at line 91 of file QSampleInfo.hh.

Constructor & Destructor Documentation

◆ QSampleInfo()

QSampleInfo::QSampleInfo ( )

default constructor

◆ ~QSampleInfo()

virtual QSampleInfo::~QSampleInfo ( )
inlinevirtual

default destructor

Definition at line 30 of file QSampleInfo.hh.

Member Function Documentation

◆ Clear()

void QSampleInfo::Clear ( )

◆ Dump()

void QSampleInfo::Dump ( std::ostream &  o) const

◆ GetEventNumber()

Int_t QSampleInfo::GetEventNumber ( ) const
inline

Get EventNumber associated to this sample, or to the main event.

Definition at line 55 of file QSampleInfo.hh.

References fEventNumber.

◆ GetIsLED()

bool QSampleInfo::GetIsLED ( ) const
inline

Get IsLED.

Definition at line 39 of file QSampleInfo.hh.

References fEventType, and LED.

Referenced by Dump(), and QPulseInfo::GetIsLED().

◆ GetIsNoise()

bool QSampleInfo::GetIsNoise ( ) const
inline

Get IsNoise.

Definition at line 43 of file QSampleInfo.hh.

References fEventType, and Noise.

Referenced by Dump(), and QPulseInfo::GetIsNoise().

◆ GetIsPulser()

bool QSampleInfo::GetIsPulser ( ) const
inline

Get IsPulser.

Definition at line 33 of file QSampleInfo.hh.

References fEventType, and Pulser.

Referenced by Dump(), and QPulseInfo::GetIsPulser().

◆ GetIsReversed()

bool QSampleInfo::GetIsReversed ( ) const
inline

Get IsSignal.

Definition at line 37 of file QSampleInfo.hh.

References fEventType, and Reversed.

Referenced by Dump(), and QPulseInfo::GetIsReversed().

◆ GetIsSide()

bool QSampleInfo::GetIsSide ( ) const
inline

Get IsSide.

Definition at line 45 of file QSampleInfo.hh.

References fEventType, and Side.

Referenced by Dump(), and QPulseInfo::GetIsSide().

◆ GetIsSignal()

bool QSampleInfo::GetIsSignal ( ) const
inline

Get IsSignal.

Definition at line 35 of file QSampleInfo.hh.

References fEventType, and Signal.

Referenced by Dump(), and QPulseInfo::GetIsSignal().

◆ GetIsVeto()

bool QSampleInfo::GetIsVeto ( ) const
inline

Get IsMuon.

Definition at line 41 of file QSampleInfo.hh.

References fEventType, and Veto.

Referenced by Dump(), and QPulseInfo::GetIsVeto().

◆ GetOriginChannel()

Int_t QSampleInfo::GetOriginChannel ( ) const
inline

Get Origin Channel inducing the special sample.

Definition at line 53 of file QSampleInfo.hh.

References fOriginChannel.

Referenced by Dump().

◆ GetPulserDelay()

Int_t QSampleInfo::GetPulserDelay ( ) const
inline

Get pulser delay. Valid for IsPulser.

Definition at line 49 of file QSampleInfo.hh.

References fPulserDelay.

Referenced by MSelectPulserByDelay::Filter().

◆ GetSampleIndex()

Int_t QSampleInfo::GetSampleIndex ( ) const
inline

◆ GetTriggerNumber()

Int_t QSampleInfo::GetTriggerNumber ( ) const
inline

Get number of the trigger that fired. Valid for IsSignal()

Definition at line 47 of file QSampleInfo.hh.

References fTriggerNumber.

◆ QObjectDef()

QSampleInfo::QObjectDef ( QSampleInfo  ,
 
)
private

◆ SetEventNumber()

void QSampleInfo::SetEventNumber ( Int_t  eventNumber)
inline

Set EventNumber.

Definition at line 81 of file QSampleInfo.hh.

References fEventNumber.

Referenced by MQinoDataReader::Do().

◆ SetIsLED()

void QSampleInfo::SetIsLED ( )
inline

Set event type to LED.

Definition at line 65 of file QSampleInfo.hh.

References fEventType, and LED.

◆ SetIsNoise()

void QSampleInfo::SetIsNoise ( )
inline

Set event type to Noise.

Definition at line 69 of file QSampleInfo.hh.

References fEventType, and Noise.

Referenced by MQinoDataReader::Do().

◆ SetIsPulser()

void QSampleInfo::SetIsPulser ( )
inline

Set event type to Pulser.

Definition at line 59 of file QSampleInfo.hh.

References fEventType, and Pulser.

Referenced by MQinoDataReader::Do().

◆ SetIsReversed()

void QSampleInfo::SetIsReversed ( )
inline

Set event type to Reversed.

Definition at line 63 of file QSampleInfo.hh.

References fEventType, and Reversed.

◆ SetIsSide()

void QSampleInfo::SetIsSide ( )
inline

Set event type to Side.

Definition at line 71 of file QSampleInfo.hh.

References fEventType, and Side.

Referenced by QCreateSidePulseByPulseSplitting::FillList().

◆ SetIsSignal()

void QSampleInfo::SetIsSignal ( )
inline

Set event type to Signal.

Definition at line 61 of file QSampleInfo.hh.

References fEventType, and Signal.

Referenced by MQinoDataReader::Do().

◆ SetIsVeto()

void QSampleInfo::SetIsVeto ( )
inline

Set event type to Muon.

Definition at line 67 of file QSampleInfo.hh.

References fEventType, and Veto.

◆ SetOriginChannel()

void QSampleInfo::SetOriginChannel ( int  ch)
inline

Set Origin Channel.

Definition at line 73 of file QSampleInfo.hh.

References fOriginChannel.

◆ SetPulserDelay()

void QSampleInfo::SetPulserDelay ( Int_t  delay)
inline

set pulser delay in ms

Definition at line 77 of file QSampleInfo.hh.

References fPulserDelay.

Referenced by MQinoDataReader::Do().

◆ SetSampleIndex()

void QSampleInfo::SetSampleIndex ( Int_t  index)
inline

Set SampleIndex.

Definition at line 79 of file QSampleInfo.hh.

References fSampleIndex.

Referenced by MCustomWaveform::Do(), MDownSampling::Do(), and MQinoDataReader::Do().

◆ SetTriggerNumber()

void QSampleInfo::SetTriggerNumber ( Int_t  n)
inline

Set trigger number (1 to 4)

Definition at line 75 of file QSampleInfo.hh.

References fTriggerNumber.

Referenced by MQinoDataReader::Do().

Member Data Documentation

◆ fEventNumber

Int_t QSampleInfo::fEventNumber
private

sample index from the beginning of the waveform event number, if any, associated to this sample

Definition at line 108 of file QSampleInfo.hh.

Referenced by Clear(), Dump(), GetEventNumber(), and SetEventNumber().

◆ fEventType

EventType QSampleInfo::fEventType

◆ fOriginChannel

Int_t QSampleInfo::fOriginChannel
private

integer with the number of the channel inducing the trigger

Definition at line 109 of file QSampleInfo.hh.

Referenced by Clear(), GetOriginChannel(), and SetOriginChannel().

◆ fPulserDelay

Int_t QSampleInfo::fPulserDelay
private

pulser delay in ms. Valid for Pulser

Definition at line 106 of file QSampleInfo.hh.

Referenced by Clear(), Dump(), GetPulserDelay(), and SetPulserDelay().

◆ fSampleIndex

Int_t QSampleInfo::fSampleIndex
private

Definition at line 107 of file QSampleInfo.hh.

Referenced by Clear(), Dump(), GetSampleIndex(), and SetSampleIndex().

◆ fTriggerNumber

Int_t QSampleInfo::fTriggerNumber
private

Valid for Signal and Noise

Definition at line 105 of file QSampleInfo.hh.

Referenced by Clear(), Dump(), GetTriggerNumber(), and SetTriggerNumber().


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