#include <CSCStrip.h>
Public Member Functions | |
| CSCStrip (unsigned int channel=0, int numSamples=0) | |
| Constructor of an empty strip object. | |
| ~CSCStrip () | |
| Destructor. | |
| int | GetID () |
| int | GetChannel () |
| int | GetLayer () |
| int | IsTransverse () |
| int | GetPhi () |
| int | IsLargeChamber () |
| void | PutSample (int sample, int value) |
| This function is used only by CSCCluster() during reading of the raw data. | |
| short int | GetSample (int sample) |
| Provides access to the ADC samples. | |
| double | GetPeakingTime () |
| double | GetAmplitude () |
| short int | GetMinimum () |
| short int | GetMaximum () |
| short int | GetMinMax () |
| double | GetPedestal () |
| void | SetPedestal (double pedestal) |
| Sets the pedestal value for this channel. | |
| double | GetNoise () |
| void | SetNoise (double n) |
| Sets the noise value for this channel. | |
| void | CorrectEstimates () |
| correct the result of the parabolic interpolation | |
| int | FitBipolar (double width=6.5) |
| Invokes Kostas bipolar fit The reulting amplitude is stored int the amp member and returned by each subsequent call to GetAmplitude(). | |
| double | GetFitChi2 () |
| double | GetFitTime () |
| void | Read (unsigned int *buf) |
| This method is only used by the CSCCluster() class to read in raw data. | |
| void | Print () |
| Prints the ADC values to stdout. | |
It consists of a ATLAS channel ID that contains the channel number, the layer and the chamber, and of an array with the ADC samples.
Pedestal and noise are stored in the class and automatically subtracted. The constructor initializes the pedestal to 0, so no subtraction takes place until SetPedestal() is called. This is typically done with the CalServer class.
|
|
correct the result of the parabolic interpolation This method corrects the estimate of the peaking time and the amplitude by applying corrections derived from fitting the waveform to the shaper response function. The corrections are a function of the uncorrected peaking time and are calculated as a polynominal of 3rd order over pieces of the peaking time range. The corrected result replaces the old estimate. Repeated calls have no further effect.
|
|
|
Invokes Kostas bipolar fit The reulting amplitude is stored int the amp member and returned by each subsequent call to GetAmplitude().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50ns * peakingTime - 25ns * samplingPhase
|
|
|
|
|
|
|
|
|
Provides access to the ADC samples.
|
|
|
|
|
|
|
|
|
Prints the ADC values to stdout. Used for debugging. |
|
||||||||||||
|
This function is used only by CSCCluster() during reading of the raw data.
|
|
|
Sets the noise value for this channel.
|
|
|
Sets the pedestal value for this channel.
|
1.3.9.1