diff --git a/NPLib/Detectors/Sofia/TSofiaData.cxx b/NPLib/Detectors/Sofia/TSofiaData.cxx new file mode 100644 index 0000000000000000000000000000000000000000..b49f65f4a716d95bea17e53030ca19ecc1a025f7 --- /dev/null +++ b/NPLib/Detectors/Sofia/TSofiaData.cxx @@ -0,0 +1,65 @@ +/***************************************************************************** + * 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 : November 2020 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class hold Sofia Raw data * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ +#include "TSofiaData.h" + +#include <iostream> +#include <fstream> +#include <sstream> +#include <string> +using namespace std; + +ClassImp(TSofiaData) + + +////////////////////////////////////////////////////////////////////// +TSofiaData::TSofiaData() { +} + + + +////////////////////////////////////////////////////////////////////// +TSofiaData::~TSofiaData() { +} + + + +////////////////////////////////////////////////////////////////////// +void TSofiaData::Clear() { + // Energy + fTOF_DetectorNbr.clear(); + fTOF_PlasticNbr.clear(); + fTOF_Energy.clear(); + fTOF_Time.clear(); +} + + + +////////////////////////////////////////////////////////////////////// +void TSofiaData::Dump() const { + // This method is very useful for debuging and worth the dev. + cout << "XXXXXXXXXXXXXXXXXXXXXXXX New Event [TSofiaData::Dump()] XXXXXXXXXXXXXXXXX" << endl; + + // Energy + size_t mysize = fTOF_DetectorNbr.size(); + cout << "TOF_Mult: " << mysize << endl; + +}