CbmRoot
CbmTrdHitDensityQa Class Reference

#include <CbmTrdHitDensityQa.h>

Inheritance diagram for CbmTrdHitDensityQa:
[legend]
Collaboration diagram for CbmTrdHitDensityQa:
[legend]

Public Member Functions

 CbmTrdHitDensityQa ()
 
 CbmTrdHitDensityQa (Double_t TriggerThreshold, Double_t EventRate, Double_t ScaleCentral2mBias)
 
virtual ~CbmTrdHitDensityQa ()
 
virtual InitStatus ReInit ()
 
virtual InitStatus Init ()
 
virtual void SetParContainers ()
 
virtual void Exec (Option_t *option)
 
virtual void FinishEvent ()
 
virtual void Finish ()
 
void Register ()
 
void SetTriggerThreshold (Double_t triggerthreshold)
 
void SetNeighbourTrigger (Bool_t trigger)
 
void SetPlotResults (Bool_t plotResults)
 
void SetScaleCentral2mBias (Double_t scaling)
 
void SetTriggerMaxScale (Double_t max)
 
void SetTriggerMinScale (Double_t min)
 
void SetLogScale (Bool_t logScale)
 
void SetRatioTwoFiles (Bool_t ratioPlot)
 

Private Member Functions

Double_t TriggerRate2DataRate (Double_t triggerrate)
 
Double_t DataRate2TriggerRate (Double_t datarate)
 
Double_t TriggerCount2TriggerRate (Double_t count)
 
Double_t TriggerRate2TriggerCount (Double_t rate)
 
 CbmTrdHitDensityQa (const CbmTrdHitDensityQa &)
 
CbmTrdHitDensityQaoperator= (const CbmTrdHitDensityQa &)
 
 ClassDef (CbmTrdHitDensityQa, 3)
 

Private Attributes

std::ofstream myfile
 
Double_t fmin
 
Double_t fmax
 
Bool_t flogScale
 
Double_t fBitPerHit
 
TH1F * h1DataModule
 
TH1F * h1OptLinksModule
 
Bool_t fNeighbourTrigger
 
Bool_t fPlotResults
 
Bool_t fRatioTwoFiles
 
TClonesArray * fClusters
 
CbmTrdParSetAsicfAsicPar
 
CbmTrdParSetDigifDigiPar
 
CbmTrdParSetGeofGeoPar
 
CbmTrdGeoHandlerfGeoHandler
 
Int_t fStation
 
Int_t fLayer
 
Int_t fModuleID
 
TH1I * fEventCounter
 
Double_t fTriggerThreshold
 
Double_t fEventRate
 
Double_t fScaleCentral2mBias
 
std::map< Int_t, Int_t > fUsedDigiMap
 
std::map< Int_t, TH2I * > fModuleHitMap
 
std::map< Int_t, TH2I * >::iterator fModuleHitMapIt
 
std::map< Int_t, TH1D * > fModuleHitASICMap
 
std::map< Int_t, TH1D * >::iterator fModuleHitASICMapIt
 

Detailed Description

Definition at line 30 of file CbmTrdHitDensityQa.h.

Constructor & Destructor Documentation

◆ CbmTrdHitDensityQa() [1/3]

CbmTrdHitDensityQa::CbmTrdHitDensityQa ( )

Definition at line 59 of file CbmTrdHitDensityQa.cxx.

◆ CbmTrdHitDensityQa() [2/3]

CbmTrdHitDensityQa::CbmTrdHitDensityQa ( Double_t  TriggerThreshold,
Double_t  EventRate,
Double_t  ScaleCentral2mBias 
)

Definition at line 63 of file CbmTrdHitDensityQa.cxx.

◆ ~CbmTrdHitDensityQa()

CbmTrdHitDensityQa::~CbmTrdHitDensityQa ( )
virtual

Definition at line 96 of file CbmTrdHitDensityQa.cxx.

References fClusters.

◆ CbmTrdHitDensityQa() [3/3]

CbmTrdHitDensityQa::CbmTrdHitDensityQa ( const CbmTrdHitDensityQa )
private

Member Function Documentation

◆ ClassDef()

CbmTrdHitDensityQa::ClassDef ( CbmTrdHitDensityQa  ,
 
)
private

◆ DataRate2TriggerRate()

Double_t CbmTrdHitDensityQa::DataRate2TriggerRate ( Double_t  datarate)
private

