BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
Tof400DigitAnalysis_period6.C File Reference
#include "TCanvas.h"
#include "TChain.h"
#include "TClonesArray.h"
#include "TDirectory.h"
#include "TFile.h"
#include "TH1.h"
#include "TH1F.h"
#include "TH1S.h"
#include "TH2F.h"
#include "TH2S.h"
#include "TList.h"
#include "TPad.h"
#include "TVector3.h"
#include <TMath.h>
#include <ctime>
#include <fstream>
#include <iostream>
#include <istream>
#include <stdio.h>
Include dependency graph for Tof400DigitAnalysis_period6.C:

Go to the source code of this file.

Functions

void Tof400DigitAnalysis_period6 (TString file="", Int_t nEvForRead=0, Int_t Periud=5)
Double_t CalculateDtT0BD (BmnTrigDigit *bd, BmnTrigDigit *t0)
Double_t CalculateDtT0BD (Double_t timeBD, Double_t ampBD, BmnTrigDigit *t0)
Double_t CalculateDtT0BC2 (BmnTrigDigit *bc2, BmnTrigDigit *t0)
void CrossingDet (BmnTOF1Detector *Det1, BmnTOF1Detector *Det2, TH2 *hD1D2, TH1 *hDx, TH1 *hDy, TH1 *hDr, TH1 *hDt)

Variables

Double_t AmpBD
Double_t TimeBD
Double_t NHitBD
Double_t CorrLR [10][48] = {0.}
Bool_t FlagHit = kFALSE
Int_t XforHit = 0
Int_t YforHit = 0

Function Documentation

◆ CalculateDtT0BC2()

Double_t CalculateDtT0BC2 ( BmnTrigDigit * bc2,
BmnTrigDigit * t0 )

Definition at line 331 of file Tof400DigitAnalysis_period6.C.

References BmnTrigDigit::GetAmp(), and BmnTrigDigit::GetTime().

Referenced by Tof400DigitAnalysis_period6().

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

◆ CalculateDtT0BD() [1/2]

Double_t CalculateDtT0BD ( BmnTrigDigit * bd,
BmnTrigDigit * t0 )

Definition at line 307 of file Tof400DigitAnalysis_period6.C.

References BmnTrigDigit::GetAmp(), and BmnTrigDigit::GetTime().

Referenced by Tof400DigitAnalysis_period6().

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

◆ CalculateDtT0BD() [2/2]

Double_t CalculateDtT0BD ( Double_t timeBD,
Double_t ampBD,
BmnTrigDigit * t0 )

Definition at line 320 of file Tof400DigitAnalysis_period6.C.

References BmnTrigDigit::GetAmp(), and BmnTrigDigit::GetTime().

Here is the call graph for this function:

◆ CrossingDet()

void CrossingDet ( BmnTOF1Detector * Det1,
BmnTOF1Detector * Det2,
TH2 * hD1D2,
TH1 * hDx,
TH1 * hDy,
TH1 * hDr,
TH1 * hDt )

Definition at line 345 of file Tof400DigitAnalysis_period6.C.

References TH1::Fill(), TH2::Fill(), BmnTOF1Detector::GetWidth(), BmnTOF1Detector::GetXYZTime(), TVector3::SetXYZ(), TMath::Sqrt(), TVector3::x(), and TVector3::y().

Referenced by Tof400DigitAnalysis_period6().

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

◆ Tof400DigitAnalysis_period6()

Variable Documentation

◆ AmpBD

Double_t AmpBD

Definition at line 28 of file Tof400DigitAnalysis_period6.C.

◆ CorrLR

Double_t CorrLR[10][48] = {0.}

Definition at line 30 of file Tof400DigitAnalysis_period6.C.

◆ FlagHit

Bool_t FlagHit = kFALSE

Definition at line 32 of file Tof400DigitAnalysis_period6.C.

◆ NHitBD

Double_t NHitBD

Definition at line 28 of file Tof400DigitAnalysis_period6.C.

◆ TimeBD

Double_t TimeBD

Definition at line 28 of file Tof400DigitAnalysis_period6.C.

◆ XforHit

Int_t XforHit = 0

Definition at line 33 of file Tof400DigitAnalysis_period6.C.

◆ YforHit

Int_t YforHit = 0

Definition at line 33 of file Tof400DigitAnalysis_period6.C.