 |
Belle II Software
release-05-02-19
|
19 #include <framework/core/HistoModule.h>
20 #include <framework/datastore/StoreArray.h>
39 class ARICHGeometryPar;
63 virtual void event()
override;
66 virtual void endRun()
override;
167 int SetPosHistos(TH1F* h, TH2F* hFWD, TH2F* hBAR, TH2F* hBWD);
TH1F * h_CrystalRadDose
Crystal Radiation Dose.
Class for obtaining crystal details for a given crystal cell An evolved look-up table.
int SetPosHistos(TH1F *h, TH2F *hFWD, TH2F *hBAR, TH2F *hBWD)
Create 2D histograms indicating the position of each crystals.
TH1F * h_BarrelDose
Crystal Radiation Dose in Barrel, 12<thetaID<59.
A module to study background campaigns and produce histograms.
TH2F * hDiodeFluxECF
Diode Neutron Flux Forward Calorimeter.
TH1F * h_CrystalRadDoseTheta
Crystal Radiation Dose, actual Theta.
TH2F * BuildPosHisto(TH1F *h, const char *sub)
Convert histogram vs crystal index to geometrical positions.
TH1F * hHAPDFlux
ARICH Yearly neutron flux vs module index.
TH1F * h_NeutronFlux
Neutron Flux in Diodes.
TH1F * h_NeutronE
Neutron Energy.
virtual void defineHisto() override
Initalize the histograms.
TH2F * hDiodeFluxECB
Diode Neutron Flux Backward Calorimeter.
int BuildECL()
Builds geometry (fill Crystal look-up arrays)
std::vector< int > m_CryInt
Cell ID of crystal(s) of interest.
const double DiodeArea
Frontal area [cm*cm] of Diodes.
TH1F * h_CrystalThetaID67
Crystal Radiation Dose, ThetaID=67.
TH1F * h_CrystalThetaID2
Crystal Radiation Dose, ThetaID=2.
virtual void beginRun() override
beginRun
TH2F * hDiodeFluxBAR
Diode Neutron Flux Barrel.
const int nECLCrystalECF
Number of FWD ECL end-capcrystals.
TH1F * h_nECLSimHits
ECL Sim Hits.
const int nECLCrystalECB
Number of BWD ECL end-capcrystals.
TH1F * hEMDoseWideTID
Radiation Dose Wide bins.
const double HAPDthickness
ARICH: Thickness (cm) of the HAPD boards.
const double usInYr
us in a year
TH1F * hEneu
Log Spectrum of the neutrons hitting the diodes / 1 MeV.
const int nHAPDperRing[7]
ARICH parameter.
StoreArray< ECLShower > m_eclShowerArray
Store array: ECLShower.
virtual void endRun() override
endRun
const double GeVtoJ
Joules in a GeV.
const double HAPDmass
ARICH: Mass (kg) of the HAPD boards.
TH1F * hEdepPerRing
Energy averaged per ring.
TH1F * h_PhotonE
Photon Energy.
TH1F * h_DiodeRadDose
Diode Radiation Dose.
TH1F * hNevtPerRing
Event counter averaged per ring (theta-id)
TH1F * h_ProdVert
Production Vertex.
TH1F * h_NeutronFluxThetaID67
Neutron flux in Diodes, ThetaID=67.
ECLCrystalData * Crystal[8736]
Store crystal geometry and mass data.
TH1F * hEnergyPerCrystal
Energy per cell.
Abstract base class for different kinds of events.
static const int nECLCrystalTot
Total number of ECL crystals
TH1F * BuildThetaIDWideHisto(TH1F *h_cry)
Convert histogram vs crystal index to average per theta-ID (wide binning)
TH2F * h_HitLocations
Hit locations.
bool m_doARICH
Whether or not the ARICH plots are produced.
static const int nECLThetaID
Number of thetaID values.
const int nECLCrystalBAR
Number of Barrel ECL crystals
ECLBackgroundModule()
Constructor.
const double DiodeMass
Mass [kg] of Diodes.
The Class for ARICH Geometry Parameters.
const double DiodeThk
Thickness [cm] of Diodes.
const double SiRho
Density (silicium) [kg*cm^{-3}] of Si.
TH1F * hARICHDoseBB
ARICH Yearly dose (rad) vs module index.
const double HAPDarea
ARICH geometry paramaters.
TH2F * hEMDoseECF
Radiation Dose Forward Calorimeter.
TH1F * h_NeutronFluxThetaID2
Neutron flux in Diodes, ThetaID=2.
const int nHAPD
ARICH parameter.
virtual ~ECLBackgroundModule()
Destructor.
virtual void event() override
Event method
TH1F * BuildARICHringIDHisto(TH1F *h_cell)
Convert histogram vs ARICH channel ID to average per ring ID.
int m_nEvent
Event counter.
TH2F * hEMDoseBAR
Radiation Dose Barrel.
TH1F * hEgamma
Log Spectrum of the photons hitting the crystals / 1 MeV.
TH2F * hEnergyPerCrystalECB
Energy per crystal Backward Calorimeter.
TH2F * hEnergyPerCrystalBAR
Energy per crystal Barrel.
virtual void initialize() override
Initialize variables.
const int nHAPDrings
ARICH parameter.
virtual void terminate() override
terminate
int ARICHmod2row(int modID)
Get ARICH ring ID from the module index.
TH2F * h_ShowerVsTheta
Shower Energy distribution vs theta.
TH2F * h_ProdVertvsThetaId
Production Vertex vs thetaID.
TH1F * hEnergyPerCrystalWideTID
Energy per crystal Wide bins.
Accessor to arrays stored in the data store.
TH1F * h_Shower
Shower Energy distribution.
TH2F * hEMDoseECB
Radiation Dose Backward Calorimeter.
Class BeamBackHit - Stores hits from beam backgound simulation.
int FillARICHBeamBack(BeamBackHit *aBBHit)
Populate ARICH HAPD dose and flux histograms (from the BeamBack hits array)
StoreArray< BeamBackHit > m_BeamBackArray
Store array: BeamBackHit.
StoreArray< ECLSimHit > m_eclArray
Store array: ECLSimHit.
TH1F * h_NeutronEThetaID0
Neutron Energy, First Crystal.
TH1F * hEMDose
Radiation Dose per cell.
StoreArray< MCParticle > m_mcParticles
Store array: MCParticle.
TH1F * hDiodeFluxWideTID
Diode Neutron Flux Wide bins.
TH2F * hEnergyPerCrystalECF
Energy per crystal Forward Calorimeter.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
TH1F * hDiodeFlux
Diode Neutron Flux per cell.
int m_sampleTime
length of sample in us