Belle II Software development
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 {
29
30 public:
33
35 void initialize() override;
36
41 void event() override;
42
43 private:
45 double m_xOfCounter;
46 double m_yOfCounter;
47 double m_zOfCounter;
49 double m_wOfCounter;
50 double m_lOfCounter;
51 double m_propSpeed;
52 int m_tof;
54 bool m_top;
55 };
56
58} // 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.