Definition at line 786 of file CbmTrdHitDensityQa.cxx.

References fBitPerHit.

◆ Exec()

◆ Finish()

◆ FinishEvent()

void CbmTrdHitDensityQa::FinishEvent ( )
virtual

Virtual method EndOfEvent

Reset hit collection at the end of the event.

Definition at line 770 of file CbmTrdHitDensityQa.cxx.

References fClusters, and fUsedDigiMap.

◆ Init()

InitStatus CbmTrdHitDensityQa::Init ( )
virtual

◆ operator=()

CbmTrdHitDensityQa& CbmTrdHitDensityQa::operator= ( const CbmTrdHitDensityQa )
private

◆ Register()

void CbmTrdHitDensityQa::Register ( )

Definition at line 360 of file CbmTrdHitDensityQa.cxx.

◆ ReInit()

InitStatus CbmTrdHitDensityQa::ReInit ( )
virtual

Initialisation

Definition at line 117 of file CbmTrdHitDensityQa.cxx.

◆ SetLogScale()

void CbmTrdHitDensityQa::SetLogScale ( Bool_t  logScale)

Definition at line 188 of file CbmTrdHitDensityQa.cxx.

References flogScale.

◆ SetNeighbourTrigger()

void CbmTrdHitDensityQa::SetNeighbourTrigger ( Bool_t  trigger)

Definition at line 183 of file CbmTrdHitDensityQa.cxx.

References fNeighbourTrigger.

◆ SetParContainers()

void CbmTrdHitDensityQa::SetParContainers ( )
virtual

Definition at line 107 of file CbmTrdHitDensityQa.cxx.

References fAsicPar, fDigiPar, and fGeoPar.

◆ SetPlotResults()

void CbmTrdHitDensityQa::SetPlotResults ( Bool_t  plotResults)

Definition at line 180 of file CbmTrdHitDensityQa.cxx.

References fPlotResults.

◆ SetRatioTwoFiles()

void CbmTrdHitDensityQa::SetRatioTwoFiles ( Bool_t  ratioPlot)

Definition at line 190 of file CbmTrdHitDensityQa.cxx.

References fPlotResults, and fRatioTwoFiles.

◆ SetScaleCentral2mBias()

void CbmTrdHitDensityQa::SetScaleCentral2mBias ( Double_t  scaling)

Definition at line 177 of file CbmTrdHitDensityQa.cxx.

References fScaleCentral2mBias.

◆ SetTriggerMaxScale()

void CbmTrdHitDensityQa::SetTriggerMaxScale ( Double_t  max)

Definition at line 186 of file CbmTrdHitDensityQa.cxx.

References fmax, and max().

◆ SetTriggerMinScale()

void CbmTrdHitDensityQa::SetTriggerMinScale ( Double_t  min)

Definition at line 187 of file CbmTrdHitDensityQa.cxx.

References fmin, and min().

◆ SetTriggerThreshold()

void CbmTrdHitDensityQa::SetTriggerThreshold ( Double_t  triggerthreshold)

Definition at line 779 of file CbmTrdHitDensityQa.cxx.

References fTriggerThreshold.

◆ TriggerCount2TriggerRate()

Double_t CbmTrdHitDensityQa::TriggerCount2TriggerRate ( Double_t  count)
private

Definition at line 789 of file CbmTrdHitDensityQa.cxx.

References fEventCounter, and fEventRate.

Referenced by Finish().

◆ TriggerRate2DataRate()

Double_t CbmTrdHitDensityQa::TriggerRate2DataRate ( Double_t  triggerrate)
private

Definition at line 783 of file CbmTrdHitDensityQa.cxx.

References fBitPerHit.

Referenced by Finish().

◆ TriggerRate2TriggerCount()

Double_t CbmTrdHitDensityQa::TriggerRate2TriggerCount ( Double_t  rate)
private

Definition at line 794 of file CbmTrdHitDensityQa.cxx.

References fEventCounter, and fEventRate.

Referenced by Finish().

Member Data Documentation

◆ fAsicPar

CbmTrdParSetAsic* CbmTrdHitDensityQa::fAsicPar
private

Definition at line 86 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), Finish(), and SetParContainers().

◆ fBitPerHit

Double_t CbmTrdHitDensityQa::fBitPerHit
private

Definition at line 76 of file CbmTrdHitDensityQa.h.

