-
in order to make the analysis faster when using non-nptool detectors with large array/vectors. This new method works similarly to npanalysis but using npreader instead of npanalysis. This method is currently supported for MUST2, CATS and MUSETT and it still under testing/developpment.
in order to make the analysis faster when using non-nptool detectors with large array/vectors. This new method works similarly to npanalysis but using npreader instead of npanalysis. This method is currently supported for MUST2, CATS and MUSETT and it still under testing/developpment.
TCATSPhysicsReader.cxx 1.77 KiB
/*****************************************************************************
* Copyright (C) 2009-2016 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: Adrien MATTA contact address: a.matta@surrey.ac.uk *
* *
* Creation Date : febuary 2009 *
* Last update : July 2021
*---------------------------------------------------------------------------*
* Decription: *
* This class hold must2 TreeReader *
* *
*---------------------------------------------------------------------------*
* Comment: *
* *
*****************************************************************************/
#include "TCATSPhysicsReader.h"
#include "NPDetectorFactory.h"
///////////////////////////////////////////////////////////////////////////
ClassImp(TCATSPhysicsReader)
TCATSPhysicsReader::TCATSPhysicsReader()
{
};
void TCATSPhysicsReader::r_SetTreeReader(TTreeReader* TreeReader){
r_ReaderEventData = new TTreeReaderValue<TCATSData>(*TreeReader,"CATS");
};