BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGemFastDigitize Class Reference

#include <BmnGemFastDigitize.h>

Inheritance diagram for BmnGemFastDigitize:
Collaboration diagram for BmnGemFastDigitize:

Public Member Functions

 BmnGemFastDigitize ()
 Default constructor.
 ~BmnGemFastDigitize ()
 Destructor.
virtual InitStatus Init ()
 Virtual method Init.
virtual void Exec (Option_t *opt)
 Virtual method Exec.
virtual void Finish ()
 Virtual method Finish.
void ProduceHitResponseFast (CbmStsSensor *sensor, std::set< Int_t > &pSet, Double_t *stripSignalF, Double_t *stripSignalB, std::map< Int_t, std::set< Int_t > > &chanPointMapF, std::map< Int_t, std::set< Int_t > > &chanPointMapB)
Double_t GetNumberOfClusters (Double_t beta, Double_t gamma, Double_t charge, Double_t p0, Double_t p1)

Private Member Functions

Double_t Interp (Double_t *yy, Int_t indx, Int_t ntot, Double_t dx)
Int_t FindDataSet (Double_t theX, Double_t theY)
 BmnGemFastDigitize (const BmnGemFastDigitize &)
BmnGemFastDigitize & operator= (const BmnGemFastDigitize &)

Private Attributes

TClonesArray * fPoints
 Input arrays.
TClonesArray * fMCTracks
std::map< Int_t, std::multimap< Float_t, Int_t > > fXYmap [2]
 Output array of CbmStsHits.
std::map< Int_t, Int_t > fStrRef [2]
std::map< Int_t, TH2I * > fHistMap
std::map< Int_t, TTree * > fTreeMap
Int_t fIbeg [2]
Int_t fStrin [2]
Int_t fStrout [2]
Float_t fQtot [2]
Float_t fDpitin [2]
Float_t fCog [2]
std::vector< Float_t > fvDigis [2]
std::vector< Float_t > * fvDig0
std::vector< Float_t > * fvDig1
TH2I * fhInd

Detailed Description

Definition at line 29 of file BmnGemFastDigitize.h.

Constructor & Destructor Documentation

◆ BmnGemFastDigitize() [1/2]

BmnGemFastDigitize::BmnGemFastDigitize ( )

Definition at line 43 of file BmnGemFastDigitize.cxx.

References fhInd.

Referenced by BmnGemFastDigitize(), and operator=().

Here is the caller graph for this function:

◆ ~BmnGemFastDigitize()

BmnGemFastDigitize::~BmnGemFastDigitize ( )

Definition at line 50 of file BmnGemFastDigitize.cxx.

◆ BmnGemFastDigitize() [2/2]

BmnGemFastDigitize::BmnGemFastDigitize ( const BmnGemFastDigitize & )
private

References BmnGemFastDigitize().

Here is the call graph for this function:

Member Function Documentation

◆ Exec()

void BmnGemFastDigitize::Exec ( Option_t * opt)
virtual

Definition at line 209 of file BmnGemFastDigitize.cxx.

◆ FindDataSet()

Int_t BmnGemFastDigitize::FindDataSet ( Double_t theX,
Double_t theY )
private

Definition at line 483 of file BmnGemFastDigitize.cxx.

References fhInd, and i.

Referenced by ProduceHitResponseFast().

Here is the caller graph for this function:

◆ Finish()

void BmnGemFastDigitize::Finish ( )
virtual

Definition at line 213 of file BmnGemFastDigitize.cxx.

◆ GetNumberOfClusters()

Double_t BmnGemFastDigitize::GetNumberOfClusters ( Double_t beta,
Double_t gamma,
Double_t charge,
Double_t p0,
Double_t p1 )

Definition at line 570 of file BmnGemFastDigitize.cxx.

References TMath::Log(), and TMath::Min().

Referenced by ProduceHitResponseFast().

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

◆ Init()

InitStatus BmnGemFastDigitize::Init ( )
virtual

Definition at line 54 of file BmnGemFastDigitize.cxx.

References TString::Atoi(), TH1::Clone(), TTree::Draw(), entries, fCog, fDpitin, fhInd, fHistMap, fIbeg, fMCTracks, fPoints, fQtot, fStrin, fStrout, fStrRef, fTreeMap, fvDig0, fvDig1, fvDigis, fXYmap, TDirectoryFile::Get(), TEntryList::GetEntry(), TTree::GetEntry(), TEntryList::GetN(), TMath::Min(), TFile::Open(), TTree::SetBranchAddress(), TTree::SetBranchStatus(), and TTree::SetEntryList().

Here is the call graph for this function:

◆ Interp()

Double_t BmnGemFastDigitize::Interp ( Double_t * yy,
Int_t indx,
Int_t ntot,
Double_t dx )
private

Definition at line 450 of file BmnGemFastDigitize.cxx.

References TMath::Max().

Referenced by ProduceHitResponseFast().

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

◆ operator=()

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

References BmnGemFastDigitize().

Here is the call graph for this function:

◆ ProduceHitResponseFast()

Member Data Documentation

◆ fCog

Float_t BmnGemFastDigitize::fCog[2]
private

Definition at line 68 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fDpitin

Float_t BmnGemFastDigitize::fDpitin[2]
private

Definition at line 68 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fhInd

TH2I* BmnGemFastDigitize::fhInd
private

Definition at line 71 of file BmnGemFastDigitize.h.

Referenced by BmnGemFastDigitize(), FindDataSet(), and Init().

◆ fHistMap

std::map<Int_t, TH2I*> BmnGemFastDigitize::fHistMap
private

Definition at line 65 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fIbeg

Int_t BmnGemFastDigitize::fIbeg[2]
private

Definition at line 67 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fMCTracks

TClonesArray* BmnGemFastDigitize::fMCTracks
private

Definition at line 58 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fPoints

TClonesArray* BmnGemFastDigitize::fPoints
private

Definition at line 57 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fQtot

Float_t BmnGemFastDigitize::fQtot[2]
private

Definition at line 68 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fStrin

Int_t BmnGemFastDigitize::fStrin[2]
private

Definition at line 67 of file BmnGemFastDigitize.h.

Referenced by Init().

◆ fStrout

Int_t BmnGemFastDigitize::fStrout[2]
private

Definition at line 67 of file BmnGemFastDigitize.h.

Referenced by Init().

◆ fStrRef

std::map<Int_t, Int_t> BmnGemFastDigitize::fStrRef[2]
private

Definition at line 64 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fTreeMap

std::map<Int_t, TTree*> BmnGemFastDigitize::fTreeMap
private

Definition at line 66 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fvDig0

std::vector<Float_t>* BmnGemFastDigitize::fvDig0
private

Definition at line 70 of file BmnGemFastDigitize.h.

Referenced by Init().

◆ fvDig1

std::vector<Float_t> * BmnGemFastDigitize::fvDig1
private

Definition at line 70 of file BmnGemFastDigitize.h.

Referenced by Init().

◆ fvDigis

std::vector<Float_t> BmnGemFastDigitize::fvDigis[2]
private

Definition at line 69 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().

◆ fXYmap

std::map<Int_t, std::multimap<Float_t, Int_t> > BmnGemFastDigitize::fXYmap[2]
private

Definition at line 63 of file BmnGemFastDigitize.h.

Referenced by Init(), and ProduceHitResponseFast().


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