BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnZdcBScanner Class Reference

#include <BmnZdcBScanner.h>

Collaboration diagram for BmnZdcBScanner:

Classes

struct  Item

Public Member Functions

 BmnZdcBScanner ()
virtual ~BmnZdcBScanner ()
void SetShowProgress (Bool_t show)
void SetEventData (TClonesArray *pArrayOfBmnZDCDigit, Double_t scale=1.)
void AddSimDigit (const char *fileName)
void SetSimScale (Double_t scale)
void SetScanWidth (UInt_t entries)
virtual TH1D * Scan (char mode)
 BmnZdcBScanner ()
virtual ~BmnZdcBScanner ()
void SetShowProgress (Bool_t show)
void SetEventData (TClonesArray *pArrayOfBmnZDCDigit, Double_t scale=1.)
void AddSimDigit (const char *fileName)
void SetSimScale (Double_t scale)
void SetScanWidth (UInt_t entries)
virtual TH1D * Scan (char mode)

Private Member Functions

void OnEvent (TClonesArray *pArrayOfBmnZDCDigit, char mode, Double_t b)
void OnScan (Int_t n, Double_t scanValue, TH1D *pBH)
void OnEvent (TClonesArray *pArrayOfBmnZDCDigit, char mode, Double_t b)
void OnScan (Int_t n, Double_t scanValue, TH1D *pBH)

Static Private Member Functions

static bool compareItem (Item i1, Item i2)
static bool compareItem (Item i1, Item i2)

Private Attributes

TChain fInpChain
UInt_t fMaxEntries = 0
UInt_t fScanWidth = 1000
Double_t fSimScale = 1.
Bool_t fShowProgress = kFALSE
class ZdcMoment fEventData
struct BmnZdcBScanner::Item * fIndex = 0
UInt_t fIndexSize = 0

Detailed Description

Definition at line 93 of file BmnZdcBScanner.h.

Constructor & Destructor Documentation

◆ BmnZdcBScanner() [1/2]

BmnZdcBScanner::BmnZdcBScanner ( )
inline

Definition at line 117 of file BmnZdcBScanner.h.

References fInpChain.

◆ ~BmnZdcBScanner() [1/2]

virtual BmnZdcBScanner::~BmnZdcBScanner ( )
inlinevirtual

Definition at line 120 of file BmnZdcBScanner.h.

References fIndex.

◆ BmnZdcBScanner() [2/2]

BmnZdcBScanner::BmnZdcBScanner ( )
inline

Definition at line 117 of file BmnZdcBScanner.h.

References fInpChain.

◆ ~BmnZdcBScanner() [2/2]

virtual BmnZdcBScanner::~BmnZdcBScanner ( )
inlinevirtual

Definition at line 120 of file BmnZdcBScanner.h.

References fIndex.

Member Function Documentation

◆ AddSimDigit() [1/2]

void BmnZdcBScanner::AddSimDigit ( const char * fileName)
inline

Definition at line 128 of file BmnZdcBScanner.h.

References fInpChain.

Referenced by testBmnZdcBScanner().

Here is the caller graph for this function:

◆ AddSimDigit() [2/2]

void BmnZdcBScanner::AddSimDigit ( const char * fileName)
inline

Definition at line 128 of file BmnZdcBScanner.h.

References fInpChain.

◆ compareItem() [1/2]

bool BmnZdcBScanner::compareItem ( Item i1,
Item i2 )
inlinestaticprivate

Definition at line 111 of file BmnZdcBScanner.h.

References BmnZdcBScanner::Item::index.

Referenced by Scan().

Here is the caller graph for this function:

◆ compareItem() [2/2]

bool BmnZdcBScanner::compareItem ( Item i1,
Item i2 )
inlinestaticprivate

Definition at line 111 of file BmnZdcBScanner.h.

◆ OnEvent() [1/2]

void BmnZdcBScanner::OnEvent ( TClonesArray * pArrayOfBmnZDCDigit,
char mode,
Double_t b )
private

Definition at line 89 of file BmnZdcBScanner.cxx.

References ZdcMoment::Add(), TObjArray::At(), BmnZdcBScanner::Item::b, fIndex, fIndexSize, fSimScale, ZdcMoment::GetA(), ZdcMoment::GetE(), TObjArray::GetEntries(), ZdcMoment::GetHits(), ZdcMoment::GetM(), i, and BmnZdcBScanner::Item::index.

Referenced by Scan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnEvent() [2/2]

void BmnZdcBScanner::OnEvent ( TClonesArray * pArrayOfBmnZDCDigit,
char mode,
Double_t b )
private

◆ OnScan() [1/2]

void BmnZdcBScanner::OnScan ( Int_t n,
Double_t scanValue,
TH1D * pBH )
private

Definition at line 127 of file BmnZdcBScanner.cxx.

References TH1::Fill(), fIndex, fIndexSize, i, and n.

Referenced by Scan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnScan() [2/2]

void BmnZdcBScanner::OnScan ( Int_t n,
Double_t scanValue,
TH1D * pBH )
private

References n.

◆ Scan() [1/2]

TH1D * BmnZdcBScanner::Scan ( char mode)
virtual

Definition at line 26 of file BmnZdcBScanner.cxx.

References compareItem(), TString::Data(), DrawBar(), entries, fEventData, fIndex, fIndexSize, fInpChain, fMaxEntries, TString::Format(), fScanWidth, fShowProgress, i, OnEvent(), and OnScan().

Referenced by testBmnZdcBScanner().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Scan() [2/2]

virtual TH1D * BmnZdcBScanner::Scan ( char mode)
virtual

◆ SetEventData() [1/2]

void BmnZdcBScanner::SetEventData ( TClonesArray * pArrayOfBmnZDCDigit,
Double_t scale = 1. )

Definition at line 13 of file BmnZdcBScanner.cxx.

References TObjArray::At(), fEventData, TObjArray::GetEntries(), and i.

Referenced by testBmnZdcBScanner().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetEventData() [2/2]

void BmnZdcBScanner::SetEventData ( TClonesArray * pArrayOfBmnZDCDigit,
Double_t scale = 1. )

◆ SetScanWidth() [1/2]

void BmnZdcBScanner::SetScanWidth ( UInt_t entries)
inline

Definition at line 131 of file BmnZdcBScanner.h.

References entries, and fScanWidth.

Referenced by testBmnZdcBScanner().

Here is the caller graph for this function:

◆ SetScanWidth() [2/2]

void BmnZdcBScanner::SetScanWidth ( UInt_t entries)
inline

Definition at line 131 of file BmnZdcBScanner.h.

References entries, and fScanWidth.

◆ SetShowProgress() [1/2]

void BmnZdcBScanner::SetShowProgress ( Bool_t show)
inline

Definition at line 126 of file BmnZdcBScanner.h.

References fShowProgress.

Referenced by testBmnZdcBScanner().

Here is the caller graph for this function:

◆ SetShowProgress() [2/2]

void BmnZdcBScanner::SetShowProgress ( Bool_t show)
inline

Definition at line 126 of file BmnZdcBScanner.h.

References fShowProgress.

◆ SetSimScale() [1/2]

void BmnZdcBScanner::SetSimScale ( Double_t scale)
inline

Definition at line 129 of file BmnZdcBScanner.h.

References fSimScale.

Referenced by testBmnZdcBScanner().

Here is the caller graph for this function:

◆ SetSimScale() [2/2]

void BmnZdcBScanner::SetSimScale ( Double_t scale)
inline

Definition at line 129 of file BmnZdcBScanner.h.

References fSimScale.

Member Data Documentation

◆ fEventData

class ZdcMoment BmnZdcBScanner::fEventData
private

Definition at line 102 of file BmnZdcBScanner.h.

Referenced by Scan(), and SetEventData().

◆ fIndex

struct BmnZdcBScanner::Item * BmnZdcBScanner::fIndex = 0
private

Referenced by ~BmnZdcBScanner(), OnEvent(), OnScan(), and Scan().

◆ fIndexSize

UInt_t BmnZdcBScanner::fIndexSize = 0
private

Definition at line 109 of file BmnZdcBScanner.h.

Referenced by OnEvent(), OnScan(), and Scan().

◆ fInpChain

TChain BmnZdcBScanner::fInpChain
private

Definition at line 95 of file BmnZdcBScanner.h.

Referenced by BmnZdcBScanner(), AddSimDigit(), and Scan().

◆ fMaxEntries

UInt_t BmnZdcBScanner::fMaxEntries = 0
private

Definition at line 96 of file BmnZdcBScanner.h.

Referenced by Scan().

◆ fScanWidth

UInt_t BmnZdcBScanner::fScanWidth = 1000
private

Definition at line 97 of file BmnZdcBScanner.h.

Referenced by Scan(), and SetScanWidth().

◆ fShowProgress

Bool_t BmnZdcBScanner::fShowProgress = kFALSE
private

Definition at line 100 of file BmnZdcBScanner.h.

Referenced by Scan(), and SetShowProgress().

◆ fSimScale

Double_t BmnZdcBScanner::fSimScale = 1.
private

Definition at line 98 of file BmnZdcBScanner.h.

Referenced by OnEvent(), and SetSimScale().


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