QwAnalysis
QwSIS3320_Samples.h File Reference
#include <iostream>
#include <vector>
#include <TObject.h>
#include <TGraph.h>
#include <TTree.h>
+ Include dependency graph for QwSIS3320_Samples.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  QwSIS3320_Samples
 SIS3320 sampling ADC samples. More...
 

Typedefs

typedef Double_t QwSIS3320_Type
 

Functions

std::ostream & operator<< (std::ostream &stream, const QwSIS3320_Samples &s)
 

Typedef Documentation

typedef Double_t QwSIS3320_Type

At this point the samples are hard-coded to be of Float_t data type. Ideally, this should be templated out, so that the channel can have UInt_t raw samples, Float_t processed samples, and Double_t average samples. Seems to cause too many problems right now and needs some thinking.

Definition at line 34 of file QwSIS3320_Samples.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const QwSIS3320_Samples s 
)
inline

Definition at line 144 of file QwSIS3320_Samples.h.

References QwSIS3320_Samples::GetNumberOfSamples(), and QwSIS3320_Samples::GetSample().

145 {
146  for (size_t i = 0; i < s.GetNumberOfSamples(); i++)
147  stream << s.GetSample(i) << " ";
148  return stream;
149 }
UInt_t GetNumberOfSamples() const
QwSIS3320_Type GetSample(size_t i) const

+ Here is the call graph for this function: