#include <iostream>#include <string>#include <typeinfo>#include <vector>#include "Riostream.h"#include "TRint.h"#include "TROOT.h"#include "TStyle.h"#include "TH2.h"#include "TH1.h"#include "TF1.h"#include "TGraph.h"#include "TMultiGraph.h"#include "TCanvas.h"#include "TProfile.h"#include "TStopwatch.h"#include "TFile.h"#include "TTree.h"#include "TBranch.h"#include "TMath.h"#include "TLegend.h"#include "TColor.h"#include "TText.h"#include "TKey.h"#include "TLatex.h"#include "TPrincipal.h"#include "TMatrix.h"#include "TRocEvent.h"#include "roc/Message.h"#include "TSpadicEvent.h"#include "TMbsCrateEvent.h"#include "TBeamMonitorEvent.h"#include "TCernOct11UnpackEvent.h"
Go to the source code of this file.
Data Structures | |
| class | MFSpadicEvent |
Defines | |
| #define | NUM_SPADIC_CHA 8 |
| #define | SPADIC_TRACE_SIZE 45 |
| #define | SPADIC_ADC_MAX 255 |
| #define | noBaselineTB 5 |
Functions | |
| void | Statusbar (Int_t i, Int_t n) |
| void | Clusterizer (Double_t pulse[NUM_SPADIC_CHA][SPADIC_TRACE_SIZE], Int_t nSpadicSignalCh, Bool_t SignalChannel[NUM_SPADIC_CHA], Int_t maxch, Int_t maxT[NUM_SPADIC_CHA], Double_t maxA[NUM_SPADIC_CHA]) |
| void | NoiseReduction (TH1D *inPulse[NUM_SPADIC_CHA], TH1D *outPulse[NUM_SPADIC_CHA], Bool_t SignalChannel[NUM_SPADIC_CHA]) |
| void | BaselineCompensation (TH1D *inPulse[NUM_SPADIC_CHA], TH1D *outPulse[NUM_SPADIC_CHA]) |
| void | BaselineCorrection (Double_t pulse[NUM_SPADIC_CHA][SPADIC_TRACE_SIZE]) |
| void | GetPidCuts (TString runId) |
| void | getPID (Float_t ch1, Float_t ch2, Float_t pb) |
| Bool_t | Distance2TrackFFM (Double_t x[8], Double_t distance[8]) |
| Bool_t | Distance2TrackMS (Double_t x[8], Double_t distance[8]) |
| void | readtree_spadic (TString nameFileSet, Bool_t debug=0) |
Variables | |
| Int_t | Pi_Ch1_Min |
| Int_t | Pi_Ch1_Max |
| Int_t | Pi_Ch2_Min |
| Int_t | Pi_Ch2_Max |
| Int_t | Pi_Pb_Min |
| Int_t | Pi_Pb_Max |
| Int_t | El_Ch1_Min |
| Int_t | El_Ch1_Max |
| Int_t | El_Ch2_Min |
| Int_t | El_Ch2_Max |
| Int_t | El_Pb_Min |
| Int_t | El_Pb_Max |
| Bool_t | isElectron |
| Bool_t | isPion |
| Bool_t | isMyon |
| TPrincipal * | principal = new TPrincipal(NUM_SPADIC_CHA,"ND") |
| Int_t | pidcuts [18] = {0} |
| #define noBaselineTB 5 |
Definition at line 70 of file readtree_spadic.cxx.
| #define NUM_SPADIC_CHA 8 |
Definition at line 67 of file readtree_spadic.cxx.
Referenced by readtree_spadic().
| #define SPADIC_ADC_MAX 255 |
Definition at line 69 of file readtree_spadic.cxx.
Referenced by readtree_spadic().
| #define SPADIC_TRACE_SIZE 45 |
Definition at line 68 of file readtree_spadic.cxx.
Referenced by readtree_spadic().
| void BaselineCompensation | ( | TH1D * | inPulse[NUM_SPADIC_CHA], | |
| TH1D * | outPulse[NUM_SPADIC_CHA] | |||
| ) |
Definition at line 269 of file readtree_spadic.cxx.
Referenced by FillUnCalibratedPionSpectrum(), readtree_spadic(), spadic_noise_Analysis(), and spadic_pr_Analysis().
| void BaselineCorrection | ( | Double_t | pulse[NUM_SPADIC_CHA][SPADIC_TRACE_SIZE] | ) |
Definition at line 287 of file readtree_spadic.cxx.
| void Clusterizer | ( | Double_t | pulse[NUM_SPADIC_CHA][SPADIC_TRACE_SIZE], | |
| Int_t | nSpadicSignalCh, | |||
| Bool_t | SignalChannel[NUM_SPADIC_CHA], | |||
| Int_t | maxch, | |||
| Int_t | maxT[NUM_SPADIC_CHA], | |||
| Double_t | maxA[NUM_SPADIC_CHA] | |||
| ) |
Definition at line 137 of file readtree_spadic.cxx.
| Bool_t Distance2TrackFFM | ( | Double_t | x[8], | |
| Double_t | distance[8] | |||
| ) |
Definition at line 683 of file readtree_spadic.cxx.
| Bool_t Distance2TrackMS | ( | Double_t | x[8], | |
| Double_t | distance[8] | |||
| ) |
Definition at line 722 of file readtree_spadic.cxx.
| void getPID | ( | Float_t | ch1, | |
| Float_t | ch2, | |||
| Float_t | pb | |||
| ) |
Definition at line 606 of file readtree_spadic.cxx.
References isElectron, isMyon, isPion, and pidcuts.
Referenced by FillUnCalibratedPionSpectrum(), readtree_spadic(), spadic_noise_Analysis(), spadic_PIDpurity_Analysis(), and spadic_pr_Analysis().
| void GetPidCuts | ( | TString | runId | ) |
Definition at line 347 of file readtree_spadic.cxx.
References pidcuts.
Referenced by FillUnCalibratedPionSpectrum(), readtree_spadic(), spadic_noise_Analysis(), spadic_PIDpurity_Analysis(), and spadic_pr_Analysis().
| void NoiseReduction | ( | TH1D * | inPulse[NUM_SPADIC_CHA], | |
| TH1D * | outPulse[NUM_SPADIC_CHA], | |||
| Bool_t | SignalChannel[NUM_SPADIC_CHA] | |||
| ) |
Definition at line 169 of file readtree_spadic.cxx.
References cova, and principal.
Referenced by readtree_spadic().
| void readtree_spadic | ( | TString | nameFileSet, | |
| Bool_t | debug = 0 | |||
| ) |
Definition at line 763 of file readtree_spadic.cxx.
References BaselineCompensation(), BaselineCorrection(), debug, Distance2TrackFFM(), Distance2TrackMS(), TMbsCrateEvent::fData1182, TSpadicData::fSpadicCompensated, TSpadicData::fSpadicHighestChannel, TSpadicData::fSpadicOverFlowEvent, TSpadicData::fSpadicOverflows, TSpadicData::fSpadicPulse, TSpadicData::fSpadicSignalCh, TSpadicData::fSpadicUndershootsEvent, getPID(), GetPidCuts(), TCBMBeamtimeEvent::GetSubEvent(), HitTimeWindow(), isElectron, isMyon, isPion, NoiseReduction(), NUM_SPADIC_CHA, SPADIC_ADC_MAX, SPADIC_TRACE_SIZE, and Statusbar().
| void Statusbar | ( | Int_t | i, | |
| Int_t | n | |||
| ) |
Definition at line 125 of file readtree_spadic.cxx.
| Int_t El_Ch1_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t El_Ch1_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t El_Ch2_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t El_Ch2_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t El_Pb_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t El_Pb_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Bool_t isElectron |
Definition at line 72 of file readtree_spadic.cxx.
Referenced by FillUnCalibratedPionSpectrum(), getPID(), TRICHProc::ProcessRICH(), readtree_spadic(), spadic_noise_Analysis(), and spadic_pr_Analysis().
| Bool_t isMyon |
Definition at line 72 of file readtree_spadic.cxx.
Referenced by getPID(), readtree_spadic(), spadic_PIDpurity_Analysis(), and spadic_pr_Analysis().
| Bool_t isPion |
Definition at line 72 of file readtree_spadic.cxx.
Referenced by FillUnCalibratedPionSpectrum(), getPID(), TRICHProc::ProcessRICH(), readtree_spadic(), spadic_noise_Analysis(), and spadic_pr_Analysis().
| Int_t Pi_Ch1_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t Pi_Ch1_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t Pi_Ch2_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t Pi_Ch2_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t Pi_Pb_Max |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t Pi_Pb_Min |
Definition at line 71 of file readtree_spadic.cxx.
| Int_t pidcuts[18] = {0} |
Definition at line 74 of file readtree_spadic.cxx.
Referenced by conditionTest(), getPID(), GetPidCuts(), spadic_PIDpurity_Analysis(), and spadic_pr_Analysis().
| TPrincipal* principal = new TPrincipal(NUM_SPADIC_CHA,"ND") |
Definition at line 73 of file readtree_spadic.cxx.
Referenced by TTRDMuensterFrankfurtProc::CancelNoise_Cova(), CancelNoise_Cova(), and NoiseReduction().
1.7.1