OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
ROOTHitManager Class Reference

Manages ROOT file output for photon hit data.

Collaboration diagram for ROOTHitManager:
[legend]

Public Member Functions

 ROOTHitManager (const std::string &filename)
 Constructor - opens ROOT file and creates TTree.
 
 ~ROOTHitManager ()
 Destructor - writes and closes ROOT file.
 
void FillPhotonInfo (const PhotonInfoROOT &info)
 Fills the TTree with photon hit information.
 

Private Attributes

TFile * m_file
 
TTree * m_tree
 
PhotonInfoROOT m_photonInfo
 

Constructor & Destructor Documentation

◆ ROOTHitManager()

ROOTHitManager::ROOTHitManager ( const std::string &  filename)
Parameters
filenamePath to the output ROOT file.

Member Function Documentation

◆ FillPhotonInfo()

void ROOTHitManager::FillPhotonInfo ( const PhotonInfoROOT info)
Parameters
infoPhotonInfoROOT structure containing hit data.

The documentation for this class was generated from the following files: