 |
Belle II Software
release-05-02-19
|
17 #include <framework/datastore/RelationsObject.h>
20 #include <TMatrixDSym.h>
79 m_Error{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
147 void setR(
double R) {
m_r = R; }
156 for (
unsigned int i = 0; i < 6; i++) {
295 double getR()
const {
return m_r; }
302 for (
unsigned int i = 0; i < 6; i++) {
437 TMatrixDSym covmatecl(3);
446 for (
int i = 0; i < 3; i++)
447 for (
int j = 0; j < i ; j++)
448 covmatecl(j, i) = covmatecl(i, j);
457 if (theta < 0.2164208)
return 0;
458 if (theta < 0.5480334)
return 1;
459 if (theta < 0.561996)
return 11;
460 if (theta < 2.2462387)
return 2;
461 if (theta < 2.2811453)
return 13;
462 if (theta < 2.7070057)
return 3;
471 bool hasStatus(
unsigned short int bitmask)
const {
return (
m_status & bitmask) == bitmask; }
void setTheta(double Theta)
Set Theta (rad)
int m_hypothesisId
Hypothesis ID (TF)
double getEnergyHighestCrystal() const
Get Highest Energy in Shower.
int getHypothesisId() const
Get Hypothesis Id.
double getLateralEnergy() const
Get Lateral Energy in Shower.
void setPulseShapeDiscriminationMVA(double mvaVal)
Set shower hadron intensity.
bool m_isTrk
Match with track (GDN)
void setShowerId(int ShowerId)
Set Shower ID.
void getCovarianceMatrixAsArray(double covArray[6]) const
Get Error Array for Energy->[0], Phi->[2], Theta->[5].
int getShowerId() const
Get Shower Id.
@ c_hasDeadCrystal
bit 0: Dead crystal within nominal shower neighbour region.
int getUniqueId() const
Return unique identifier.
double getNumberOfCrystalsForEnergy() const
Get number of crystals used for energy calculation.
int m_centralCellId
Central cell ID (TF)
void setStatus(int Status)
Set Status.
bool hasHotCrystal() const
Check if shower contains a hot crystal.
void setCovarianceMatrix(double covArray[6])
Set symmetric Error Array(3x3) for [0]->Error on Energy [2]->Error on Phi [5]->Error on Theta.
void setDeltaTime99(double TimeReso)
Set Time Resolution.
double getSecondMoment() const
Get second moment.
Double32_t m_energy
Energy (GeV)
double getUncertaintyPhi() const
Get Error of phi.
bool getIsTrack() const
Get if matched with a Track.
Double32_t m_absZernike40
Shower shape variable, absolute value of Zernike Moment 40 (TF)
void setIsTrack(bool val)
Set Match with Track.
double getTrkDepth() const
path on track extrapolation to POCA to average cluster direction
@ c_mergedPi0
CR is reconstructed as merged pi0 (N3)
double getTheta() const
Get Theta.
double getE9oE21() const
Get energy ratio E9oE21.
int m_connectedRegionId
Connected Region ID (TF)
Double32_t m_nominalNumberOfCrystalsForEnergy
number of crystals used for energy calculation (TF)
void setNominalNumberOfCrystalsForEnergy(double nominalNumberOfCrystalsForEnergy)
Set nominal number of crystals used for energy calculation.
std::vector< unsigned int > m_listOfCrystalsForEnergy
list of cell ids used for energy calculation (TF)
Double32_t m_absZernike51
Shower shape variable, absolute value of Zernike Moment 51 (TF)
TMatrixDSym getCovarianceMatrix3x3() const
Return TMatrixDsym 3x3 covariance matrix for E, Phi and Theta.
double getNumberOfHadronDigits() const
Get number of hadron digits.
@ c_electronNPhotons
CR is split into an electron and n photons (T3)
int getStatus() const
Get Status.
void setR(double R)
Set R.
Double32_t m_E1oE9
Shower shape variable, E1oE9 (TF)
@ c_hasHotCrystal
bit 1: Hot crystal within nominal shower neighbour region.
void setLateralEnergy(double lateralEnergy)
Set Lateral Energy.
Double32_t m_numberOfCrystalsForEnergy
number of crystals used for energy calculation (TF)
double getNumberOfCrystals() const
Get NofCrystals.
int getDetectorRegion() const
Return detector region: 0: below acceptance, 1: FWD, 2: BRL, 3: BWD, 11: FWDGAP, 13: BWDGAP.
void setAbsZernike40(double absZernike40)
Set absolute value of Zernike moment 40.
std::vector< unsigned int > & getListOfCrystalsForEnergy()
Get list of cellids used for energy calculation.
@ c_hasProblematicCrystal
combined flag to test whether the shower is 'problematic'
Double32_t m_minTrkDistance
Distance between shower and closest track (GDN)
Double32_t m_phi
Phi (rad)
void setConnectedRegionId(int connectedRegionId)
Set Connected region ID.
TVector3 getMomentum() const
The method to get return TVector3 Momentum.
void setEnergy(double Energy)
Set Energy.
double getPulseShapeDiscriminationMVA() const
Get shower hadron intensity.
int getCentralCellId() const
Get central cell Id.
Double32_t m_lateralEnergy
Lateral Energy in Shower (GDN)
double getShowerDepth() const
path on track extrapolation to POCA to average cluster direction
@ c_neutralHadron
CR is reconstructed as a neutral hadron (N2)
void setNumberOfCrystalsForEnergy(double numberOfCrystalsForEnergy)
Set number of crystals used for energy calculation.
@ c_hasPulseShapeDiscrimination
bit 2: Shower has pulse shape discrimination variables.
@ c_muonNPhotons
CR is split into a muon and n photons (T1)
bool hasProblematicCrystal() const
Check if shower contains a problematic crystal.
double getZernikeMVA() const
Get Zernike MVA.
Double32_t m_theta
Theta (rad)
Double32_t m_zernikeMVA
Shower shape variable, zernike MVA output.
bool hasStatus(unsigned short int bitmask) const
Return if specific status bit is set.
Hypothesis
The hypothesis ID for ECLShowers.
double getPhi() const
Get Phi.
Double32_t m_ShowerHadronIntensity
Shower Hadron Component Intensity (pulse shape discrimination variable).
void setEnergyRaw(double EnergySum)
Set Raw Energy Sum.
void setE9oE21(double E9oE21)
Set energy ration E9 over E21.
void setShowerDepth(double showerDepth)
Set path on the average cluster direction.
Abstract base class for different kinds of events.
void setMinTrkDistance(double dist)
Set Distance to closest track.
double getEnergy() const
Get Energy.
double getEnergyRaw() const
Get Energy Sum.
Double32_t m_Error[6]
Error of Energy, Theta and Phi.
void setZernikeMVA(double zernikeMVA)
SetZernike MVA value.
void setSecondMoment(double secondMoment)
Set second moment.
void setListOfCrystalsForEnergy(const std::vector< unsigned int > &listofcrystals)
Set list of cell ids used for energy calculation.
Double32_t m_secondMoment
Shower shape variable, second moment (for merged pi0) (TF)
void setNumberOfCrystals(double nofCrystals)
Set sum of weights of crystals.
Double32_t m_E9oE21
Shower shape variable, E9oE25.
double getUncertaintyEnergy() const
Get Error of Energy.
double getDeltaTime99() const
Get Time Resolution.
void setTime(double Time)
Set Time.
double getAbsZernike51() const
Get absolute value of Zernike moment 51.
void setE1oE9(double E1oE9)
Set energy ration E1 over E9.
Double32_t m_showerDepth
Same as above, but on the cluster average direction (GDN)
void setEnergyHighestCrystal(double HighestEnergy)
Set Highest Energy.
Double32_t m_energyRaw
Raw Energy Sum(GeV)
@ c_nPhotons
CR is split into n photons (N1)
double getAbsZernike40() const
Get absolute value of Zernike moment 40.
double getE1oE9() const
Get energy ratio E1oE9.
double getUncertaintyTheta() const
Get Error of theta.
ECLShower()
Default constructor for ROOT.
double getTime() const
Get Time.
Double32_t m_NumberOfHadronDigits
Number of hadron digits in shower (pulse shape discrimination variable).
void setPhi(double Phi)
Set Phi (rad)
Double32_t m_PulseShapeDiscriminationMVA
MVA classifier that uses pulse shape discrimination to identify electromagnetic vs hadronic showers.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
void setNumberOfHadronDigits(double NumberOfHadronDigits)
Set numver of hadron digits.
void setHypothesisId(int hypothesisId)
Set Hypothesis identifier.
void addStatus(unsigned short int bitmask)
Add bitmask to current status.
bool hasDeadCrystal() const
Check if shower contains a dead crystal.
void setAbsZernike51(double absZernike51)
Set absolute value of Zernike moment 51.
void setShowerHadronIntensity(double hadronIntensity)
Set shower hadron intensity.
Double32_t m_trkDepth
Path on track ext.
double getShowerHadronIntensity() const
Get shower hadron intensity.
void setTrkDepth(double trkDepth)
Set path on track extrapolation line to POCA to average cluster direction.
StatusBit
The status information for the ECLShowers.
double getNominalNumberOfCrystalsForEnergy() const
Get nominal number of crystals used for energy calculation.
double getR() const
Get R.
bool hasPulseShapeDiscrimination() const
Check if shower contains pulse shape discrimination information.
void setCentralCellId(int centralCellId)
Set central cell id.
Double32_t m_energyHighestCrystal
Highest Energy in Shower (GeV) (TF)
@ c_chargedHadron
CR is reconstructed as a charged hadron (T2)
int getConnectedRegionId() const
Get Connected region Id.
double getMinTrkDistance() const
Get distance to closest Track.
Double32_t m_numberOfCrystals
Sum of weights of crystals (~number of crystals) (TF)
Double32_t m_deltaTime99
Time that contains 99% of signal crystals.
Class to store ECL Showers.
ClassDef(ECLShower, 15)
ClassDef.