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()
///////////////////////////////////////////////////////////////////////////
void TLaBr3Physics::Clear()
{
DetectorTNumber.clear() ;
DetectorENumber.clear() ;
DetectorNumber.clear() ;
Energy.clear() ;
Time.clear() ;
}
......@@ -286,13 +285,9 @@ void TLaBr3Physics::BuildSimplePhysicalEvent()
{
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) ) );
}
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) ) );
Time.push_back( CalibrationManager::getInstance()->ApplyCalibration( "LaBr3/Detector" + itoa( EventData->GetENumber(i) ) +"_T",EventData->GetTTime(i) ) );
}
}
......
......@@ -45,8 +45,7 @@ class TLaBr3Physics : public TObject, public NPA::VDetector
void Clear(const Option_t*) {};
public: // Calibrated Data
vector<UShort_t> DetectorENumber ;
vector<UShort_t> DetectorTNumber ;
vector<UShort_t> DetectorNumber ;
vector<Double_t> Energy;
vector<Double_t> Time;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment