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

Raw event: bolometer channel, trigger positions and types. More...

Inheritance diagram for QPulseInfo:

Public Member Functions

const int & GetChannelId () const
 Get ChannelId. More...
 
void SetChannelId (const int &channelId)
 Set ChannelId. More...
 
const QSampleInfoGetMasterSample () const
 Get MasterSample. More...
 
QSampleInfoGetMasterSample ()
 Get MasterSample. More...
 
const std::vector< QSampleInfo > & GetSamplesInfo () const
 Get Samples Info. More...
 
std::vector< QSampleInfo > & GetSamplesInfo ()
 Get Samples Info. More...
 
int GetNumberOfSamplesInfo () const
 Get Number of samples info. More...
 
int GetNumberOfSamplesInfo ()
 Get Number of samples info. More...
 
void SetMasterSample (const QSampleInfo &mainSample)
 Set MasterSample. More...
 
bool GetIsPulser () const
 Get IsPulser. More...
 
bool GetIsLED () const
 Get IsLED. More...
 
bool GetIsSignal () const
 Get IsSignal. More...
 
bool GetIsReversed () const
 Get IsSignal. More...
 
bool GetIsVeto () const
 Get IsVeto. More...
 
bool GetIsNoise () const
 Get IsNoise. More...
 
bool GetIsSide () const
 Get IsSide. More...
 
void Clear ()
 Clear() More...
 
void Dump (std::ostream &o) const
 Dump content to stream. More...
 

Private Member Functions

 QObjectDef (QPulseInfo, 5)
 

Private Attributes

int fChannelId
 Channel. More...
 
std::vector< QSampleInfofSamplesInfo
 flagged samples of this pulse window More...
 
QSampleInfo fMasterSample
 sample that caused the event dump More...
 

Detailed Description

Raw event: bolometer channel, trigger positions and types.

Author
Marco Vignati
Examples
MTutorialAveragePulse.cc, MTutorialPulseShape.cc, and ScanEvents.C.

Definition at line 18 of file QPulseInfo.hh.

Member Function Documentation

◆ Clear()

void QPulseInfo::Clear ( )

◆ Dump()

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

Dump content to stream.

Definition at line 13 of file QPulseInfo.cc.

References QSampleInfo::Dump(), fChannelId, fMasterSample, and fSamplesInfo.

◆ GetChannelId()

const int& QPulseInfo::GetChannelId ( ) const
inline

◆ GetIsLED()

bool QPulseInfo::GetIsLED ( ) const
inline

Get IsLED.

Definition at line 46 of file QPulseInfo.hh.

References fMasterSample, and QSampleInfo::GetIsLED().

Referenced by MRawDataFilter::Filter().

◆ GetIsNoise()

bool QPulseInfo::GetIsNoise ( ) const
inline

◆ GetIsPulser()

bool QPulseInfo::GetIsPulser ( ) const
inline

◆ GetIsReversed()

bool QPulseInfo::GetIsReversed ( ) const
inline

Get IsSignal.

Definition at line 50 of file QPulseInfo.hh.

References fMasterSample, and QSampleInfo::GetIsReversed().

Referenced by MRawDataFilter::Filter().

◆ GetIsSide()

bool QPulseInfo::GetIsSide ( ) const
inline

◆ GetIsSignal()

bool QPulseInfo::GetIsSignal ( ) const
inline

◆ GetIsVeto()

bool QPulseInfo::GetIsVeto ( ) const
inline

Get IsVeto.

Definition at line 52 of file QPulseInfo.hh.

References fMasterSample, and QSampleInfo::GetIsVeto().

Referenced by MRawDataFilter::Filter().

◆ GetMasterSample() [1/2]

QSampleInfo& QPulseInfo::GetMasterSample ( )
inline

Get MasterSample.

Definition at line 28 of file QPulseInfo.hh.

References fMasterSample.

◆ GetMasterSample() [2/2]

const QSampleInfo& QPulseInfo::GetMasterSample ( ) const
inline

◆ GetNumberOfSamplesInfo() [1/2]

int QPulseInfo::GetNumberOfSamplesInfo ( )
inline

Get Number of samples info.

Definition at line 38 of file QPulseInfo.hh.

References fSamplesInfo.

◆ GetNumberOfSamplesInfo() [2/2]

int QPulseInfo::GetNumberOfSamplesInfo ( ) const
inline

Get Number of samples info.

Definition at line 36 of file QPulseInfo.hh.

References fSamplesInfo.

◆ GetSamplesInfo() [1/2]

std::vector<QSampleInfo>& QPulseInfo::GetSamplesInfo ( )
inline

Get Samples Info.

Definition at line 33 of file QPulseInfo.hh.

References fSamplesInfo.

◆ GetSamplesInfo() [2/2]

const std::vector<QSampleInfo>& QPulseInfo::GetSamplesInfo ( ) const
inline

Get Samples Info.

Definition at line 31 of file QPulseInfo.hh.

References fSamplesInfo.

Referenced by MCustomWaveform::Do(), MNoHeaterInWindow::Filter(), and QGFileHandler::GetSignificantSamples().

◆ QObjectDef()

QPulseInfo::QObjectDef ( QPulseInfo  ,
 
)
private

◆ SetChannelId()

void QPulseInfo::SetChannelId ( const int &  channelId)
inline

Set ChannelId.

Definition at line 24 of file QPulseInfo.hh.

References fChannelId.

Referenced by QCreateSidePulseByPulseSplitting::FillList().

◆ SetMasterSample()

void QPulseInfo::SetMasterSample ( const QSampleInfo mainSample)
inline

Set MasterSample.

Definition at line 42 of file QPulseInfo.hh.

References fMasterSample.

Member Data Documentation

◆ fChannelId

int QPulseInfo::fChannelId
private

Channel.

Definition at line 64 of file QPulseInfo.hh.

Referenced by Dump(), GetChannelId(), QObjectImp(), and SetChannelId().

◆ fMasterSample

QSampleInfo QPulseInfo::fMasterSample
private

sample that caused the event dump

Definition at line 69 of file QPulseInfo.hh.

Referenced by Dump(), GetIsLED(), GetIsNoise(), GetIsPulser(), GetIsReversed(), GetIsSide(), GetIsSignal(), GetIsVeto(), GetMasterSample(), QObjectImp(), and SetMasterSample().

◆ fSamplesInfo

std::vector<QSampleInfo> QPulseInfo::fSamplesInfo
private

flagged samples of this pulse window

See also
QSampleInfo

Definition at line 66 of file QPulseInfo.hh.

Referenced by Dump(), GetNumberOfSamplesInfo(), GetSamplesInfo(), and QObjectImp().


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