|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnMwpcHitProducer.h>
Public Member Functions | |
| BmnMwpcHitProducer () | |
| Default constructor. | |
| virtual | ~BmnMwpcHitProducer () |
| Destructor. | |
| virtual InitStatus | Init () |
| Virtual method Init. | |
| virtual void | Exec (Option_t *opt) |
| Virtual method Exec. | |
| virtual void | Finish () |
| Virtual method Finish. | |
| void | SetOnlyPrimary (Bool_t opt=kFALSE) |
| BmnStatus | ProcessPoints () |
| BmnStatus | ProcessDigits () |
| BmnMwpcHitProducer () | |
| Default constructor. | |
| virtual | ~BmnMwpcHitProducer () |
| Destructor. | |
| virtual InitStatus | Init () |
| Virtual method Init. | |
| virtual void | Exec (Option_t *opt) |
| Virtual method Exec. | |
| virtual void | Finish () |
| Virtual method Finish. | |
| void | SetOnlyPrimary (Bool_t opt=kFALSE) |
| BmnStatus | ProcessPoints () |
| BmnStatus | ProcessDigits () |
Private Attributes | |
| UInt_t | fEventNo |
| Bool_t | fDebug = 0 |
| TString | fOutputFileName |
| TString | fInputBranchName |
| TString | fInputMCBranchName |
| TString | fInputDigiBranchName |
| TString | fOutputHitsBranchName |
| TList | fList |
| TClonesArray * | fBmnMwpcPointsArray |
| Input array of MWPC Points. | |
| TClonesArray * | fBmnPointsArray |
| Input array of Points. | |
| TClonesArray * | fBmnMwpcDigitsArray |
| Input array of MWPC Digits. | |
| TClonesArray * | fMCTracksArray |
| Input array of MC Tracks. | |
| TClonesArray * | fBmnMwpcHitsArray |
| Output array of MWPC Hits. | |
| TClonesArray * | fBmnHitsArray |
| Output array of Hits. | |
| Bool_t | fOnlyPrimary |
| TString | fRunType |
| Int_t | fMwpcNum |
| TRandom | rand_gen |
| TH2D * | hY_vsX2 |
| TH2D * | hY_vsX3 |
| TH2D * | hY_vsX_pl0 |
| TH2D * | hY_vsX_pl1 |
| TH2D * | hY_vsX_pl2 |
| TH2D * | hY_vsX_star2 |
| TH2D * | hY_vsX_star3 |
| const Int_t | PDG_B11 = 1000050110 |
| const Int_t | PDG_Li7 = 1000030070 |
| const Int_t | PDG_He4 = 1000020040 |
| const Int_t | PDG_Li8 = 1000030080 |
| const Int_t | PDG_Be9 = 1000040090 |
| const Int_t | PDG_H2 = 1000010020 |
Definition at line 20 of file BmnMwpcHitProducer.h.
| BmnMwpcHitProducer::BmnMwpcHitProducer | ( | ) |
Definition at line 18 of file BmnMwpcHitProducer.cxx.
References fBmnHitsArray, fBmnMwpcDigitsArray, fBmnMwpcHitsArray, fBmnMwpcPointsArray, fBmnPointsArray, fEventNo, fInputBranchName, fInputDigiBranchName, fInputMCBranchName, fMCTracksArray, fMwpcNum, fOnlyPrimary, TString::Form(), fOutputHitsBranchName, fRunType, hY_vsX2, hY_vsX3, hY_vsX_pl0, hY_vsX_pl1, hY_vsX_pl2, hY_vsX_star2, and hY_vsX_star3.
Referenced by ProcessDigits().
|
virtual |
Definition at line 46 of file BmnMwpcHitProducer.cxx.
| BmnMwpcHitProducer::BmnMwpcHitProducer | ( | ) |
|
virtual |
|
virtual |
Definition at line 81 of file BmnMwpcHitProducer.cxx.
References fBmnHitsArray, fBmnPointsArray, fDebug, fEventNo, and ProcessPoints().
|
virtual |
|
virtual |
Definition at line 330 of file BmnMwpcHitProducer.cxx.
References TFile::Close(), fDebug, fList, and fOutputFileName.
|
virtual |
|
virtual |
Definition at line 48 of file BmnMwpcHitProducer.cxx.
References fBmnHitsArray, fBmnPointsArray, fDebug, fInputBranchName, fList, fMCTracksArray, fOutputHitsBranchName, hY_vsX2, hY_vsX3, hY_vsX_pl0, hY_vsX_pl1, hY_vsX_pl2, hY_vsX_star2, hY_vsX_star3, and rand_gen.
|
virtual |
| BmnStatus BmnMwpcHitProducer::ProcessDigits | ( | ) |
Definition at line 325 of file BmnMwpcHitProducer.cxx.
References kBMNSUCCESS.
| BmnStatus BmnMwpcHitProducer::ProcessDigits | ( | ) |
References BmnMwpcHitProducer(), fBmnHitsArray, fBmnMwpcDigitsArray, fBmnMwpcHitsArray, fBmnMwpcPointsArray, fBmnPointsArray, fDebug, fEventNo, fInputBranchName, fInputDigiBranchName, fInputMCBranchName, fList, fMCTracksArray, fMwpcNum, fOnlyPrimary, fOutputFileName, fOutputHitsBranchName, fRunType, hY_vsX2, hY_vsX3, hY_vsX_pl0, hY_vsX_pl1, hY_vsX_pl2, hY_vsX_star2, hY_vsX_star3, PDG_B11, PDG_Be9, PDG_H2, PDG_He4, PDG_Li7, PDG_Li8, and rand_gen.
| BmnStatus BmnMwpcHitProducer::ProcessPoints | ( | ) |
Definition at line 102 of file BmnMwpcHitProducer.cxx.
References TString::Atoi(), dw, fabs(), fBmnHitsArray, fBmnPointsArray, fDebug, BmnMwpcPoint::GetCharge(), BmnMwpcPoint::GetIsPrimary(), TNamed::GetName(), BmnMwpcPoint::GetPdgId(), hY_vsX2, hY_vsX3, hY_vsX_pl0, hY_vsX_pl1, hY_vsX_pl2, hY_vsX_star2, hY_vsX_star3, i, kBMNSUCCESS, TString::Length(), rand_gen, BmnMwpcHit::SetHitId(), BmnMwpcHit::SetMwpcId(), BmnMwpcHit::SetPdgId(), BmnMwpcHit::SetPlaneId(), BmnMwpcHit::SetWireNumber(), BmnMwpcHit::SetWireTime(), TMath::Sqrt(), x, y, and z.
Referenced by Exec().
| BmnStatus BmnMwpcHitProducer::ProcessPoints | ( | ) |
Definition at line 36 of file BmnMwpcHitProducer.h.
References fOnlyPrimary.
Definition at line 36 of file BmnMwpcHitProducer.h.
References fOnlyPrimary.
|
private |
Definition at line 64 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Exec(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 56 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 62 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 52 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 54 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Exec(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 43 of file BmnMwpcHitProducer.h.
Referenced by Exec(), Finish(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 42 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Exec(), and ProcessDigits().
|
private |
Definition at line 45 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), and ProcessDigits().
|
private |
Definition at line 47 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 46 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 49 of file BmnMwpcHitProducer.h.
Referenced by Finish(), Init(), and ProcessDigits().
|
private |
Definition at line 59 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), and ProcessDigits().
|
private |
Definition at line 68 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 66 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), ProcessDigits(), and SetOnlyPrimary().
|
private |
Definition at line 44 of file BmnMwpcHitProducer.h.
Referenced by Finish(), and ProcessDigits().
|
private |
Definition at line 48 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), and ProcessDigits().
|
private |
Definition at line 67 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), and ProcessDigits().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 71 of file BmnMwpcHitProducer.h.
Referenced by BmnMwpcHitProducer(), Init(), ProcessDigits(), and ProcessPoints().
|
private |
Definition at line 73 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 77 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 78 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 75 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 74 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 76 of file BmnMwpcHitProducer.h.
Referenced by ProcessDigits().
|
private |
Definition at line 69 of file BmnMwpcHitProducer.h.
Referenced by Init(), ProcessDigits(), and ProcessPoints().