NCFS-Pack
A generic (astro)particle physics analysis framework
 
Loading...
Searching...
No Matches
IceMakeHits.h
Go to the documentation of this file.
1#ifndef IceMakeHits_h
2#define IceMakeHits_h
3
4// Copyright(c) 2003, IceCube Experiment at the South Pole, All rights reserved.
5// See cxx source for full Copyright notice.
6
7#include "TROOT.h"
8#include "TTask.h"
9#include "TString.h"
10//@@#include "TSpectrum.h"
11#include "TMath.h"
12#include "TError.h"
13
14#include "NcJob.h"
15#include "NcSample.h"
16#include "NcSpectrum.h"
17
18#include "IceEvent.h"
19#include "IceAOM.h"
20#include "IceIDOM.h"
21#include "IceTDOM.h"
22
24
25class IceMakeHits : public TTask
26{
27 public :
28 IceMakeHits(const char* name="IceMakeHits",const char* title="Hit extraction"); // Constructor
29 virtual ~IceMakeHits(); // Destructor
30 virtual void Exec(Option_t* opt); // Hit extraction
31 void SetBasefracA(Float_t val); // Set the Amanda fract. baseline update value
32 void SetSigmaA(Float_t val); // Set the Amanda clipping window width
33 void SetMaxPeaksA(Int_t val); // Set the Amanda maximum number of peaks in a waveform
34 void SetMinPulseHeightA(Float_t val); // Set the Amanda threshold for narrow pulses
35 void SetThresholdA(Float_t val); // Set the Amanda threshold for narrow pulses
36 void SetBasefracI(Float_t val); // Set the IceCube fractional baseline update value
37 void SetSigmaI(Float_t val); // Set the IceCube clipping window width
38 void SetMaxPeaksI(Int_t val); // Set the IceCube maximum number of peaks in a waveform
39 void SetPeakAcceptanceLevelI(Float_t val); // Set the IceCube minimum height of a peak above the baseline
40 void SetMinPulseHeightI(Float_t val); // Set the IceCube threshold for narrow pulses
41 void SetThresholdI(Float_t val); // Set the IceCube threshold for narrow pulses
42 void SetWaveformNameI(const char* name); // Set a single specific IceCube waveform name to be analysed
43 void UseWaveformNameI(TString name); // Specify the names of the IceCube waveforms to be analysed
44 void PrintWaveformNamesI() const; // Print the IceCube waveform name(s) to be analysed
45
46 protected :
47 IceEvent* fEvt; // Pointer to the current event structure
48 Float_t fBasefracA; // The fractional baseline update for Amanda TWR extraction
49 Float_t fSigmaA; // The width of the clipping window to be used by TSpectrum::Search() in Amanda TWR extraction
50 Int_t fMaxPeaksA; // The maximum number of peaks in a waveform in Amanda TWR extraction
51 Float_t fMinPulseHeightA; // The minimum pulse height for narrow pulses in Amanda TWR extraction
52 Float_t fThresholdA; // The threshold to be used in analysis of narrow pulses in Amanda TWR extraction
53 Float_t fBasefracI; // The fractional baseline update for IceCube waveform hit extraction
54 Float_t fSigmaI; // The width of the clipping window to be used by TSpectrum::Search() in IceCube hit extraction
55 Int_t fMaxPeaksI; // The maximum number of peaks in a waveform in IceCube hit extraction
56 Float_t fPeakAcceptanceLevelI; // The minimum height of a peak above the baseline, in terms of baseline spread, in IceCube hit extraction
57 Float_t fMinPulseHeightI; // The minimum pulse height for narrow pulses in IceCube hit extraction
58 Float_t fThresholdI; // The threshold to be used in analysis of narrow pulses in IceCube hit extraction
59 TObjArray* fUseNamesI; // The IceCube waveform names to be analysed
60 void Amanda(); // Hit extraction from Amanda TWR data
61 void IceCube(); // Hit extraction from IceCube waveform data
62
63 ClassDef(IceMakeHits,8) // TTask derived class to perform hit extraction from waveforms
64};
65#endif
Handling of IceCube event data.
Definition IceEvent.h:20
Float_t fMinPulseHeightA
Definition IceMakeHits.h:51
void SetMaxPeaksI(Int_t val)
IceMakeHits(const char *name="IceMakeHits", const char *title="Hit extraction")
void SetMinPulseHeightA(Float_t val)
void SetThresholdI(Float_t val)
virtual void Exec(Option_t *opt)
void UseWaveformNameI(TString name)
Float_t fThresholdA
Definition IceMakeHits.h:52
void SetMinPulseHeightI(Float_t val)
void SetBasefracA(Float_t val)
void SetThresholdA(Float_t val)
void SetMaxPeaksA(Int_t val)
void SetBasefracI(Float_t val)
void SetSigmaA(Float_t val)
Int_t fMaxPeaksI
Definition IceMakeHits.h:55
Float_t fBasefracI
Definition IceMakeHits.h:53
void SetPeakAcceptanceLevelI(Float_t val)
void SetWaveformNameI(const char *name)
Float_t fSigmaA
Definition IceMakeHits.h:49
Float_t fPeakAcceptanceLevelI
Definition IceMakeHits.h:56
void SetSigmaI(Float_t val)
Float_t fMinPulseHeightI
Definition IceMakeHits.h:57
TObjArray * fUseNamesI
Definition IceMakeHits.h:59
void PrintWaveformNamesI() const
Float_t fBasefracA
Definition IceMakeHits.h:48
Float_t fThresholdI
Definition IceMakeHits.h:58
Int_t fMaxPeaksA
Definition IceMakeHits.h:50
virtual ~IceMakeHits()
Float_t fSigmaI
Definition IceMakeHits.h:54
IceEvent * fEvt
Definition IceMakeHits.h:47