 |
Belle II Software
release-05-02-19
|
14 #include <framework/datastore/RelationsObject.h>
17 #include <TMatrixDSym.h>
195 [[deprecated(
"will be removed in release-04.")]]
256 [[deprecated(
"Please use hasHypothesis().")]]
289 [[deprecated(
"will be removed in release-04.")]]
350 [[deprecated(
"will be removed in release-04.")]]
358 bool hasStatus(
EStatusBit bitmask)
const {
return (
m_status &
static_cast<short unsigned>(bitmask)) ==
static_cast<short unsigned>(bitmask); }
double getNumberOfHadronDigits() const
Return number of hadron digits in cluster.
Double32_t m_r
Radius [cm].
TVector3 getClusterPosition() const
Return TVector3 on cluster position (x,y,z)
void setE1oE9(double E1oE9)
Set E1/E9 energy ratio.
void setTime(double time)
Set time information.
bool hasTriggerClusterMatching() const
Check if ECLTRGCluster to ECLCluster matcher has run.
void setUncertaintyEnergy(double energyunc)
Set energy uncertainty.
void setIsTrack(bool istrack)
Set m_isTrack true if the cluster matches with a track.
@ c_none
None as initializer.
@ c_PulseShapeDiscrimination
bit 2: ECLCluster has pulse shape discrimination variables.
@ c_TriggerCluster
bit 0: ECLCluster is matched to a ECL trigger cluster
ECLCluster()
default constructor : all values are set to 0, IDs set to -1, flags to false
double getE9oE21() const
Return E9/E21 (shower shape variable).
void setUncertaintyTheta(double thetaunc)
Set theta uncertainty.
@ c_fitTimeFailed
bit 3: ECLCluster has fit time that failed.
ClassDef(ECLCluster, 14)
Class definition.
double getPulseShapeDiscriminationMVA() const
Return MVA classifier that uses pulse shape discrimination to identify electromagnetic vs hadronic sh...
Double32_t m_numberOfCrystals
Number of Crystals in a shower (sum of weights).
Double32_t m_deltaTime99
Delta Time 99.
@ c_mergedPi0
CR is reconstructed as merged pi0 (N3)
double getDeltaTime99() const
Return cluster delta time 99.
bool hasFailedTimeResolution() const
Check if ECLCluster has a time resolution calculation that failed.
@ c_timeResolutionFailed
bit 4: ECLCluster has time resolution calculation that failed.
void setClusterHadronIntensity(double ClusterHadronIntensity)
set Cluster Hadron Component Intensity.
void setMaxECellId(unsigned short cellid)
Set cellID of maximum energy crystal.
EHypothesisBit
The hypothesis bits for this ECLCluster (Connected region (CR) is split using this hypothesis.
void setNumberOfCrystals(double noc)
Set number of crystals (sum of weights).
Double32_t m_deltaL
Delta L as defined in arXiv:0711.1593.
@ c_TriggerClusterMatching
bit 1: ECLCluster to ECLTRGCluster matcher was run
double getUncertaintyTheta() const
Return Uncertainty on Theta of Shower.
double getTheta() const
Return Corrected Theta of Shower (radian).
double getPhi() const
Return Corrected Phi of Shower (radian).
@ c_nPhotons
CR is split into n photons (N1)
void setHypothesis(EHypothesisBit hypothesis)
Set hypotheses.
int getHypothesisId() const
Return hypothesis id.
double getR() const
Return R.
double getLAT() const
Return LAT (shower shape variable).
int getUniqueId() const
Return (pseudo) unique Id based on CRId, ShowerId and HypothesisID.
void setEnergy(double energy)
Set Corrected Energy (GeV).
void setUncertaintyPhi(double phiunc)
Set phi uncertainty.
Double32_t m_ClusterHadronIntensity
Cluster Hadron Component Intensity (pulse shape discrimination variable).
bool hasHypothesis(EHypothesisBit bitmask) const
Return if specific hypothesis bit is set.
void setAbsZernike51(double zernike51)
Set Zernike 51.
unsigned short m_status
Cluster status.
double getSecondMoment() const
Return second moment (shower shape variable).
unsigned short getStatus() const
Return status.
double getNumberOfCrystals() const
Return number of a crystals in a shower (sum of weights).
double getZernikeMVA() const
Return MVA based hadron/photon value based on Zernike moments (shower shape variable).
unsigned short m_hypotheses
Hypothesis.
void setSecondMoment(double secondmoment)
Set SecondMoment.
Double32_t m_zernikeMVA
Zernike MVA.
void setConnectedRegionId(int crid)
Set connected region id.
@ c_muonNPhotons
CR is split into a muon and n photons (T1)
Double32_t m_secondMoment
Second Moment.
Double32_t m_phi
Phi [rad].
double getEnergy(const EHypothesisBit &hypothesis) const
Return Energy (GeV).
void removeHypothesis(EHypothesisBit bitmask)
Remove bitmask from current hypothesis.
double getEnergyRaw() const
Return Uncorrected Energy deposited (GeV)
bool isTrack() const
Return true if the cluster matches with track.
unsigned short getHypotheses() const
Return hypothesis (expert only, this returns a bti pattern).
void setMinTrkDistance(double distance)
Set distance between cluster COG and track extrapolation to ECL.
@ c_electronNPhotons
CR is split into an electron and n photons (T3)
void setZernikeMVA(double zernikemva)
Set Zernike 20.
void setNumberOfHadronDigits(double NumberOfHadronDigits)
set Number of hadron digits in cluster .
double getUncertaintyPhi() const
Return Uncertainty on Phi of Shower.
void setPhi(double phi)
Set Phi of Shower (radian).
void setLAT(double LAT)
Set Lateral distribution parameter.
Double32_t m_absZernike40
Zernike 40.
Abstract base class for different kinds of events.
double getEnergyHighestCrystal() const
Return energy of highest energetic crystal in cluster (GeV)
bool m_isTrack
Is related to track (true) or not (false).
void setdeltaL(double deltaL)
Set deltaL for shower shape.
double getTime() const
Return cluster time.
bool hasPulseShapeDiscrimination() const
Check if ECLCluster has any ECLDigits with waveforms that also passed two component fit chi2 threshol...
void addHypothesis(EHypothesisBit bitmask)
Add bitmask to current hypothesis.
void setEnergyRaw(double energyraw)
Set Uncorrect Energy deposited (GeV).
double getDeltaL() const
Return deltaL.
void setStatus(EStatusBit status)
Set status.
void removeStatus(EStatusBit bitmask)
Remove bitmask from current status.
Double32_t m_sqrtcovmat_22
Covariance matrix 22, sigma_theta, between 0 and 50 mrad.
void setClusterId(int clusterid)
Set cluster id.
void setDeltaTime99(double dtime99)
Set 99% time containment range.
Double32_t m_PulseShapeDiscriminationMVA
MVA classifier that uses pulse shape discrimination to identify electromagnetic vs hadronic showers.
@ c_neutralHadron
CR is reconstructed as a neutral hadron (N2)
double getAbsZernike40() const
Return Zernike moment 40 (shower shape variable).
double getAbsZernike51() const
Return Zernike moment 51 (shower shape variable).
void setR(double r)
Set R (in cm).
unsigned short getMaxECellId() const
Return cellID of maximum energy crystal.
void setPulseShapeDiscriminationMVA(double PulseShapeDiscriminationMVA)
set Pulse Shape Discrimination MVA
bool hasStatus(EStatusBit bitmask) const
Return if specific status bit is set.
void setE9oE21(double E9oE21)
Set E9/E21 energy ratio.
@ c_chargedHadron
CR is reconstructed as a charged hadron (T2)
bool isTriggerCluster() const
Check if ECLCluster is matched to an ECLTRGCluster.
void addStatus(EStatusBit bitmask)
Add bitmask to current status.
Double32_t m_sqrtcovmat_00
Covariance entry 00 sigma_E (1% to 25% between 10 MeV and 8 GeV)
double getE1oE9() const
Return E1/E9 (shower shape variable).
int m_clusterId
Cluster id.
double getClusterHadronIntensity() const
Return Cluster hadron intensity.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Double32_t m_covmat_21
Covariance matrix 21, not used yet.
void setEnergyHighestCrystal(double energyhighestcrystal)
Set energy of highest energetic crystal (GeV).
void setAbsZernike40(double zernike40)
Set Zernike 40.
Double32_t m_logEnergy
< Log.
EStatusBit
The status information for the ECLCluster.
double getUncertaintyEnergy() const
Return Uncertainty on Energy of Shower.
Double32_t m_covmat_20
Covariance matrix 20, not used yet.
Double32_t m_absZernike51
Zernike 51.
TMatrixDSym getCovarianceMatrix3x3() const
Return TMatrixDsym 3x3 covariance matrix for E, Phi and Theta.
Double32_t m_NumberOfHadronDigits
Number of hadron digits in cluster (pulse shape discrimination variable).
bool isNeutral() const
Return true if cluster has no match with track.
int m_connectedRegionId
Connected Region of this cluster.
unsigned short m_maxECellId
CellID of maximum energy crystal.
Double32_t m_E9oE21
E9oE21.
int getDetectorRegion() const
Return detector region: 0: below acceptance, 1: FWD, 2: BRL, 3: BWD, 11: FWDGAP, 13: BWDGAP.
Double32_t m_covmat_10
Covariance matrix 10, not used yet.
Double32_t m_theta
Theta [rad].
int getConnectedRegionId() const
Return connected region id.
Double32_t m_sqrtcovmat_11
Covariance matrix 11, sigma_phi, between 0 and 50 mrad.
Double32_t m_logEnergyHighestCrystal
Log.
int getClusterId() const
Return cluster id.
Double32_t m_logEnergyRaw
Log.
void setCovarianceMatrix(double covArray[6])
Set covariance matrix (3x3), i.e.
void setTheta(double theta)
Set Theta of Shower (radian).
bool hasFailedFitTime() const
Check if ECLCluster has a fit time that failed.
double getMinTrkDistance() const
Get distance between cluster COG and track extrapolation to ECL.
Double32_t m_minTrkDistance
Distance between cluster center and track extrapolation to ECL.