Belle II Software  release-05-02-19
TPCStudyModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef TPCSTUDYMODULE_H
12 #define TPCSTUDYMODULE_H
13 
14 #include <framework/core/HistoModule.h>
15 #include <vector>
16 
17 #include <TVector3.h>
18 #include <TH1.h>
19 #include <TH2.h>
20 
21 namespace Belle2 {
26  namespace microtpc {
27 
33  class TPCStudyModule : public HistoModule {
34 
35  public:
36 
41 
43  virtual ~TPCStudyModule();
44 
46  virtual void initialize() override;
47 
49  virtual void beginRun() override;
50 
52  virtual void event() override;
53 
55  virtual void endRun() override;
56 
58  virtual void terminate() override;
59 
61  virtual void defineHisto() override;
62 
63 
64  private:
65 
67  virtual void getXMLData();
68 
70  int m_ChipColumnNb;
72  int m_ChipRowNb;
74  double m_ChipColumnX;
76  double m_ChipRowY;
78  double m_z_DG;
80  int nTPC = 0;
82  std::vector<TVector3> TPCCenter;
84  //int Event = 0;
86  TH1F* h_tpc_kin[100];
88  TH2F* h_tpc_xy[100];
89 
90  };
91 
92  }
94 }
95 
96 #endif /* TPCSTUDYMODULE_H */
Belle2::microtpc::TPCStudyModule::m_ChipColumnX
double m_ChipColumnX
Chip column x dimension.
Definition: TPCStudyModule.h:82
Belle2::microtpc::TPCStudyModule::h_tpc_kin
TH1F * h_tpc_kin[100]
Event counter.
Definition: TPCStudyModule.h:94
Belle2::microtpc::TPCStudyModule::m_z_DG
double m_z_DG
z drift gap
Definition: TPCStudyModule.h:86
Belle2::microtpc::TPCStudyModule::initialize
virtual void initialize() override
Function for dynamic initialization of module.
Definition: TPCStudyModule.cc:83
Belle2::microtpc::TPCStudyModule::nTPC
int nTPC
number of detectors.
Definition: TPCStudyModule.h:88
Belle2::microtpc::TPCStudyModule::event
virtual void event() override
Function to process event record.
Definition: TPCStudyModule.cc:98
Belle2::microtpc::TPCStudyModule::endRun
virtual void endRun() override
Function to process end_run record.
Definition: TPCStudyModule.cc:309
Belle2::microtpc::TPCStudyModule::TPCCenter
std::vector< TVector3 > TPCCenter
TPC coordinate.
Definition: TPCStudyModule.h:90
Belle2::microtpc::TPCStudyModule
Study module for TPCs (BEAST)
Definition: TPCStudyModule.h:41
Belle2::microtpc::TPCStudyModule::defineHisto
virtual void defineHisto() override
Defines the histograms.
Definition: TPCStudyModule.cc:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::microtpc::TPCStudyModule::TPCStudyModule
TPCStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: TPCStudyModule.cc:56
Belle2::microtpc::TPCStudyModule::h_tpc_xy
TH2F * h_tpc_xy[100]
Track XY.
Definition: TPCStudyModule.h:96
Belle2::microtpc::TPCStudyModule::getXMLData
virtual void getXMLData()
reads data from MICROTPC.xml: tube location, drift data filename, sigma of impulse response function
Definition: TPCStudyModule.cc:287
Belle2::microtpc::TPCStudyModule::m_ChipColumnNb
int m_ChipColumnNb
Chip column number.
Definition: TPCStudyModule.h:78
Belle2::microtpc::TPCStudyModule::m_ChipRowY
double m_ChipRowY
Chip row y dimension.
Definition: TPCStudyModule.h:84
Belle2::microtpc::TPCStudyModule::m_ChipRowNb
int m_ChipRowNb
Chip row number.
Definition: TPCStudyModule.h:80
Belle2::microtpc::TPCStudyModule::beginRun
virtual void beginRun() override
Function to process begin_run record.
Definition: TPCStudyModule.cc:94
Belle2::microtpc::TPCStudyModule::terminate
virtual void terminate() override
Function to terminate module.
Definition: TPCStudyModule.cc:325