source: trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.h@ 890

Last change on this file since 890 was 877, checked in by magicsol, 23 years ago
Header file of MMcTriggerRateCalc.cc
File size: 1.4 KB
Line 
1#ifndef MTRIGGERRATECALC_H
2#define MTRIGGERRATECALC_H
3
4#ifndef MTASK_H
5#include "MTask.h"
6#endif
7
8#include "MMcEvt.hxx"
9
10class MParList;
11class MMcTrig ;
12class MMcEvt;
13class MHMcRate;
14
15class MMcTriggerRateCalc : public MTask {
16 private:
17 MMcTrig *fMcTrig[10] ; //!
18 MMcEvt *fMcEvt; //!
19
20 MHMcRate *fMcRate[10] ; //!
21
22 Int_t fDimension; // Information about the trigger conditions
23 // in the root file to be read.
24
25 Float_t fTrigger[10]; // Number of triggered showers
26 Float_t fShowers; // Number of simulated showers
27 Float_t fAnalShow; // Number of analysed showers
28
29 Int_t fPartId; // Incident particle that generates showers
30
31 Float_t fSpecInd; // Spectral indec of the simualtion
32 Float_t fFlux0; // Flux 0 for the differential flux
33
34 public:
35 MMcTriggerRateCalc (const char *name=NULL, const char *title=NULL);
36 MMcTriggerRateCalc (int dim, int part, float *trigbg, float simbg, float rate,
37 const char *name=NULL, const char *title=NULL);
38 MMcTriggerRateCalc (int dim, int part, float *trigbg, float simbg, float spec,
39 float flux0, const char *name=NULL, const char *title=NULL);
40
41 Bool_t PreProcess(MParList *pList);
42 Bool_t Process() ;
43 Bool_t PostProcess() ;
44
45 ClassDef(MMcTriggerRateCalc, 0) // Task to compute the trigger rate
46
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.