Commit 730b814f authored by Adrien Matta's avatar Adrien Matta
Browse files

* Adding s034 analysis class

parent 6fca7423
Pipeline #120224 passed with stages
in 3 minutes and 25 seconds
......@@ -23,7 +23,7 @@ if(libMinuit_FOUND)
## Link to Minuit library
add_library(NPMinos SHARED TMinosClust.cxx TMinosData.cxx TMinosPhysics.cxx TMinosResult oldTMinosPhysicsDict.cxx oldTMinosDataDict.cxx TMinosDataDict.cxx TMinosPhysicsDict.cxx TMinosClustDict.cxx TMinosResultDict.cxx MinosUtility.cxx)
target_link_libraries(NPMinos ${ROOT_LIBRARIES} Minuit NPCore NPTrackReconstruction )
install(FILES TMinosClust.h TMinosData.h TMinosPhysics.h TMinosResult.h DESTINATION ${CMAKE_INCLUDE_OUTPUT_DIRECTORY})
install(FILES TMinosClust.h TMinosData.h TMinosPhysics.h TMinosResult.h MinosUtility.h DESTINATION ${CMAKE_INCLUDE_OUTPUT_DIRECTORY})
else()
## No Minuit library, skip linking
add_library(NPMinos SHARED TMinosData.cxx TMinosDataDict.cxx)
......
This diff is collapsed.
#ifndef Analysis_h
#define Analysis_h
/*****************************************************************************
* Copyright (C) 2009-2021 this file is part of the NPTool Project *
* *
* For the licensing terms see $NPTOOL/Licence/NPTool_Licence *
* For the list of contributors see $NPTOOL/Licence/Contributors *
*****************************************************************************/
/*****************************************************************************
* Original Author: A. Matta contact address: matta@lpccaen.in2p3.fr *
* *
* Creation Date : May 2021 *
* Last update : *
*---------------------------------------------------------------------------*
* Decription: *
* This class describe S034 analysis project *
* *
*---------------------------------------------------------------------------*
* Comment: *
* *
*****************************************************************************/
#include"NPVAnalysis.h"
#include"TMinosPhysics.h"
#include"TNebulaPhysics.h"
#include"TSamuraiBDCPhysics.h"
#include"TSamuraiFDC0Physics.h"
#include"TSamuraiFDC2Physics.h"
#include"TSamuraiHodoscopePhysics.h"
class Analysis: public NPL::VAnalysis{
public:
Analysis();
~Analysis();
public:
void Init();
void TreatEvent();
void End();
static NPL::VAnalysis* Construct();
private:
TMinosPhysics* Minos;
TNebulaPhysics* Nebula;
TSamuraiBDCPhysics* BDC;
TSamuraiFDC0Physics* FDC0;
TSamuraiFDC2Physics* FDC2;
TSamuraiHodoscopePhysics* Hodo;
private: // output variable
double Broh;
double Beta_f;
int Trigger;
public:
void Clear();
void InitOutputBranch();
void InitInputBranch();
};
// use for broh calculation
double r_fit(double *x) ;
#endif
cmake_minimum_required (VERSION 2.8)
# Setting the policy to match Cmake version
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
# include the default NPAnalysis cmake file
include("../../NPLib/ressources/CMake/NPAnalysis.cmake")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment