TPISTASpectra.h 2.54 KiB
#ifndef TPISTASPECTRA_H
#define TPISTASPECTRA_H
/*****************************************************************************
* Copyright (C) 2009-2020 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: Pierre Morfouace contact address: pierre.morfouace2@cea.fr *
* *
* Creation Date : May 2020 *
* Last update : *
*---------------------------------------------------------------------------*
* Decription: *
* This class hold PISTA Spectra *
* *
*---------------------------------------------------------------------------*
* Comment: *
* *
* *
*****************************************************************************/
// NPLib headers
#include "NPVSpectra.h"
#include "TPISTAData.h"
#include "TPISTAPhysics.h"
// Forward Declaration
class TPISTAPhysics;
class TPISTASpectra : public VSpectra {
//////////////////////////////////////////////////////////////
// constructor and destructor
public:
TPISTASpectra();
TPISTASpectra(unsigned int NumberOfDetectors);
~TPISTASpectra();
//////////////////////////////////////////////////////////////
// Initialization methods
private:
void InitRawSpectra();
void InitPreTreatedSpectra();
void InitPhysicsSpectra();
//////////////////////////////////////////////////////////////
// Filling methods
public:
void FillRawSpectra(TPISTAData*);
void FillPreTreatedSpectra(TPISTAData*);
void FillPhysicsSpectra(TPISTAPhysics*);
//////////////////////////////////////////////////////////////
// Detector parameters
private:
unsigned int fNumberOfDetectors;
};
#endif