PhotonsDatabaseBuilder
#include "PhotonsDatabaseBuilder.hh" |
PhotonsDatabaseBuilder
class description - source file - inheritance tree (.pdf)
class PhotonsDatabaseBuilder : public EsafConfigurable
Inheritance Chart: | |||||||||
|
private:
void CloseDBTree() void CloseRoot() void FillDBTree() void InitDBTree() void OpenRoot() Bool_t Sample(Photon*) public:
PhotonsDatabaseBuilder() virtual ~PhotonsDatabaseBuilder() static TClass* Class() virtual const char* ClassName() const virtual const char* ClassType() const void Go() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
Data Members
private:
ScanPhotonsOnPupil fPupil photons generator pair<Photon,Double_t> fLastPath Int_t fSamples number of times each position has to be sampled OpticalSystem* fOptics EUSO Optical System OADBTree* fTree database tree OADBPhotons* fPhotons photons container string fRootFileName TFile* fRootFile
Class Description
void CloseRoot()
close root file
void OpenRoot()
open rootfile with the correct name
void InitDBTree()
create the tree
void FillDBTree()
calls fTree->Fill() and then clears the photon container
void CloseDBTree()
write and close the tree
Bool_t Sample( Photon *ph )
resample the same photon and save the most rated path in fLastPath
void Go()
build the database
Inline Functions
void ~PhotonsDatabaseBuilder() PhotonsDatabaseBuilder PhotonsDatabaseBuilder() const char* ClassType() const const char* ClassName() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)