#include <CSCCluster.h>
Public Member Functions | |
| CSCCluster (unsigned int word1=0, unsigned int word2=0, int numSample=0) | |
| This constructor is used only in the CSCChamber() class. | |
| ~CSCCluster () | |
| Destructor. | |
| int | GetStartChannel () |
| int | GetWidth () |
| CSCStrip * | GetStrip (int i) |
| Provides acces to the data of this cluster. | |
| int | GetMaxIndex () |
| This function should no longer be used. | |
| double | GetMaxAmp () |
| This function should no longer be used. | |
| double | GetTotalCharge () |
| This function should no longer be used. | |
| int | GetLayer () |
| int | IsTransverse () |
| int | GetPhi () |
| int | IsLargeChamber () |
| double | GetPosition () |
| This function should no longer be used. | |
| short int | GetSample (int strip, int sam) |
| Provides access to the ADC samples. | |
| void | Read (unsigned int *buf) |
| This function is called only by CSCChamber() to read in raw data. | |
| double | GetPeakingTime () |
| This function should no longer be used. | |
| void | Print () |
| Print some data to the screen. | |
If sparsification was used, the ROD created this group because channels were above threshold. The group has a start channel and a width. Without sparsification, the cluster begins at channel 0 and contains all channels in the layer.
Internally, the data is stored as an array of CSCStrip() objects, beginning with an index of 0 for the leftmost strip. To get the physical channel number, add GetStartChannel() to the index.
To access the data of one strip, first find out how many stips are stored in this cluster by calling GetWidth() and then obtain a pointer to a trip object with GetStrip(). For ADC samples, use the GetSample() function as a shortcut.
The cluster stores the channelID of the strip with the largest amplitude. This ID is used for the layer, endcap and direction information.
|
|
|
|
|
This function should no longer be used. Use the CSCHit() objects if you are dealing with hits. Clusters can contain more than 1 hit, or none at all.
|
|
|
This function should no longer be used. Use the CSCHit() objects if you are dealing with hits. Clusters can contain more than 1 hit, or none at all.
|
|
|
This function should no longer be used. Use the CSCHit() objects if you are dealing with hits. Clusters can contain more than 1 hit, or none at all.
|
|
|
|
|
|
This function should no longer be used. Use the CSCHit() objects if you are dealing with hits. Clusters can contain more than 1 hit, or none at all.
|
|
||||||||||||
|
Provides access to the ADC samples.
|
|
|
|
|
|
Provides acces to the data of this cluster.
|
|
|
This function should no longer be used. Use the CSCHit() objects if you are dealing with hits. Clusters can contain more than 1 hit, or none at all.
|
|
|
|
|
|
|
|
|
|
|
|
Print some data to the screen. Used for debugging. |
1.3.9.1