Belle II Software  release-05-01-25
ARICHNtupleStruct.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luka Santelj *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include "arich/dataobjects/ARICHPhoton.h"
14 
15 //#define ALIGNMENT_USING_BHABHA
16 
17 namespace Belle2 {
22  namespace ARICH {
23 
27  struct ParticlesArray {
28  Float_t e{0};
29  Float_t mu{0};
30  Float_t pi{0};
31  Float_t K{0};
32  Float_t p{0};
33  Float_t d{0};
38  void clear()
39  {
40  *this = ParticlesArray();
41  }
42  };
43 
44 
48  struct TrackHit {
49  Int_t PDG{0};
50  Float_t x{0};
51  Float_t y{0};
52  Float_t z{0};
53  Float_t p{0};
54  Float_t theta{0};
55  Float_t phi{0};
60  void clear()
61  {
62  *this = TrackHit();
63  }
64 
65  };
66 
67 
71  struct ARICHTree {
72  Int_t evt{0};
73  Int_t run{0};
74  Int_t exp{0};
76  Short_t charge{0};
77  Float_t pValue{0};
78  Float_t z0{0};
79  Float_t d0{0};
80 #ifdef ALIGNMENT_USING_BHABHA
81  Float_t eop {0};
82  Float_t e9e21{0};
83  Float_t etot{0};
84 #endif
85 
86  Int_t PDG{0};
87  Int_t motherPDG{0};
88  Int_t status{0};
89  Short_t primary{0};
90  Short_t seen{0};
91  Float_t rhoProd{0};
92  Float_t zProd{0};
93  Float_t phiProd{0};
94  Float_t rhoDec{0};
95  Float_t zDec{0};
96  Float_t phiDec{0};
97  Int_t scatter{0};
99  Int_t detPhot{0};
100  Int_t nCDC{0};
101  Bool_t inAcc{0};
109  Int_t nRec{0};
110  std::vector<Belle2::ARICHPhoton> photons;
111  Float_t winHit[2] {0};
112  Int_t trgtype{0};
117  void clear()
118  {
119  *this = ARICHTree();
120  }
121  };
122 
123  } // ARICH namestace
125 } // Belle2 namespace
Belle2::ARICH::ARICHTree::expPhot
ParticlesArray expPhot
number of expected photons (signal + bkg)
Definition: ARICHNtupleStruct.h:111
Belle2::ARICH::TrackHit::PDG
Int_t PDG
PDG code.
Definition: ARICHNtupleStruct.h:57
Belle2::ARICH::ARICHTree::exp
Int_t exp
exp number
Definition: ARICHNtupleStruct.h:82
Belle2::ARICH::ARICHTree::scatter
Int_t scatter
1 if particle scattered (i.e.
Definition: ARICHNtupleStruct.h:105
Belle2::ARICH::ARICHTree::recHit
TrackHit recHit
extrapolated Track hit
Definition: ARICHNtupleStruct.h:115
Belle2::ARICH::ARICHTree::charge
Short_t charge
charge
Definition: ARICHNtupleStruct.h:84
Belle2::ARICH::ParticlesArray::clear
void clear()
Clear the structure: set elements to zero.
Definition: ARICHNtupleStruct.h:46
Belle2::ARICH::ARICHTree::detPhot
Int_t detPhot
number of detected photons
Definition: ARICHNtupleStruct.h:107
Belle2::ARICH::ParticlesArray::mu
Float_t mu
for muon
Definition: ARICHNtupleStruct.h:37
Belle2::ARICH::ARICHTree::pValue
Float_t pValue
p-value of Track fit
Definition: ARICHNtupleStruct.h:85
Belle2::ARICH::ARICHTree::winHit
Float_t winHit[2]
vector of reconstructed photons
Definition: ARICHNtupleStruct.h:119
Belle2::ARICH::TrackHit::p
Float_t p
momentum magnitude
Definition: ARICHNtupleStruct.h:61
Belle2::ARICH::ARICHTree::clear
void clear()
Clear the structure: set elements to zero.
Definition: ARICHNtupleStruct.h:125
Belle2::ARICH::ParticlesArray::d
Float_t d
for deuteron
Definition: ARICHNtupleStruct.h:41
Belle2::ARICH::ARICHTree::evt
Int_t evt
event number
Definition: ARICHNtupleStruct.h:80
Belle2::ARICH::ParticlesArray::p
Float_t p
for proton
Definition: ARICHNtupleStruct.h:40
Belle2::ARICH::ARICHTree::d0
Float_t d0
track d0
Definition: ARICHNtupleStruct.h:87
Belle2::ARICH::ARICHTree::status
Int_t status
track status (add proper description)
Definition: ARICHNtupleStruct.h:96
Belle2::ARICH::ARICHTree::nRec
Int_t nRec
number of reconstructed photons
Definition: ARICHNtupleStruct.h:117
Belle2::ARICH::ARICHTree::rhoDec
Float_t rhoDec
decay vertex (cylindrical coordinate r) of MCParticle
Definition: ARICHNtupleStruct.h:102
Belle2::ARICH::TrackHit::x
Float_t x
impact point, x component
Definition: ARICHNtupleStruct.h:58
Belle2::ARICH::ARICHTree::zProd
Float_t zProd
production vertex (cylindrical coordinate z) of MCParticle
Definition: ARICHNtupleStruct.h:100
Belle2::ARICH::ARICHTree::rhoProd
Float_t rhoProd
production vertex (cylindrical coordinate r) of MCParticle
Definition: ARICHNtupleStruct.h:99
Belle2::ARICH::ParticlesArray
Structure for particle hypothesis dependent arrays.
Definition: ARICHNtupleStruct.h:35
Belle2::ARICH::ARICHTree::nCDC
Int_t nCDC
number of track CDC hits
Definition: ARICHNtupleStruct.h:108
Belle2::ARICH::ARICHTree::phiProd
Float_t phiProd
production vertex (cylindrical coordinate phi) of MCParticle
Definition: ARICHNtupleStruct.h:101
Belle2::ARICH::ARICHTree::numBkg
ParticlesArray numBkg
number of expected background photons
Definition: ARICHNtupleStruct.h:110
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICH::ARICHTree::logL
ParticlesArray logL
log likelihoods
Definition: ARICHNtupleStruct.h:112
Belle2::ARICH::ARICHTree::seen
Short_t seen
is seen in ARICH (from related MCParticle)
Definition: ARICHNtupleStruct.h:98
Belle2::ARICH::ARICHTree::primary
Short_t primary
is a primary particle (from related MCParticle)
Definition: ARICHNtupleStruct.h:97
Belle2::ARICH::ParticlesArray::e
Float_t e
for electron
Definition: ARICHNtupleStruct.h:36
Belle2::ARICH::ARICHTree::PDG
Int_t PDG
PDG code of related MCParticle.
Definition: ARICHNtupleStruct.h:94
Belle2::ARICH::ARICHTree
Structure of a flat ntuple.
Definition: ARICHNtupleStruct.h:79
Belle2::ARICH::ParticlesArray::K
Float_t K
for kaon
Definition: ARICHNtupleStruct.h:39
Belle2::ARICH::ARICHTree::phiDec
Float_t phiDec
decay vertex (cylindrical coordinate phi) of MCParticle
Definition: ARICHNtupleStruct.h:104
Belle2::ARICH::ARICHTree::run
Int_t run
run number
Definition: ARICHNtupleStruct.h:81
Belle2::ARICH::TrackHit::z
Float_t z
impact point, z component
Definition: ARICHNtupleStruct.h:60
Belle2::ARICH::ParticlesArray::pi
Float_t pi
for pion
Definition: ARICHNtupleStruct.h:38
Belle2::ARICH::ARICHTree::trgtype
Int_t trgtype
track hit on hapd window (x,y coordinates)
Definition: ARICHNtupleStruct.h:120
Belle2::ARICH::ARICHTree::motherPDG
Int_t motherPDG
PDG code of related mother MCParticle.
Definition: ARICHNtupleStruct.h:95
Belle2::ARICH::ARICHTree::mcHit
TrackHit mcHit
related MC particle hit
Definition: ARICHNtupleStruct.h:116
Belle2::ARICH::TrackHit::phi
Float_t phi
momentum azimuthal angle
Definition: ARICHNtupleStruct.h:63
Belle2::ARICH::ARICHTree::zDec
Float_t zDec
decay vertex (cylindrical coordinate z) of MCParticle
Definition: ARICHNtupleStruct.h:103
Belle2::TOP::TrackHit
Structure for track parameters at TOP.
Definition: NtupleStructure.h:60
Belle2::ARICH::TrackHit::theta
Float_t theta
momentum polar angle
Definition: ARICHNtupleStruct.h:62
Belle2::ARICH::ARICHTree::z0
Float_t z0
track z0
Definition: ARICHNtupleStruct.h:86
Belle2::ARICH::TrackHit::y
Float_t y
impact point, y component
Definition: ARICHNtupleStruct.h:59
Belle2::ARICH::TrackHit
Structure for track parameters at ARICH.
Definition: ARICHNtupleStruct.h:56
Belle2::ARICH::TrackHit::clear
void clear()
Clear the structure: set elements to zero.
Definition: ARICHNtupleStruct.h:68
Belle2::ARICH::ARICHTree::inAcc
Bool_t inAcc
track in detector acceptance, i.e.
Definition: ARICHNtupleStruct.h:109