Public Member Functions | Public Attributes | List of all members
CRT::OnlinePlotter< TFS >::PerRunPlots Struct Reference

Public Member Functions

 PerRunPlots (DIRECTORY &&dir)
 
 ~PerRunPlots ()
 

Public Attributes

DIRECTORY fDir
 
TH2D * fMeanRate
 
TProfile2D * fMeanADC
 
TH1D * fMeanRatePerBoard
 
TProfile * fMeanADCPerBoard
 

Detailed Description

template<class TFS>
struct CRT::OnlinePlotter< TFS >::PerRunPlots

Definition at line 204 of file OnlinePlotter.cpp.

Constructor & Destructor Documentation

template<class TFS>
CRT::OnlinePlotter< TFS >::PerRunPlots::PerRunPlots ( DIRECTORY &&  dir)
inline

Definition at line 206 of file OnlinePlotter.cpp.

206  : fDir(dir)
207  {
208  fMeanRate = dir.template make<TH2D>("MeanRate", "Mean Rates;Channel;Module;Rate", 64, 0, 64, 32, 0, 32);
209  fMeanRate->SetStats(false);
210 
211  fMeanADC = dir.template make<TProfile2D>("MeanADC", "Mean ADC Values;Channel;Module;Rate [Hz]", 64, 0, 64, 32, 0, 32, 0., 4096);
212  fMeanADC->SetStats(false);
213 
214  fMeanRatePerBoard = dir.template make<TH1D>("MeanRateBoard", "Mean Rate per Board;Board;Rate [Hz]",
215  32, 0, 32);
216  fMeanADCPerBoard = dir.template make<TProfile>("MeanADCBoard", "Mean ADC Value per Board;Board;ADC",
217  32, 0, 32);
218  }
string dir
template<class TFS>
CRT::OnlinePlotter< TFS >::PerRunPlots::~PerRunPlots ( )
inline

Definition at line 220 of file OnlinePlotter.cpp.

221  {
222  fMeanRate->SetMinimum(0);
223  //fMeanRate->SetMaximum(60); //TODO: Maybe tune this one day. When using the board reader, it really depends
224  // on the trigger rate.
225  }

Member Data Documentation

template<class TFS>
DIRECTORY CRT::OnlinePlotter< TFS >::PerRunPlots::fDir

Definition at line 227 of file OnlinePlotter.cpp.

template<class TFS>
TProfile2D* CRT::OnlinePlotter< TFS >::PerRunPlots::fMeanADC

Definition at line 229 of file OnlinePlotter.cpp.

template<class TFS>
TProfile* CRT::OnlinePlotter< TFS >::PerRunPlots::fMeanADCPerBoard

Definition at line 231 of file OnlinePlotter.cpp.

template<class TFS>
TH2D* CRT::OnlinePlotter< TFS >::PerRunPlots::fMeanRate

Definition at line 228 of file OnlinePlotter.cpp.

template<class TFS>
TH1D* CRT::OnlinePlotter< TFS >::PerRunPlots::fMeanRatePerBoard

Definition at line 230 of file OnlinePlotter.cpp.


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