Belle II Software development
ECLTrackCalDigitMatchModule.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 headers. */
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14
15namespace Belle2 {
20 class Track;
21 class ECLCalDigit;
22 class ECLEnergyCloseToTrack;
23
24 namespace ECL {
25 class ECLGeometryPar;
26 }
31
32 public:
33
38
40 virtual void initialize() override;
41
43 virtual void event() override;
44
45 private:
46
47 // module parameter(s)
48 double m_extRadius {130.0};
49 double m_angleFWDGap {31.80};
50 double m_angleBWDGap {129.70};
53 // other
54 double m_extZFWD {0.};
55 double m_extZBWD {0.};
57 std::vector < int > m_eclCalDigitsArray;
59 std::map <int, std::vector<int> > m_FWD3Barrel;
60 std::map <int, std::vector<int> > m_FWD3Endcap;
61 std::map <int, std::vector<int> > m_BWD3Barrel;
62 std::map <int, std::vector<int> > m_BWD3Endcap;
70 };
72}
Module to find the closest ECLCalDigits to an extrapolated track.
double m_extZFWD
z position (FWD) to which track is extrapolated
std::map< int, std::vector< int > > m_FWD3Endcap
map between phi id and FWD3 cell ids on the endcap side
virtual void initialize() override
initialize
int m_trackHypothesis
Track hypothesis to be used (will use closest one)
StoreArray< ECLEnergyCloseToTrack > m_anaEnergyCloseToTrack
Analysis level information attached to a track.
std::map< int, std::vector< int > > m_BWD3Barrel
map between phi id and BWD3 cell ids on the barrel side
double m_extZBWD
z position (BWD) to which track is extrapolated
double m_extRadius
radius to which track is extrapolated (using track parameters, not GEANT)
std::map< int, std::vector< int > > m_FWD3Barrel
map between phi id and FWD3 cell ids on the barrel side
StoreArray< Track > m_tracks
Required input array of Tracks.
ECL::ECLGeometryPar * geom
ECL geometry.
ECLTrackCalDigitMatchModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::map< int, std::vector< int > > m_BWD3Endcap
map between phi id and BWD3 cell ids on the endcap side
StoreArray< ECLCalDigit > m_eclCalDigits
Required input array of ECLCalDigits
std::vector< int > m_eclCalDigitsArray
eclCalDigits in array
The Class for ECL Geometry Parameters.
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.