GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
offsetfix.cxx File Reference
#include "TGRSIOptions.h"
#include "TMidasFile.h"
#include "TMidasEvent.h"
#include "TFile.h"
#include "TFragment.h"
#include "TGRSIDataParser.h"
#include "TGRSIDataParserException.h"
#include "TTree.h"
#include "TSpectrum.h"
#include "TChannel.h"
#include "TH2D.h"
#include "TTreeIndex.h"
#include "TVirtualIndex.h"
#include "Globals.h"
#include "TF1.h"
#include "TMath.h"
#include "TString.h"
#include "TPolyMarker.h"
#include "TStopwatch.h"
#include "TSystem.h"
#include <vector>
#include <iostream>
#include <fstream>
+ Include dependency graph for offsetfix.cxx:

Go to the source code of this file.

Classes

class  TEventTime
 

Functions

void CheckHighTimeStamp (std::vector< TEventTime * > *eventQ)
 
int CorrectionFile (int runnumber)
 
void GetRoughTimeDiff (std::vector< TEventTime * > *eventQ)
 
void GetTimeDiff (std::vector< TEventTime * > *eventQ)
 
int main (int argc, char **argv)
 
void PrintError (const std::shared_ptr< TMidasEvent > &event, int frags, bool verb)
 
bool ProcessEvent (const std::shared_ptr< TMidasEvent > &event, TMidasFile *outfile)
 
int QueueEvents (TMidasFile *infile, std::vector< TEventTime * > *eventQ)
 
void WriteCorrectionFile (int runnumber)
 
void WriteEvents (TMidasFile *file)
 

Variables

Bool_t SplitMezz = false
 

Function Documentation

◆ CheckHighTimeStamp()

void CheckHighTimeStamp ( std::vector< TEventTime * > * eventQ)

◆ CorrectionFile()

int CorrectionFile ( int runnumber)

Definition at line 816 of file offsetfix.cxx.

References TEventTime::correctionmap, DGREEN, and RESET_COLOR.

Referenced by main().

◆ GetRoughTimeDiff()

void GetRoughTimeDiff ( std::vector< TEventTime * > * eventQ)

◆ GetTimeDiff()

void GetTimeDiff ( std::vector< TEventTime * > * eventQ)

◆ main()

◆ PrintError()

void PrintError ( const std::shared_ptr< TMidasEvent > & event,
int frags,
bool verb )

Definition at line 195 of file offsetfix.cxx.

References DRED, and RESET_COLOR.

Referenced by QueueEvents().

◆ ProcessEvent()

bool ProcessEvent ( const std::shared_ptr< TMidasEvent > & event,
TMidasFile * outfile )

Definition at line 581 of file offsetfix.cxx.

References TEventTime::correctionmap, TMidasFile::FillBuffer(), and SplitMezz.

Referenced by WriteEvents().

◆ QueueEvents()

◆ WriteCorrectionFile()

void WriteCorrectionFile ( int runnumber)

Definition at line 789 of file offsetfix.cxx.

References TEventTime::correctionmap.

Referenced by main().

◆ WriteEvents()

Variable Documentation

◆ SplitMezz

Bool_t SplitMezz = false

Definition at line 29 of file offsetfix.cxx.

Referenced by ProcessEvent(), and TEventTime::SetDigitizer().