Commit c0e0c3de authored by Adrien Matta's avatar Adrien Matta
Browse files

* Cleaning up old code from FDC0

parent 5fc100f7
Pipeline #122631 passed with stages
in 6 minutes and 59 seconds
......@@ -43,7 +43,6 @@ ClassImp(TSamuraiFDC0Physics)
///////////////////////////////////////////////////////////////////////////
TSamuraiFDC0Physics::TSamuraiFDC0Physics(){
m_EventData = new TSamuraiFDC0Data ;
m_PreTreatedData = new TSamuraiFDC0Data ;
m_EventPhysics = this ;
//m_Spectra = NULL;
// ToTThreshold_L = 0;
......@@ -229,7 +228,6 @@ void TSamuraiFDC0Physics::BuildPhysicalEvent(){
}
///////////////////////////////////////////////////////////////////////////
void TSamuraiFDC0Physics::PreTreat(){
ClearPreTreatedData();
static CalibrationManager* Cal = CalibrationManager::getInstance();
static string channel;
// one map per detector
......
......@@ -159,16 +159,12 @@ class TSamuraiFDC0Physics : public TObject, public NPL::VDetector{
public: // Specific to SamuraiFDC0 Array
// Clear The PreTeated object
void ClearPreTreatedData() {m_PreTreatedData->Clear();}
// Remove bad channel, calibrate the data and apply threshold
void PreTreat();
// Retrieve raw and pre-treated data
TSamuraiFDC0Data* GetRawData() const {return m_EventData;}
TSamuraiFDC0Data* GetPreTreatedData() const {return m_PreTreatedData;}
TVector3 GetPos(){return TVector3(PosX,PosY,m_offset.Z());}
double GetPosX(){return PosX;}
double GetPosY(){return PosY;}
......@@ -180,7 +176,6 @@ class TSamuraiFDC0Physics : public TObject, public NPL::VDetector{
private: // Root Input and Output tree classes
TSamuraiFDC0Data* m_EventData;//!
TSamuraiFDC0Data* m_PreTreatedData;//!
TSamuraiFDC0Physics* m_EventPhysics;//!
......
......@@ -53,7 +53,7 @@ fi
# Version 5 : generate the dictionnary then the libmap
if [ $version_major -eq 5 ]
then
rootcint -f $2 -c -I../Core -I../Physics -I../../Core -I../../Physics -I../TrackReconstruction -I../../TrackReconstruction $1 $5
rootcint -DNPMULTITHREADING=@NPMULTITHREADING@ -f $2 -c -I../Core -I../Physics -I../../Core -I../../Physics -I../TrackReconstruction -I../../TrackReconstruction $1 $5
fi
# Version 6 or more : generate both at once
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment