R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandQCalPar Class Reference

#include <R3BNeulandQCalPar.h>

Public Member Functions

 R3BNeulandQCalPar (const char *name="NeulandQCalPar", const char *title="Calibration", const char *context="TestDefaultContext", Bool_t own=kTRUE)
 Standard constructor.
 
virtual ~R3BNeulandQCalPar (void)
 Destructor.
 
void SetSize (Int_t size)
 Method to set the size of the array of parameters.
 
void putParams (FairParamList *list)
 Method to store parameters using FairRuntimeDB.
 
Bool_t getParams (FairParamList *list)
 Method to retrieve parameters using FairRuntimeDB.
 
void printParams ()
 Method to print value of parameters to the standard output.
 
void SetParAt (Int_t plane, Int_t bar, Int_t side, Int_t offset)
 Method to set the pedestal offset of a PMT.
 
Int_t GetParAt (Int_t plane, Int_t bar, Int_t side)
 Method to get the pedestal offset of a PMT.
 

Detailed Description

Definition at line 25 of file R3BNeulandQCalPar.h.

Constructor & Destructor Documentation

◆ R3BNeulandQCalPar()

R3BNeulandQCalPar::R3BNeulandQCalPar ( const char * name = "NeulandQCalPar",
const char * title = "Calibration",
const char * context = "TestDefaultContext",
Bool_t own = kTRUE )

Creates instance of this class.

Parameters
namea name of container.
titlea title of container.
contextcontext/purpose for parameters and conditions.
ownclass ownership, if flag is kTRUE FairDB has the par.

Definition at line 18 of file R3BNeulandQCalPar.cxx.

◆ ~R3BNeulandQCalPar()

R3BNeulandQCalPar::~R3BNeulandQCalPar ( void )
virtual

Cleares the memory used by the object.

Definition at line 23 of file R3BNeulandQCalPar.cxx.

Member Function Documentation

◆ getParams()

Bool_t R3BNeulandQCalPar::getParams ( FairParamList * list)
Parameters
lista list of parameters.
Returns
kTRUE if successful, else kFALSE.

Definition at line 35 of file R3BNeulandQCalPar.cxx.

◆ GetParAt()

Int_t R3BNeulandQCalPar::GetParAt ( Int_t plane,
Int_t bar,
Int_t side )
inline
Parameters
planean index of detector plane [0, nPlanes-1]
bara bar index within the plane [0,49]
sidea side of a paddle {1,2}
offsetthe pedestal offset

Definition at line 89 of file R3BNeulandQCalPar.h.

◆ printParams()

void R3BNeulandQCalPar::printParams ( )

Calls printParams() for every module container.

Definition at line 55 of file R3BNeulandQCalPar.cxx.

◆ putParams()

void R3BNeulandQCalPar::putParams ( FairParamList * list)
Parameters
lista list of parameters.

Definition at line 25 of file R3BNeulandQCalPar.cxx.

◆ SetParAt()

void R3BNeulandQCalPar::SetParAt ( Int_t plane,
Int_t bar,
Int_t side,
Int_t offset )
inline
Parameters
planean index of detector plane [0, nPlanes-1]
bara bar index within the plane [0,49]
sidea side of a paddle {1,2}
offsetthe pedestal offset

Definition at line 77 of file R3BNeulandQCalPar.h.

◆ SetSize()

void R3BNeulandQCalPar::SetSize ( Int_t size)
Parameters
sizethe array size

Definition at line 49 of file R3BNeulandQCalPar.cxx.


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