ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Types | Public Member Functions | Protected Attributes | List of all members
AtGenericTrace Class Reference

Trace recorded by other data acquisition systems. More...

#include <AtGenericTrace.h>

Inheritance diagram for AtGenericTrace:
Inheritance graph
[legend]
Collaboration diagram for AtGenericTrace:
Collaboration graph
[legend]

Public Types

using rawTrace = std::vector< Int_t >
 
using trace = std::vector< Double_t >
 

Public Member Functions

virtual std::unique_ptr< AtPadBaseClone () const override
 
 AtGenericTrace (Int_t traceID=-1, std::size_t size=2048)
 
void SetRawADC (Int_t idx, Int_t val)
 
void SetADC (Int_t idx, Double_t val)
 
rawTraceGetRawADC ()
 
traceGetADC ()
 
Int_t GetTraceSize () const
 
 ClassDefOverride (AtGenericTrace, 1)
 
- Public Member Functions inherited from AtPadBase
virtual ~AtPadBase ()=default
 
 ClassDefOverride (AtPadBase, 1)
 

Protected Attributes

Int_t fTraceID {}
 
std::size_t fSize {}
 
rawTrace fRawAdc {}
 
trace fAdc {}
 

Detailed Description

Trace recorded by other data acquisition systems.

Definition at line 21 of file AtGenericTrace.h.

Member Typedef Documentation

◆ rawTrace

using AtGenericTrace::rawTrace = std::vector<Int_t>

Definition at line 23 of file AtGenericTrace.h.

◆ trace

using AtGenericTrace::trace = std::vector<Double_t>

Definition at line 24 of file AtGenericTrace.h.

Constructor & Destructor Documentation

◆ AtGenericTrace()

AtGenericTrace::AtGenericTrace ( Int_t  traceID = -1,
std::size_t  size = 2048 
)

Definition at line 10 of file AtGenericTrace.cxx.

Member Function Documentation

◆ ClassDefOverride()

AtGenericTrace::ClassDefOverride ( AtGenericTrace  ,
 
)

◆ Clone()

std::unique_ptr< AtPadBase > AtGenericTrace::Clone ( ) const
overridevirtual

Implements AtPadBase.

Definition at line 5 of file AtGenericTrace.cxx.

◆ GetADC()

trace& AtGenericTrace::GetADC ( )
inline

Definition at line 41 of file AtGenericTrace.h.

◆ GetRawADC()

rawTrace& AtGenericTrace::GetRawADC ( )
inline

Definition at line 40 of file AtGenericTrace.h.

◆ GetTraceSize()

Int_t AtGenericTrace::GetTraceSize ( ) const
inline

Definition at line 42 of file AtGenericTrace.h.

◆ SetADC()

void AtGenericTrace::SetADC ( Int_t  idx,
Double_t  val 
)
inline

Definition at line 38 of file AtGenericTrace.h.

◆ SetRawADC()

void AtGenericTrace::SetRawADC ( Int_t  idx,
Int_t  val 
)
inline

Definition at line 37 of file AtGenericTrace.h.

Member Data Documentation

◆ fAdc

trace AtGenericTrace::fAdc {}
protected

Definition at line 30 of file AtGenericTrace.h.

◆ fRawAdc

rawTrace AtGenericTrace::fRawAdc {}
protected

Definition at line 29 of file AtGenericTrace.h.

◆ fSize

std::size_t AtGenericTrace::fSize {}
protected

Definition at line 28 of file AtGenericTrace.h.

◆ fTraceID

Int_t AtGenericTrace::fTraceID {}
protected

Definition at line 27 of file AtGenericTrace.h.


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