Skip to content
Snippets Groups Projects
Commit f3e6b0dc authored by Theodore Efremov's avatar Theodore Efremov :hibiscus:
Browse files

Added TDC MWPC Time into the analysis

parent dcbbf7b5
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Checking pipeline status
/***************************************************************************** /****************************************************************************
* Copyright (C) 2009-2016 this file is part of the NPTool Project * * Copyright (C) 2009-2016 this file is part of the NPTool Project *
* * * *
* For the licensing terms see $NPTOOL/Licence/NPTool_Licence * * For the licensing terms see $NPTOOL/Licence/NPTool_Licence *
...@@ -516,6 +516,8 @@ void Analysis::VamosAnalysis(){ ...@@ -516,6 +516,8 @@ void Analysis::VamosAnalysis(){
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void Analysis::InitOutputBranch(){ void Analysis::InitOutputBranch(){
RootOutput::getInstance()->GetTree()->Branch("Time",&Time);
RootOutput::getInstance()->GetTree()->Branch("BeamEnergy",&BeamEnergy,"BeamEnergy/D"); RootOutput::getInstance()->GetTree()->Branch("BeamEnergy",&BeamEnergy,"BeamEnergy/D");
RootOutput::getInstance()->GetTree()->Branch("XTarget",&XTarget,"XTarget/D"); RootOutput::getInstance()->GetTree()->Branch("XTarget",&XTarget,"XTarget/D");
...@@ -606,11 +608,15 @@ void Analysis::InitOutputBranch(){ ...@@ -606,11 +608,15 @@ void Analysis::InitOutputBranch(){
RootOutput::getInstance()->GetTree()->Branch("VAMOS_TS_hour",&VAMOS_TS_hour,"VAMOS_TS_hour/D"); RootOutput::getInstance()->GetTree()->Branch("VAMOS_TS_hour",&VAMOS_TS_hour,"VAMOS_TS_hour/D");
RootOutput::getInstance()->GetTree()->Branch("PISTA_TS_hour",&PISTA_TS_hour,"PISTA_TS_hour/D"); RootOutput::getInstance()->GetTree()->Branch("PISTA_TS_hour",&PISTA_TS_hour,"PISTA_TS_hour/D");
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void Analysis::InitInputBranch(){ void Analysis::InitInputBranch(){
RootInput::getInstance()->GetChain()->SetBranchStatus("Time",true);
RootInput::getInstance()->GetChain()->SetBranchAddress("Time",&Time);
RootInput::getInstance()->GetChain()->SetBranchStatus("T_TMW0_FPMW0",true); RootInput::getInstance()->GetChain()->SetBranchStatus("T_TMW0_FPMW0",true);
RootInput::getInstance()->GetChain()->SetBranchAddress("T_TMW0_FPMW0",&T13); RootInput::getInstance()->GetChain()->SetBranchAddress("T_TMW0_FPMW0",&T13);
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "TRandom3.h" #include "TRandom3.h"
#include "TSpline.h" #include "TSpline.h"
#include "TChain.h" #include "TChain.h"
#include "TTimeData.h"
class Analysis: public NPL::VAnalysis{ class Analysis: public NPL::VAnalysis{
public: public:
...@@ -223,6 +224,7 @@ class Analysis: public NPL::VAnalysis{ ...@@ -223,6 +224,7 @@ class Analysis: public NPL::VAnalysis{
Float_t MTOF_FP1_T1V[92]; Float_t MTOF_FP1_T1V[92];
private: private:
TTimeData* Time ;
TPISTAPhysics* PISTA; TPISTAPhysics* PISTA;
TFPMWPhysics* FPMW; TFPMWPhysics* FPMW;
TICPhysics* IC; TICPhysics* IC;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment