EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicEnergyMonitor Class Reference

#include <EicRoot/blob/master/eic/base/EicEnergyMonitor.h>

+ Inheritance diagram for EicEnergyMonitor:
+ Collaboration diagram for EicEnergyMonitor:

Public Member Functions

 EicEnergyMonitor ()
 
 EicEnergyMonitor (const char *volumeName, Int_t PDG, char *histogramName, double histogramMin, double histogramMax, unsigned histogramBinNum)
 
 ~EicEnergyMonitor ()
 
void PrimaryOnly ()
 
void AtVolumeExit ()
 

Private Attributes

TString mName
 
Int_t mPDG
 
bool mPrimaryOnly
 
bool mAtEntrance
 
TString mHistogramName
 
double mHistogramMin
 
double mHistogramMax
 
unsigned mHistogramBinNum
 
TH1D * mHistogram
 
std::set< unsigned > mRegisteredTracks
 

Friends

class EicDetector
 

Detailed Description

Definition at line 16 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 16 of file EicEnergyMonitor.h

Constructor & Destructor Documentation

EicEnergyMonitor::EicEnergyMonitor ( )
inline

Definition at line 21 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 21 of file EicEnergyMonitor.h

EicEnergyMonitor::EicEnergyMonitor ( const char *  volumeName,
Int_t  PDG,
char *  histogramName,
double  histogramMin,
double  histogramMax,
unsigned  histogramBinNum 
)
inline

Definition at line 23 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 23 of file EicEnergyMonitor.h

References mHistogram.

EicEnergyMonitor::~EicEnergyMonitor ( )
inline

Definition at line 32 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 32 of file EicEnergyMonitor.h

Member Function Documentation

void EicEnergyMonitor::AtVolumeExit ( )
inline

Definition at line 35 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 35 of file EicEnergyMonitor.h

void EicEnergyMonitor::PrimaryOnly ( )
inline

Definition at line 34 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 34 of file EicEnergyMonitor.h

References mPrimaryOnly.

Friends And Related Function Documentation

friend class EicDetector
friend

Definition at line 17 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 17 of file EicEnergyMonitor.h

Member Data Documentation

bool EicEnergyMonitor::mAtEntrance
private

Definition at line 46 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 46 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors().

TH1D* EicEnergyMonitor::mHistogram
private

Definition at line 54 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 54 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors(), EicEnergyMonitor(), and EicDetector::FinishRun().

unsigned EicEnergyMonitor::mHistogramBinNum
private

Definition at line 52 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 52 of file EicEnergyMonitor.h

double EicEnergyMonitor::mHistogramMax
private

Definition at line 51 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 51 of file EicEnergyMonitor.h

double EicEnergyMonitor::mHistogramMin
private

Definition at line 50 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 50 of file EicEnergyMonitor.h

TString EicEnergyMonitor::mHistogramName
private

Definition at line 49 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 49 of file EicEnergyMonitor.h

TString EicEnergyMonitor::mName
private

Definition at line 35 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 35 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors().

Int_t EicEnergyMonitor::mPDG
private

Definition at line 43 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 43 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors().

bool EicEnergyMonitor::mPrimaryOnly
private

Definition at line 45 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 45 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors(), and PrimaryOnly().

std::set<unsigned> EicEnergyMonitor::mRegisteredTracks
private

Definition at line 60 of file EicEnergyMonitor.h.

View newest version in sPHENIX GitHub at line 60 of file EicEnergyMonitor.h

Referenced by EicDetector::CheckEnergyMonitors(), and EicDetector::EndOfEvent().


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