#include <GflashHistogram.h>
Public Member Functions | |
void | bookHistogram (std::string histFileName="gflash_histogram.root") |
bool | getStoreFlag () |
GflashHistogram () | |
void | setStoreFlag (bool flag) |
~GflashHistogram () override | |
Static Public Member Functions | |
static GflashHistogram * | instance () |
Private Attributes | |
bool | theStoreFlag |
Static Private Attributes | |
static GflashHistogram * | instance_ = nullptr |
Definition at line 16 of file GflashHistogram.h.
GflashHistogram::GflashHistogram | ( | ) |
|
override |
void GflashHistogram::bookHistogram | ( | std::string | histFileName = "gflash_histogram.root" | ) |
Definition at line 13 of file GflashHistogram.cc.
References deltaStep, em_incE, em_lateral, em_lateral_sd, em_long, em_long_sd, em_nSpots_sd, em_ssp_rho, em_ssp_z, energyLoss, energyRatio, g4charge, g4energy, g4energyElectron, g4energyEM, g4energyEMMip, g4energyEMProfile, g4energyEMvsHad, g4energyHad, g4energyHadMip, g4energyHadProfile, g4energyHybridProfile, g4energyHybridTotal, g4energyLoss, g4energyMip, g4energyPhoton, g4energyPi0, g4energySecondary, g4energySensitiveEM, g4energySensitiveEMMip, g4energySensitiveEMvsHad, g4energySensitiveHad, g4energySensitiveTotal, g4energyTotal, g4energyTotalProfile, g4lateralRZ, g4lateralXY, g4longDetector, g4longProfile, g4longSensitive, g4momentum, g4nSecondary, g4pidSecondary, g4rshower, g4rshowerR1, g4rshowerR2, g4rshowerR3, g4spotRZ, g4spotRZ0, g4spotXY, g4ssp, g4stepCharge, g4stepRho, g4totalEnergySecElectron, g4totalEnergySecPhoton, g4totalEnergySecPi0, g4trajectoryPhi0, g4trajectoryRZ, g4trajectoryXY, g4vertexTrack, gfhlongProfile, histFile_, kineticEnergy, lateralx, lateraly, postStepPosition, preStepPosition, and rshower.
Referenced by GFlash::GFlash().
|
inline |
Definition at line 25 of file GflashHistogram.h.
References theStoreFlag.
Referenced by GflashHadronShowerModel::isFirstInelasticInteraction(), GflashHadronShowerProfile::locateHitPosition(), and GflashEMShowerProfile::parameterization().
|
static |
Definition at line 5 of file GflashHistogram.cc.
References GflashHistogram(), and instance_.
Referenced by GFlash::GFlash(), GflashEMShowerProfile::GflashEMShowerProfile(), GflashHadronShowerModel::GflashHadronShowerModel(), and GflashHadronShowerProfile::GflashHadronShowerProfile().
|
inline |
Definition at line 24 of file GflashHistogram.h.
References theStoreFlag.
Referenced by GFlash::GFlash().
TH1F* GflashHistogram::deltaStep |
Definition at line 51 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::em_incE |
Definition at line 38 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH2F* GflashHistogram::em_lateral |
Definition at line 42 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH2F* GflashHistogram::em_lateral_sd |
Definition at line 44 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::em_long |
Definition at line 41 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::em_long_sd |
Definition at line 43 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::em_nSpots_sd |
Definition at line 45 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::em_ssp_rho |
Definition at line 39 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::em_ssp_z |
Definition at line 40 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashEMShowerProfile::parameterization().
TH1F* GflashHistogram::energyLoss |
Definition at line 53 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::energyRatio |
Definition at line 54 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::g4charge |
Definition at line 102 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energy |
Definition at line 99 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyElectron |
Definition at line 71 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyEM |
Definition at line 78 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyEMMip |
Definition at line 81 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energyEMProfile |
Definition at line 93 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energyEMvsHad |
Definition at line 84 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyHad |
Definition at line 79 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyHadMip |
Definition at line 82 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energyHadProfile |
Definition at line 94 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energyHybridProfile |
Definition at line 96 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyHybridTotal |
Definition at line 89 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyLoss |
Definition at line 100 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyMip |
Definition at line 83 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyPhoton |
Definition at line 72 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyPi0 |
Definition at line 70 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energySecondary |
Definition at line 69 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energySensitiveEM |
Definition at line 86 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energySensitiveEMMip |
Definition at line 90 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energySensitiveEMvsHad |
Definition at line 91 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energySensitiveHad |
Definition at line 87 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energySensitiveTotal |
Definition at line 88 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4energyTotal |
Definition at line 80 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4energyTotalProfile |
Definition at line 95 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4lateralRZ |
Definition at line 109 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4lateralXY |
Definition at line 108 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4longDetector |
Definition at line 120 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4longProfile |
Definition at line 119 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4longSensitive |
Definition at line 121 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4momentum |
Definition at line 101 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4nSecondary |
Definition at line 67 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4pidSecondary |
Definition at line 68 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4rshower |
Definition at line 104 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4rshowerR1 |
Definition at line 105 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4rshowerR2 |
Definition at line 106 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4rshowerR3 |
Definition at line 107 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4spotRZ |
Definition at line 111 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4spotRZ0 |
Definition at line 112 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4spotXY |
Definition at line 110 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4ssp |
Definition at line 98 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4stepCharge |
Definition at line 66 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4stepRho |
Definition at line 116 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4totalEnergySecElectron |
Definition at line 75 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4totalEnergySecPhoton |
Definition at line 76 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4totalEnergySecPi0 |
Definition at line 74 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4trajectoryPhi0 |
Definition at line 117 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4trajectoryRZ |
Definition at line 114 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::g4trajectoryXY |
Definition at line 113 of file GflashHistogram.h.
Referenced by bookHistogram().
TH1F* GflashHistogram::g4vertexTrack |
Definition at line 65 of file GflashHistogram.h.
Referenced by bookHistogram().
TH2F* GflashHistogram::gfhlongProfile |
Definition at line 61 of file GflashHistogram.h.
Referenced by bookHistogram().
TFile* GflashHistogram::histFile_ |
Definition at line 35 of file GflashHistogram.h.
Referenced by bookHistogram(), and ~GflashHistogram().
|
staticprivate |
Definition at line 124 of file GflashHistogram.h.
Referenced by instance().
TH1F* GflashHistogram::kineticEnergy |
Definition at line 52 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::lateralx |
Definition at line 59 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerProfile::locateHitPosition().
TH1F* GflashHistogram::lateraly |
Definition at line 60 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerProfile::locateHitPosition().
TH1F* GflashHistogram::postStepPosition |
Definition at line 50 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::preStepPosition |
Definition at line 49 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerModel::isFirstInelasticInteraction().
TH1F* GflashHistogram::rshower |
Definition at line 58 of file GflashHistogram.h.
Referenced by bookHistogram(), and GflashHadronShowerProfile::locateHitPosition().
|
private |
Definition at line 125 of file GflashHistogram.h.
Referenced by getStoreFlag(), and setStoreFlag().