Belle II Software  release-05-02-19
CDCCosmicSelectorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: CDC group *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef CDCCOSMICSELECTOR_H
12 #define CDCCOSMICSELECTOR_H
13 
14 //basf2 framework headers
15 #include <framework/core/Module.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <mdst/dataobjects/MCParticle.h>
18 
19 //C++/C standard lib elements.
20 //#include <string>
21 
22 namespace Belle2 {
34  class CDCCosmicSelectorModule : public Module {
35 
36  public:
39 
41  void initialize() override;
42 
47  void event() override;
48 
49  private:
51  double m_xOfCounter;
52  double m_yOfCounter;
53  double m_zOfCounter;
54  double m_phiOfCounter;
55  double m_wOfCounter;
56  double m_lOfCounter;
57  double m_propSpeed;
58  int m_tof;
60  bool m_top;
61  };
62 
64 } // end of Belle2 namespace
65 
66 #endif // CDCCOSMICSELECTOR_H
Belle2::CDCCosmicSelectorModule::m_xOfCounter
double m_xOfCounter
x-pos.
Definition: CDCCosmicSelectorModule.h:59
Belle2::CDCCosmicSelectorModule::m_phiOfCounter
double m_phiOfCounter
phi-angle of counter (deg)
Definition: CDCCosmicSelectorModule.h:62
Belle2::CDCCosmicSelectorModule::initialize
void initialize() override
Initialize variables, print info, and start CPU clock.
Definition: CDCCosmicSelectorModule.cc:40
Belle2::CDCCosmicSelectorModule::m_propSpeed
double m_propSpeed
Light speed in counter (cm/ns)
Definition: CDCCosmicSelectorModule.h:65
Belle2::CDCCosmicSelectorModule::m_lOfCounter
double m_lOfCounter
full-length of counter (cm)
Definition: CDCCosmicSelectorModule.h:64
Belle2::CDCCosmicSelectorModule::event
void event() override
Actual digitization of all hits in the CDC.
Definition: CDCCosmicSelectorModule.cc:46
Belle2::CDCCosmicSelectorModule::m_yOfCounter
double m_yOfCounter
y-pos.
Definition: CDCCosmicSelectorModule.h:60
Belle2::CDCCosmicSelectorModule::m_zOfCounter
double m_zOfCounter
z-pos.
Definition: CDCCosmicSelectorModule.h:61
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCCosmicSelectorModule::CDCCosmicSelectorModule
CDCCosmicSelectorModule()
Constructor.
Definition: CDCCosmicSelectorModule.cc:21
Belle2::CDCCosmicSelectorModule::m_wOfCounter
double m_wOfCounter
full-width of counter (cm)
Definition: CDCCosmicSelectorModule.h:63
Belle2::CDCCosmicSelectorModule::m_top
bool m_top
top option
Definition: CDCCosmicSelectorModule.h:68
Belle2::CDCCosmicSelectorModule::m_tof
int m_tof
tof option
Definition: CDCCosmicSelectorModule.h:66
Belle2::CDCCosmicSelectorModule::m_cryGenerator
bool m_cryGenerator
cry or cosmics generator
Definition: CDCCosmicSelectorModule.h:67
Belle2::StoreArray< MCParticle >
Belle2::CDCCosmicSelectorModule::m_mcParticles
StoreArray< MCParticle > m_mcParticles
array of MCParticle
Definition: CDCCosmicSelectorModule.h:58