|
BmnRoot
|
#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"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] |
| Double_t CalculateDt | ( | ToF400Detector * | Det, |
| T0Detector * | T0, | ||
| Int_t | Str = -1 |
||
| ) |
Definition at line 623 of file ToF400DigitAnalysis_period5.c.
References kNST, ToF400Detector::sTime, and T0Detector::sTime.
Referenced by ToF400DigitAnalysis_period5().
| void CleanBC2 | ( | T0Detector * | Det | ) |
Definition at line 617 of file ToF400DigitAnalysis_period5.c.
References T0Detector::sAmp, T0Detector::sNHits, and T0Detector::sTime.
Referenced by ToF400DigitAnalysis_period5().
| void CleanTof | ( | ToF400Detector * | Det | ) |
Definition at line 603 of file ToF400DigitAnalysis_period5.c.
References kNST, ToF400Detector::sAmp, ToF400Detector::sAmpL, ToF400Detector::sAmpR, ToF400Detector::sNHits, ToF400Detector::sStrHit, ToF400Detector::sTime, ToF400Detector::sTimeL, and ToF400Detector::sTimeR.
Referenced by ToF400DigitAnalysis_period5().
| void ToF400DigitAnalysis_period5 | ( | TString | file = "", |
| Int_t | nEvForRead = 0, |
||
| Int_t | Periud = 5 |
||
| ) |
Definition at line 63 of file ToF400DigitAnalysis_period5.c.
References CalculateDt(), CleanBC2(), CleanTof(), EffPlane2, EffPlane7, BmnTrigDigit::GetAmp(), BmnTof1Digit::GetAmplitude(), BmnEventHeader::GetEventId(), BmnTof1Digit::GetPlane(), BmnTof1Digit::GetSide(), BmnTof1Digit::GetStrip(), BmnTrigDigit::GetTime(), BmnTof1Digit::GetTime(), HitPlane2T0, HitPlane7T0, i, kNST, ToF400Detector::sAmp, T0Detector::sAmp, ToF400Detector::sAmpL, ToF400Detector::sAmpR, ToF400Detector::sNHits, T0Detector::sNHits, ToF400Detector::sStrHit, ToF400Detector::sTime, T0Detector::sTime, ToF400Detector::sTimeL, and ToF400Detector::sTimeR.
| Double_t CatTimeBC2High |
Definition at line 27 of file ToF400DigitAnalysis_period5.c.
| Double_t CatTimeBC2Low |
Definition at line 27 of file ToF400DigitAnalysis_period5.c.
| Int_t CorrPlane7_It1 |
Definition at line 28 of file ToF400DigitAnalysis_period5.c.
| Double_t CorrPlane7Coeff_It1[5][4] |
Definition at line 29 of file ToF400DigitAnalysis_period5.c.
| Int_t CorrT0_It1 |
Definition at line 28 of file ToF400DigitAnalysis_period5.c.
| Double_t CorrT0Coeff_It1[4][4] |
Definition at line 36 of file ToF400DigitAnalysis_period5.c.
| Int_t EffPlane2 = 0 |
Definition at line 42 of file ToF400DigitAnalysis_period5.c.
Referenced by ToF400DigitAnalysis_period5().
| Int_t EffPlane7 = 0 |
Definition at line 42 of file ToF400DigitAnalysis_period5.c.
Referenced by ToF400DigitAnalysis_period5().
| Bool_t FlagDigit[10][kNST] |
Definition at line 43 of file ToF400DigitAnalysis_period5.c.
| Int_t HitPlane2T0 = 0 |
Definition at line 42 of file ToF400DigitAnalysis_period5.c.
Referenced by ToF400DigitAnalysis_period5().
| Int_t HitPlane7T0 = 0 |
Definition at line 42 of file ToF400DigitAnalysis_period5.c.
Referenced by ToF400DigitAnalysis_period5().
| const UInt_t kNST = 48 |
Definition at line 25 of file ToF400DigitAnalysis_period5.c.
Referenced by CalculateDt(), CleanTof(), and ToF400DigitAnalysis_period5().
| const Double_t kTimeBin = 24. / 1024. |
Definition at line 26 of file ToF400DigitAnalysis_period5.c.