Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

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

* Adding High TOT threshold for FDC2

parent d03139bf
Pipeline #91166 passed with stages
in 16 minutes and 57 seconds
...@@ -45,9 +45,10 @@ ClassImp(TSamuraiFDC2Physics) ...@@ -45,9 +45,10 @@ ClassImp(TSamuraiFDC2Physics)
m_PreTreatedData = new TSamuraiFDC2Data ; m_PreTreatedData = new TSamuraiFDC2Data ;
m_EventPhysics = this ; m_EventPhysics = this ;
//m_Spectra = NULL; //m_Spectra = NULL;
ToTThreshold = 180; ToTThreshold_L = 180;
DriftLowThreshold=0.2; ToTThreshold_H = 1000;
DriftUpThreshold=9.4; DriftLowThreshold=0.4 ;
DriftUpThreshold=9.3;
PowerThreshold=14; PowerThreshold=14;
} }
...@@ -233,7 +234,7 @@ void TSamuraiFDC2Physics::PreTreat(){ ...@@ -233,7 +234,7 @@ void TSamuraiFDC2Physics::PreTreat(){
etime=0; etime=0;
} }
// a valid wire must have an edge // a valid wire must have an edge
if(etime && time && etime-time>ToTThreshold){ if(etime && time && etime-time>ToTThreshold_L && etime-time<ToTThreshold_H){
Detector.push_back(det); Detector.push_back(det);
Layer.push_back(layer); Layer.push_back(layer);
Wire.push_back(wire); Wire.push_back(wire);
......
...@@ -116,7 +116,8 @@ class TSamuraiFDC2Physics : public TObject, public NPL::VDetector{ ...@@ -116,7 +116,8 @@ class TSamuraiFDC2Physics : public TObject, public NPL::VDetector{
map<SamuraiDCIndex,double> Wire_Angle;//! Wire Angle (0 for X, 90 for Y, U and V are typically at +/-30) map<SamuraiDCIndex,double> Wire_Angle;//! Wire Angle (0 for X, 90 for Y, U and V are typically at +/-30)
private: // Analysis private: // Analysis
double ToTThreshold;//! a ToT threshold to remove noise double ToTThreshold_H;//! a ToT Low threshold to remove noise
double ToTThreshold_L;//! a ToT High threshold to remove noise
// since the calibration is a sigmoid there quite a few event at the edge // since the calibration is a sigmoid there quite a few event at the edge
double DriftLowThreshold;//! Minimum Drift length to keep the hit double DriftLowThreshold;//! Minimum Drift length to keep the hit
double DriftUpThreshold;//! Maximum Drift length to keep the hit double DriftUpThreshold;//! Maximum Drift length to keep the hit
......
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