9 #ifndef USEFULANITAEVENT_H 10 #define USEFULANITAEVENT_H 14 #include "RawAnitaEvent.h" 15 #include "AnitaConventions.h" 47 {
return chan+(CHANNELS_PER_SURF*surf);}
51 TGraph *
getGraph(
int chanIndex)
const;
56 TGraph *getDeconvolvedALFA();
79 double fVolts[NUM_DIGITZED_CHANNELS][NUM_SAMP];
80 double fTimes[NUM_DIGITZED_CHANNELS][NUM_SAMP];
89 std::vector<int> SpikeyRFChannelList;
92 Bool_t setAlfaFilterFlag(Bool_t newBoolianFlag);
95 Bool_t fFilterAlfaChannel;
101 #endif //USEFULANITAEVENT_H Double_t fTempFactorGuesses[12]
A holder variable to cling on to the temperature correction factor that we are guessing at...
Int_t checkIfTreatingCalibratedEventAsRawEvent(RawAnitaEvent *rawEventPtr, const char *funcName)
Prints a verbose error message if you're calling the wrong constructor type.
UInt_t fLastEventGuessed
Internal variable to see if we've already tried to guess the RCO and temp correction factors for this...
Int_t getRcoCorrected(int chanIndex)
Returns firmware RCO after correcting for latch delay (and factor of -1 for different definitions of ...
enum WaveCalType::EWaveCalType WaveCalType_t
The calibration enumeration type.
PrettyAnitaHk – The prettified ANITA Hk.
double fVolts[12 *9][260]
Array of unwrapped (unless kNoCalib) voltages for each channel.
int fNumPoints[12 *9]
Number of poins per channel.
UsefulAnitaEvent()
Default constructor.
Int_t gotCalibTemp
Flag to check if we are using the temperature calibration.
std::vector< Double_t > getClockAlignment(std::vector< Int_t > listOfClockNums)
For calibration.
AnitaEventCalibrator – The ANITA Event Calibrator.
TGraph * getGraphFromSurfAndChan(int surf, int chan) const
Returns a voltage-time waveform for given SURF and channel.
int calibrateEvent(WaveCalType::WaveCalType_t calType)
Work horse member function called by constructor.
enum AnitaRing::EAnitaRing AnitaRing_t
Ring enumeration.
What you should call for analysis work.
virtual ~UsefulAnitaEvent()
Destructor.
Bool_t getAlfaFilterFlag()
a list to store the spikey RF channel.
Int_t fClockProblem
Flag raised if more than 4 upgoing zero crossings in clock, won't update temp correction. RCO guessing may also be negatively affected by this.
int fCapacitorNum[12 *9][260]
Array of capacitor numbers.
TGraph * getGraph(int chanIndex) const
Returns a voltage-time waveform for given channel index.
UsefulAnitaEvent – The Calibrated Useful Anita Event object.
Double_t calibTemp
Value for the temperature calibration.
CalibratedAnitaEvent – The Calibrated Calibrated Anita Event object.
UInt_t fC3poNum
Used to monitor the clock period.
static int getChanIndex(int surf, int chan)
Utility function.
Int_t fRFSpike
Flag raised if the ADC value is too large or small in RF.
WaveCalType::WaveCalType_t fCalType
The calibration type requested.
Int_t fRcoArray[12]
An array to store the guessed at RCO values.
Int_t guessRco(int chanIndex)
Looks at clock channel to try and guess which RCO phase we are in.
Int_t fFromCalibratedAnitaEvent
Flag used in determining whether the event came from a CalibratedAnitaEvent.
enum AnitaPol::EAnitaPol AnitaPol_t
Polarisation enumeration.
Double_t fClockPhiArray[12]
An array to store the derived clock calibration numbers (from aligning the clocks) ...
Int_t fClockSpike
Flag raised if the ADC value is too large or small in clock.
double fTimes[12 *9][260]
Array of unwrapped (unless kNoCalib) times for each channel.
RawAnitaEvent – The Raw ANITA Event Data.