Package cnuphys.snr.clas12
Class Clas12NoiseAnalysis
java.lang.Object
cnuphys.snr.clas12.Clas12NoiseAnalysis
One stop shopping for clas12 noise analysis. Should finally be thread safe.
- Author:
- heddle
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreate an analysis object for CLAS12 DCs.Create an analysis object for CLAS12 DCs
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()Clear all the datavoidfindNoise(int[] sector, int[] superlayer, int[] layer, int[] wire, Clas12NoiseResult results) This methods takes the data arrays and generates the results.getParameters(int sector, int supl) Get the parameters for a given 0-based superlayervoidsetParameters(int sector, int supl, NoiseReductionParameters params) Set the parameters for a given 0-based superlayer
- 
Field Details- 
rawHitCountpublic int rawHitCountthe raw hit count
 
- 
- 
Constructor Details- 
Clas12NoiseAnalysispublic Clas12NoiseAnalysis()Create an analysis object for CLAS12 DCs. Uses the basic single stage.
- 
Clas12NoiseAnalysisCreate an analysis object for CLAS12 DCs
 
- 
- 
Method Details- 
getParametersGet the parameters for a given 0-based superlayer- Parameters:
- sector- the 0-based sector
- supl- the 0-based superlayer in question
- Returns:
- the parameters for that superlayer
 
- 
setParametersSet the parameters for a given 0-based superlayer- Parameters:
- sector- the 0-based sector
- supl- the 0-based superlayer in question
- params- the parameters for that superlayer
 
- 
clearpublic void clear()Clear all the data
- 
findNoisepublic void findNoise(int[] sector, int[] superlayer, int[] layer, int[] wire, Clas12NoiseResult results) This methods takes the data arrays and generates the results. The input arrays contain 1-based indices, just like in the clasio banks- Parameters:
- sector- the 1-based sector array
- superlayer- the 1-based superlayer array
- layer- the 1-based layer array
- wire- the 1-based wire array
- results- container for the results
 
 
-