Referenced by DataRate2TriggerRate(), Exec(), and TriggerRate2DataRate().

◆ fClusters

TClonesArray* CbmTrdHitDensityQa::fClusters
private

Definition at line 84 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), FinishEvent(), Init(), and ~CbmTrdHitDensityQa().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdHitDensityQa::fDigiPar
private

Definition at line 87 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), Finish(), and SetParContainers().

◆ fEventCounter

TH1I* CbmTrdHitDensityQa::fEventCounter
private

◆ fEventRate

Double_t CbmTrdHitDensityQa::fEventRate
private

Definition at line 98 of file CbmTrdHitDensityQa.h.

Referenced by TriggerCount2TriggerRate(), and TriggerRate2TriggerCount().

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdHitDensityQa::fGeoHandler
private

Definition at line 89 of file CbmTrdHitDensityQa.h.

Referenced by Init().

◆ fGeoPar

CbmTrdParSetGeo* CbmTrdHitDensityQa::fGeoPar
private

Definition at line 88 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetParContainers().

◆ fLayer

Int_t CbmTrdHitDensityQa::fLayer
private

Definition at line 92 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), and Finish().

◆ flogScale

Bool_t CbmTrdHitDensityQa::flogScale
private

Definition at line 75 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetLogScale().

◆ fmax

Double_t CbmTrdHitDensityQa::fmax
private

Definition at line 74 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetTriggerMaxScale().

◆ fmin

Double_t CbmTrdHitDensityQa::fmin
private

Definition at line 74 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetTriggerMinScale().

◆ fModuleHitASICMap

std::map<Int_t, TH1D*> CbmTrdHitDensityQa::fModuleHitASICMap
private

Definition at line 104 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), and Finish().

◆ fModuleHitASICMapIt

std::map<Int_t, TH1D*>::iterator CbmTrdHitDensityQa::fModuleHitASICMapIt
private

Definition at line 105 of file CbmTrdHitDensityQa.h.

◆ fModuleHitMap

std::map<Int_t, TH2I*> CbmTrdHitDensityQa::fModuleHitMap
private

Definition at line 102 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), and Finish().

◆ fModuleHitMapIt

std::map<Int_t, TH2I*>::iterator CbmTrdHitDensityQa::fModuleHitMapIt
private

Definition at line 103 of file CbmTrdHitDensityQa.h.

Referenced by Finish().

◆ fModuleID

Int_t CbmTrdHitDensityQa::fModuleID
private

Definition at line 93 of file CbmTrdHitDensityQa.h.

◆ fNeighbourTrigger

Bool_t CbmTrdHitDensityQa::fNeighbourTrigger
private

Definition at line 80 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), Init(), and SetNeighbourTrigger().

◆ fPlotResults

Bool_t CbmTrdHitDensityQa::fPlotResults
private

Definition at line 81 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), Finish(), SetPlotResults(), and SetRatioTwoFiles().

◆ fRatioTwoFiles

Bool_t CbmTrdHitDensityQa::fRatioTwoFiles
private

Definition at line 82 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetRatioTwoFiles().

◆ fScaleCentral2mBias

Double_t CbmTrdHitDensityQa::fScaleCentral2mBias
private

Definition at line 99 of file CbmTrdHitDensityQa.h.

Referenced by Finish(), and SetScaleCentral2mBias().

◆ fStation

Int_t CbmTrdHitDensityQa::fStation
private

Definition at line 91 of file CbmTrdHitDensityQa.h.

Referenced by Finish().

◆ fTriggerThreshold

Double_t CbmTrdHitDensityQa::fTriggerThreshold
private

Definition at line 97 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), and SetTriggerThreshold().

◆ fUsedDigiMap

std::map<Int_t, Int_t> CbmTrdHitDensityQa::fUsedDigiMap
private

Definition at line 101 of file CbmTrdHitDensityQa.h.

Referenced by Exec(), and FinishEvent().

◆ h1DataModule

TH1F* CbmTrdHitDensityQa::h1DataModule
private

Definition at line 77 of file CbmTrdHitDensityQa.h.

◆ h1OptLinksModule

TH1F* CbmTrdHitDensityQa::h1OptLinksModule
private

Definition at line 78 of file CbmTrdHitDensityQa.h.

◆ myfile

std::ofstream CbmTrdHitDensityQa::myfile
private

Definition at line 72 of file CbmTrdHitDensityQa.h.

Referenced by Finish().


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