BmnRoot
Loading...
Searching...
No Matches
ToF400DigitAnalysis_period5.c File Reference
#include <stdio.h>
#include <fstream>
#include <iostream>
#include <TMath.h>
#include "TChain.h"
#include "TH1.h"
#include "TH1F.h"
#include "TH1S.h"
#include "TH2S.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "TFile.h"
#include "TList.h"
#include "TDirectory.h"
#include "TPad.h"
Include dependency graph for ToF400DigitAnalysis_period5.c:

Go to the source code of this file.

Classes

struct  ToF400Detector
 
struct  T0Detector
 

Functions

void ToF400DigitAnalysis_period5 (TString file="", Int_t nEvForRead=0, Int_t Periud=5)
 
void CleanTof (ToF400Detector *Det)
 
void CleanBC2 (T0Detector *Det)
 
Double_t CalculateDt (ToF400Detector *Det, T0Detector *T0, Int_t Str=-1)
 

Variables

const UInt_t kNST = 48
 
const Double_t kTimeBin = 24. / 1024.
 
Double_t CatTimeBC2Low
 
Double_t CatTimeBC2High
 
Int_t CorrPlane7_It1
 
Int_t CorrT0_It1
 
Double_t CorrPlane7Coeff_It1 [5][4]
 
Double_t CorrT0Coeff_It1 [4][4]
 
Int_t HitPlane2T0 = 0
 
Int_t HitPlane7T0 = 0
 
Int_t EffPlane2 = 0
 
Int_t EffPlane7 = 0
 
Bool_t FlagDigit [10][kNST]
 

Function Documentation

◆ CalculateDt()

Double_t CalculateDt ( ToF400Detector Det,
T0Detector T0,
Int_t  Str = -1 
)

◆ CleanBC2()

void CleanBC2 ( T0Detector Det)

◆ CleanTof()

◆ ToF400DigitAnalysis_period5()

Variable Documentation

◆ CatTimeBC2High

Double_t CatTimeBC2High

Definition at line 27 of file ToF400DigitAnalysis_period5.c.

◆ CatTimeBC2Low

Double_t CatTimeBC2Low

Definition at line 27 of file ToF400DigitAnalysis_period5.c.

◆ CorrPlane7_It1

Int_t CorrPlane7_It1

Definition at line 28 of file ToF400DigitAnalysis_period5.c.

◆ CorrPlane7Coeff_It1

Double_t CorrPlane7Coeff_It1[5][4]
Initial value:
= {
{12.24, -3.919, 0.2624, -0.005153},
{-122.9, 14.84, -0.6158, 0.008724},
{-12.34, 0.482, 0., 0.},
{-12.28, 0.479, 0., 0.},
{-13.14, 0.5034, 0., 0.}
}

Definition at line 29 of file ToF400DigitAnalysis_period5.c.

◆ CorrT0_It1

Int_t CorrT0_It1

Definition at line 28 of file ToF400DigitAnalysis_period5.c.

◆ CorrT0Coeff_It1

Double_t CorrT0Coeff_It1[4][4]
Initial value:
= {
{-5.486, 1.087, -0.07936, 0.00208},
{10.77, -2.635, 0.1984, -0.004631},
{-2.163, 0.1362, 0., 0.},
{200, 0, 0, 0}
}

Definition at line 36 of file ToF400DigitAnalysis_period5.c.

◆ EffPlane2

Int_t EffPlane2 = 0

Definition at line 42 of file ToF400DigitAnalysis_period5.c.

Referenced by ToF400DigitAnalysis_period5().

◆ EffPlane7

Int_t EffPlane7 = 0

Definition at line 42 of file ToF400DigitAnalysis_period5.c.

Referenced by ToF400DigitAnalysis_period5().

◆ FlagDigit

Bool_t FlagDigit[10][kNST]

Definition at line 43 of file ToF400DigitAnalysis_period5.c.

◆ HitPlane2T0

Int_t HitPlane2T0 = 0

Definition at line 42 of file ToF400DigitAnalysis_period5.c.

Referenced by ToF400DigitAnalysis_period5().

◆ HitPlane7T0

Int_t HitPlane7T0 = 0

Definition at line 42 of file ToF400DigitAnalysis_period5.c.

Referenced by ToF400DigitAnalysis_period5().

◆ kNST

const UInt_t kNST = 48

◆ kTimeBin

const Double_t kTimeBin = 24. / 1024.

Definition at line 26 of file ToF400DigitAnalysis_period5.c.