EnergyModule
| #include "EnergyModule.hh" |
EnergyModule
class description - source file - inheritance tree (.pdf)
class EnergyModule : public RecoModule, public TObject
| Inheritance Chart: | |||||||||||||||||
|
private:
void BuildFoVAngleFunctions()
void BuildMyPixels()
Bool_t BuildRecoveryFunction()
void BuildShowerTrack()
void ClearGraphs()
void CreateAuxilaryObjects()
void DumpGtuSorted()
void EstimateBackground()
void FindCherenkovPeak(TH1F*)
void FitTimeDistribution()
void InitHisto()
Bool_t LoadModules()
Float_t MakeFluorYield()
void SortGtu()
TVector2 XYCluster(Float_t)
public:
EnergyModule()
virtual ~EnergyModule()
Float_t BgrPerPixelPerGtu(Float_t time)
static TClass* Class()
virtual const char* ClassName() const
virtual const char* ClassType() const
void Constructor()
virtual Bool_t Done()
Float_t* GetFCtime()
GtuPixels_t GetMyGtuPixels()
TProfile* GetPsfMeanOverlap()
Float_t GetQuantumEff()
RecoEvent* GetRecoEvent()
RecoShowerTrack* GetRecoShowerTrack()
virtual Bool_t Init()
virtual TClass* IsA() const
Float_t PhiFoV(Float_t time)
virtual Bool_t PostProcess()
virtual Bool_t PreProcess()
virtual Bool_t Process(RecoEvent*)
virtual Bool_t SaveRootData(RecoRootEvent*)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Float_t ThetaFoV(Float_t time)
virtual void UserMemoryClean()
Data Members
private:
RecoEvent* fEvent pointer to the current reco event object
EOpticsResponse* fOpticsResponse Optics Response object (handles efficacies, etc)
ERunParameters* fRunpars ERunParameters
RecoShowerTrack* fShowerTrack pointer to a reco shower track object
const RecoModuleData* fTDM pointer to the track direction module
const RecoModuleData* fGtuCM pointer to the GTU Clustering module
const RecoModuleData* fHmaxShapeM pointer to HmaxByShapeMethod module
const RecoModuleData* fHmaxProtonM pointer to HmaxForProtonMethod module
vector<RecoPixelData*,allocator<RecoPixelData*> > fAllActivePixels vector of all active pixels
vector<RecoPixelData*,allocator<RecoPixelData*> > fActivePixels vector of active pixels around signal
vector<RecoPixelData*,allocator<RecoPixelData*> > fPixelsCluster vector of RecoPixelData of pixels in the cluster
vector<RecoPixelData*,allocator<RecoPixelData*> > fMyPixelsCluster vector of RecoPixelData of pixels presumably of the signal (fPixelsCluster + border pixels)
Double_t fTheta reconstrustructed from the previous module Theta zenith angle
Double_t fPhi reconstrustructed from the previous module Phi azimuthal angle
TVector3 fShowerDir unit vector opposite to shower direction
Double_t fAltitude reconstructed altitude of shower maximum
Int_t fGtuMin minimum Gtu in the selected cluster
Int_t fGtuMax maximum Gtu in the selected cluster
Int_t fMyGtuMin minimum Gtu in the all pixels
Int_t fMyGtuMax maximum Gtu in the all pixels
Int_t fMinuitOutputLevel see EnergyModule.cfg for explanations
Int_t fUseTrueAngles 1 - use true Theta and Phi angles, 0 - use reconstructed angles
Double_t fEnergy reconstructed energy
Double_t fEnergyError reconstructed energy error
Double_t fEnergyChi2 Chi2/NDF for energy fit
Double_t fBackGround Background contamination
Float_t fGtuTimeAtMax Time at the Shower Maximum (may be different from fGtuMax)
Float_t fThetaFoVAtMax Theta FoV at Shower Maximum
Float_t fPhiFoVAtMax Phi FoV at Shower Maximum
Float_t fBackground Estimated background of p.e. per pixel per GTU
Float_t fFCtime[4] array with fluo+cherenkov times
GtuPixels_t fGtuPixels map with vector of pixels for each Gtu hit belonging to the cluster
GtuPixels_t fGtuMyPixels map with vector of pixels for each Gtu hit belonging to my cluster
Int_t fDebugPs yes/no save or not eps files
TGraph* fGraphTheta ThetaFoV graph for the pixels in cluster
TGraph* fGraphPhi PhiFoV graph for the pixels in cluster
TGraph* fGraphXY X,Y graph for the pixels in cluster
TGraph* fGraphX X graph for the pixels in cluster
TGraph* fGraphY Y graph for the pixels in cluster
TH2F* fHistoTheta ThetaFoV histo for the pixels in signal cluster
TH2F* fHistoPhi PhiFoV histo for the pixels in signal cluster
TH2F* fHistoXY X,Y histo for the pixels in signal cluster
TH2F* fHistoX X histo for the pixels in signal cluster
TH2F* fHistoY Y histo for the pixels in signal cluster
TProfile* fHistoOverlap efficacy overlap with pixels in cluster
TProfile* fHistoIdealOverlap efficacy overlap with pixels in cluster
Float_t fXmin Minimum X of View
Float_t fXmax Maximum X of View
Float_t fYmin Minimum Y of View
Float_t fYmax Maximum Y of View
Float_t fPhiMin Minimum phi of View
Float_t fPhiMax Maximum phi of View
Float_t fThetaMin Minimum theta of View
Float_t fThetaMax Maximum theta of View
vector<int,allocator<int> > fPmts Container of active PMT's
vector<int,allocator<int> > fMyPixels Container of signal pixels
vector<int,allocator<int> > fPixelsBgr Container of background pixels
vector<int,allocator<int> > fECells Container of elementary cells
EnergyViewer* fEnergyViewer
Class Description
EnergyModule/*
*/
/*
*/
EnergyModule() : RecoModule("Energy")
ctor
void Constructor()
Default ctor initialization
~EnergyModule()
Bool_t Init()
Get fluorescence calculator
Bool_t PreProcess()
void CreateAuxilaryObjects()
void ClearGraphs()
Bool_t LoadModules()
void SortGtu()
void InitHisto()
void BuildFoVAngleFunctions()
void BuildMyPixels()
void DumpGtuSorted()
dump on screen
TVector2 XYCluster(Float_t time)
Float_t ThetaFoV(Float_t time)
Float_t PhiFoV(Float_t time)
Bool_t BuildRecoveryFunction()
Build the recovery function along the track for a number of steps along the track compute overlap of efficacy with pixels coverage.
void FitTimeDistribution()
Fit temporal distribution define the data point and plot them for the check
void FindCherenkovPeak(TH1F *htime)
void EstimateBackground()
Float_t BgrPerPixelPerGtu(Float_t time)
void BuildShowerTrack()
Bool_t Process(RecoEvent *ev)
Bool_t PostProcess()
Bool_t SaveRootData(RecoRootEvent *fRecoRootEvent)
Save desired information into the reco root file
Bool_t Done()
Here we inform that the module is ended its work
void UserMemoryClean()
Here we clear any auxilary objects created during one event energy reconstruction
Inline Functions
RecoEvent* GetRecoEvent()
Float_t GetQuantumEff()
TProfile* GetPsfMeanOverlap()
RecoShowerTrack* GetRecoShowerTrack()
Float_t* GetFCtime()
GtuPixels_t GetMyGtuPixels()
const char* ClassType() const
const char* ClassName() const
Float_t MakeFluorYield()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
