* provided "as is" without express or implied warranty. *
**************************************************************************/
/* $Id$ */
-/** @file AliFMDDisplay.cxx
- @author Christian Holm Christensen <cholm@nbi.dk>
- @date Mon Mar 27 12:39:09 2006
- @brief FMD Event display
-*/
+/**
+ * @file AliFMDDisplay.cxx
+ * @author Christian Holm Christensen <cholm@nbi.dk>
+ * @date Mon Mar 27 12:39:09 2006
+ * @brief FMD Event display
+ */
//___________________________________________________________________
//
// The classes defined here, are utility classes for reading in data
TGeoIterator next(top);
TGeoNode* node;
TGeoVolume* v = 0;
- Bool_t hasFMD1 = kFALSE;
- Bool_t hasFMD2 = kFALSE;
- Bool_t hasFMD3 = kFALSE;
+ // Bool_t hasFMD1 = kFALSE;
+ // Bool_t hasFMD2 = kFALSE;
+ // Bool_t hasFMD3 = kFALSE;
AliFMDDebug(1, ("Getting material FMD_Si$"));
TGeoMaterial* si = gGeoManager->GetMaterial("FMD_Si$"); // kRed
AliFMDDebug(1, ("Getting material FMD_Carbon$"));
}
if (name[2] == 'M' && (name[3] == 'T' || name[3] == 'B')) {
// Virtual Master half-ring volume - top-level
- Int_t det = node->GetNumber();
- switch (det) {
- case 1: hasFMD1 = true; break;
- case 2: hasFMD2 = true; break;
- case 3: hasFMD3 = true; break;
- default: continue;
- }
+ // Int_t det = node->GetNumber();
+ /* switch (det) {
+ case 1: hasFMD1 = true; break;
+ case 2: hasFMD2 = true; break;
+ case 3: hasFMD3 = true; break;
+ default: continue;
+ } */
toshow.Add(v);
}
else if (name[3] == 'V' && (name[2] == 'T' || name[2] == 'B'))
AliFMDDisplay::InsideCut(Float_t val, const Float_t& min,
const Float_t& max) const
{
+ //
+ // Whether a point is inside
+ //
+ // Parameters:
+ // v Point
+ // min Minimum
+ // max Maximum
+ //
+ // Return:
+ // true if @a v is inside cut
+ //
Float_t r = max - min;
Float_t l = fSlider->GetMinimum();
Float_t h = fSlider->GetMaximum();
AliFMDDisplay::GetADCThreshold(UShort_t d, Char_t r,
UShort_t s, UShort_t t) const
{
+ //
+ // Get the ADC threshold
+ //
+ // Parameters:
+ // d Detector
+ // r Ring
+ // s Sector
+ // t Strip
+ //
+ // Return:
+ // The threshold
+ //
AliFMDParameters* parm = AliFMDParameters::Instance();
Double_t ped = parm->GetPedestal(d,r, s, t);
Double_t pedW = parm->GetPedestalWidth(d,r, s, t);