Belle II Software release-09-00-00
CDCCosmicSelectorModule.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//basf2 framework headers
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <mdst/dataobjects/MCParticle.h>
15
16//C++/C standard lib elements.
17//#include <string>
18
19namespace Belle2 {
32
33 public:
36
38 void initialize() override;
39
44 void event() override;
45
46 private:
48 double m_xOfCounter;
49 double m_yOfCounter;
50 double m_zOfCounter;
52 double m_wOfCounter;
53 double m_lOfCounter;
54 double m_propSpeed;
55 int m_tof;
57 bool m_top;
58 };
59
61} // end of Belle2 namespace
double m_propSpeed
Light speed in counter (cm/ns)
void initialize() override
Initialize variables, print info, and start CPU clock.
double m_wOfCounter
full-width of counter (cm)
void event() override
Actual digitization of all hits in the CDC.
double m_phiOfCounter
phi-angle of counter (deg)
double m_lOfCounter
full-length of counter (cm)
bool m_cryGenerator
cry or cosmics generator
StoreArray< MCParticle > m_mcParticles
array of MCParticle
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.