source: trunk/MagicSoft/Mars/msignal/MExtractTimeHighestIntegral.h@ 4644

Last change on this file since 4644 was 3943, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MExtractTimeHighestIntegral
2#define MARS_MExtractTimeHighestIntegral
3
4#ifndef MARS_MExtractTime
5#include "MExtractTime.h"
6#endif
7
8class MExtractTimeHighestIntegral : public MExtractTime
9{
10private:
11
12 static const Byte_t fgHiGainFirst;
13 static const Byte_t fgHiGainLast;
14 static const Byte_t fgLoGainFirst;
15 static const Byte_t fgLoGainLast;
16 static const Byte_t fgHiGainWindowSize;
17 static const Byte_t fgLoGainWindowSize;
18
19 Byte_t fHiGainWindowSize; // Number of gains in window
20 Float_t fHiGainWindowSizeSqrt; // Sqaure root of number of gains in window
21 Byte_t fLoGainWindowSize; // Number of gains in window
22 Float_t fLoGainWindowSizeSqrt; // Sqaure root of number of gains in window
23
24 void FindTimeHiGain(Byte_t *first, Float_t &time, Float_t &dtime, Byte_t &sat, const MPedestalPix &ped) const;
25 void FindTimeLoGain(Byte_t *first, Float_t &time, Float_t &dtime, Byte_t &sat, const MPedestalPix &ped) const;
26
27public:
28 MExtractTimeHighestIntegral(const char *name=NULL, const char *title=NULL);
29
30 void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0);
31 void SetWindowSize(Byte_t windowh=fgHiGainWindowSize,
32 Byte_t windowl=fgLoGainWindowSize);
33
34 ClassDef(MExtractTimeHighestIntegral, 0) // Task to Extract the Arrival Times As the mean time of the fWindowSize time slices
35};
36
37#endif
38
39
Note: See TracBrowser for help on using the repository browser.