Ignore:
Timestamp:
02/24/03 12:26:32 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHMcRate.cc

    r1783 r1789  
    6161    fTriggerRate= -1.0;      // Trigger rate in Hz
    6262    fTriggerRateError= -1.0; // Estimated error for the trigger rate in Hz
     63
     64    fMultiplicity = -1;
     65    fMeanThreshold = -1.;
     66
    6367}
    6468
     
    233237{
    234238    *fLog << all << "Incident rate " << fShowerRate << " Hz " << endl;
     239    *fLog << "Multiplicity: " << fMultiplicity << ",  Discr. threshold: " << fMeanThreshold << endl;
    235240    *fLog << "Trigger Rate " << fTriggerRate << " +- " << fTriggerRateError << " Hz" << endl;
    236241}
  • trunk/MagicSoft/Mars/mhist/MHMcRate.h

    r1783 r1789  
    3838    Float_t fTriggerRateError;  // Estimated error for the trigger rate in Hz
    3939
     40    Float_t fMeanThreshold;     // Mean discriminator threshold (mV) of trigger
     41                                // pixels.
     42
     43    Short_t fMultiplicity;      // L1 trigger multiplicity.
     44
     45
    4046    void Init(const char *name, const char *title);
    4147
     
    6571    void SetEnergyMin(Float_t Energy) {fEnergyMin=Energy;}
    6672
     73    void SetMultiplicity(Short_t nMul) {fMultiplicity = nMul;}
     74    void SetMeanThreshold(Float_t thresh) {fMeanThreshold = thresh;}
     75
    6776    void UpdateBoundaries(Float_t energy, Float_t theta, Float_t phi, Float_t impact);
     77
     78    Float_t GetTriggerRate() {return fTriggerRate;}
     79    Float_t GetTriggerRateError() {return fTriggerRateError;}
     80
     81    Short_t GetMultiplicity() {return fMultiplicity;}
     82    Float_t  GetMeanThreshold() {return fMeanThreshold;}
    6883
    6984    void CalcRate(Float_t trig, Float_t anal, Float_t simu);
     
    7893
    7994#endif
     95
     96
     97
Note: See TracChangeset for help on using the changeset viewer.