Skip to content
Snippets Groups Projects
Commit b1ae5118 authored by Anna Maria CORSI SPhN's avatar Anna Maria CORSI SPhN
Browse files

Fixed gug for LaBr3

parent ce81f900
No related branches found
No related tags found
No related merge requests found
...@@ -60,8 +60,7 @@ TLaBr3Physics::~TLaBr3Physics() ...@@ -60,8 +60,7 @@ TLaBr3Physics::~TLaBr3Physics()
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
void TLaBr3Physics::Clear() void TLaBr3Physics::Clear()
{ {
DetectorTNumber.clear() ; DetectorNumber.clear() ;
DetectorENumber.clear() ;
Energy.clear() ; Energy.clear() ;
Time.clear() ; Time.clear() ;
} }
...@@ -286,13 +285,9 @@ void TLaBr3Physics::BuildSimplePhysicalEvent() ...@@ -286,13 +285,9 @@ void TLaBr3Physics::BuildSimplePhysicalEvent()
{ {
for(unsigned int i = 0 ; i < EventData->GetEnergyMult() ; i++) for(unsigned int i = 0 ; i < EventData->GetEnergyMult() ; i++)
{ {
DetectorENumber.push_back( EventData->GetENumber(i) ) ; DetectorNumber.push_back( EventData->GetENumber(i) ) ;
Energy.push_back( CalibrationManager::getInstance()->ApplyCalibration("LaBr3/Detector" + itoa( EventData->GetENumber(i) ) +"_E",EventData->GetEEnergy(i) ) ); Energy.push_back( CalibrationManager::getInstance()->ApplyCalibration("LaBr3/Detector" + itoa( EventData->GetENumber(i) ) +"_E",EventData->GetEEnergy(i) ) );
} Time.push_back( CalibrationManager::getInstance()->ApplyCalibration( "LaBr3/Detector" + itoa( EventData->GetENumber(i) ) +"_T",EventData->GetTTime(i) ) );
for(unsigned int i = 0 ; i < EventData->GetEnergyMult() ; i++)
{
DetectorTNumber.push_back( EventData->GetTNumber(i) ) ;
Time.push_back( CalibrationManager::getInstance()->ApplyCalibration( "LaBr3/Detector" + itoa( EventData->GetTNumber(i) ) +"_T",EventData->GetTTime(i) ) );
} }
} }
......
...@@ -45,8 +45,7 @@ class TLaBr3Physics : public TObject, public NPA::VDetector ...@@ -45,8 +45,7 @@ class TLaBr3Physics : public TObject, public NPA::VDetector
void Clear(const Option_t*) {}; void Clear(const Option_t*) {};
public: // Calibrated Data public: // Calibrated Data
vector<UShort_t> DetectorENumber ; vector<UShort_t> DetectorNumber ;
vector<UShort_t> DetectorTNumber ;
vector<Double_t> Energy; vector<Double_t> Energy;
vector<Double_t> Time; vector<Double_t> Time;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment