Belle II Software  release-06-02-00
ARICHNtupleStruct.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include "arich/dataobjects/ARICHPhoton.h"
12 
13 //#define ALIGNMENT_USING_BHABHA
14 
15 namespace Belle2 {
20  namespace ARICH {
21 
25  struct ParticlesArray {
26  Float_t e{0};
27  Float_t mu{0};
28  Float_t pi{0};
29  Float_t K{0};
30  Float_t p{0};
31  Float_t d{0};
36  void clear()
37  {
38  *this = ParticlesArray();
39  }
40  };
41 
42 
46  struct TrackHit {
47  Int_t PDG{0};
48  Float_t x{0};
49  Float_t y{0};
50  Float_t z{0};
51  Float_t p{0};
52  Float_t theta{0};
53  Float_t phi{0};
58  void clear()
59  {
60  *this = TrackHit();
61  }
62 
63  };
64 
65 
69  struct ARICHTree {
70  Int_t evt{0};
71  Int_t run{0};
72  Int_t exp{0};
74  Short_t charge{0};
75  Float_t pValue{0};
76  Float_t z0{0};
77  Float_t d0{0};
78 #ifdef ALIGNMENT_USING_BHABHA
79  Float_t eop {0};
80  Float_t e9e21{0};
81  Float_t etot{0};
82 #endif
83 
84  Int_t PDG{0};
85  Int_t motherPDG{0};
86  Int_t status{0};
87  Short_t primary{0};
88  Short_t seen{0};
89  Float_t rhoProd{0};
90  Float_t zProd{0};
91  Float_t phiProd{0};
92  Float_t rhoDec{0};
93  Float_t zDec{0};
94  Float_t phiDec{0};
95  Int_t scatter{0};
97  Int_t detPhot{0};
98  Int_t nCDC{0};
99  Bool_t inAcc{0};
107  Int_t nRec{0};
108  std::vector<Belle2::ARICHPhoton> photons;
109  Float_t winHit[2] {0};
110  Int_t trgtype{0};
115  void clear()
116  {
117  *this = ARICHTree();
118  }
119  };
120 
121  } // ARICH namestace
123 } // Belle2 namespace
Abstract base class for different kinds of events.
Structure of a flat ntuple.
Float_t zDec
decay vertex (cylindrical coordinate z) of MCParticle
Int_t detPhot
number of detected photons
Int_t nCDC
number of track CDC hits
Float_t winHit[2]
vector of reconstructed photons
Float_t rhoDec
decay vertex (cylindrical coordinate r) of MCParticle
ParticlesArray logL
log likelihoods
Int_t scatter
1 if particle scattered (i.e.
Int_t nRec
number of reconstructed photons
Short_t primary
is a primary particle (from related MCParticle)
Short_t seen
is seen in ARICH (from related MCParticle)
TrackHit recHit
extrapolated Track hit
Int_t motherPDG
PDG code of related mother MCParticle.
ParticlesArray numBkg
number of expected background photons
ParticlesArray expPhot
number of expected photons (signal + bkg)
Float_t phiProd
production vertex (cylindrical coordinate phi) of MCParticle
Int_t trgtype
track hit on hapd window (x,y coordinates)
Float_t rhoProd
production vertex (cylindrical coordinate r) of MCParticle
void clear()
Clear the structure: set elements to zero.
Float_t phiDec
decay vertex (cylindrical coordinate phi) of MCParticle
Bool_t inAcc
track in detector acceptance, i.e.
TrackHit mcHit
related MC particle hit
Int_t PDG
PDG code of related MCParticle.
Int_t status
track status (add proper description)
Float_t pValue
p-value of Track fit
Float_t zProd
production vertex (cylindrical coordinate z) of MCParticle
Structure for particle hypothesis dependent arrays.
void clear()
Clear the structure: set elements to zero.
Structure for track parameters at ARICH.
Float_t p
momentum magnitude
Float_t z
impact point, z component
Float_t theta
momentum polar angle
Float_t phi
momentum azimuthal angle
Float_t x
impact point, x component
void clear()
Clear the structure: set elements to zero.
Float_t y
impact point, y component