#include <CSCHit.h>
Public Member Functions | |
| CSCHit () | |
| Constructor for intialization. | |
| ~CSCHit () | |
| Destructor. | |
| void | Set (CSCCluster *cluster, int i) |
| This method is only used by the CSCHitList() to fill the class with raw data. | |
| void | Print () |
| Prints a summary of the parameters to stdout. | |
| CSCStrip * | GetStrip (int relIndex) |
| Provides access to the uderlying CSCStrip() objects. | |
| double | GetPosition () |
| void | SetPosition (double p) |
| This method sets the position of the hit to a given value. | |
| double | GetPeakingTime () |
| double | GetAmplitude () |
| int | GetChannelID () |
| Get the channel ID. | |
| int | GetLayer () |
| int | IsTransverse () |
| int | IsLargeChamber () |
| double | GetSum () |
| double | GetCOG () |
| double | GetParabola () |
| int | GetPhi () |
| int | GetID () |
| int | GetDistance () |
| returns the distance to the nearest hit, or 199 if there is no other hit in this layer. | |
| void | SetDistance (int d) |
| This method is only used by the Hit finding algorithm. | |
| int | GetChannel () |
| CSCHit * | GetMatch () |
| Future feature, might not be implemented. | |
| void | SetMatch (CSCHit *h) |
| Future feature, might not be implemented. | |
| double | GetChi2 () |
| double | Profile (double pos) |
| Charge-sharing profile for a typical hit in this chamber. | |
The class provides corrected position interpolation, peaking time, and the sum of all charges.
A CSCCluster() can contain several CSCHHits. Hit finding is done in the CSCHitList() class.
The parabolic estimate of the peaking time and amplitude is applied to the central 3 strips when the hit is created in the hit list.
|
|
50ns * peakingTime - 25ns * samplingPhase
|
|
|
|
|
|
Get the channel ID. The channel ID identifies the positon of the channel in ATLAS. It consists of 13 bits: 0000 0000 0000 000S PPPE MLLD CCCC CCCC S: Size bit (1:big or 0:small CSC chamber) P: Phi angle 0-7 E: Eta (endcap) 0: eta=-1: endcap C, 1: eta=1, endcap A) M: Multilayer (1 for the initial scope) L: Layer 0-3 D: Direction (D = 0 for precision, 1 for transverse) C: Channel number of the first channel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the uderlying CSCStrip() objects.
|
|
|
|
|
|
|
|
|
|
|
|
Charge-sharing profile for a typical hit in this chamber. This fuction selects the right profile for small or large chambers, and for X and Y hits.
|
|
|
This method sets the position of the hit to a given value. This value replaces the one calculated by the parabola interpolation. Can be used to place missing hits or to store results of new interpolations.
|
1.3.9.1