Belle II Software  release-08-01-10
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 
15 namespace Belle2 {
20  class Track;
21  class ECLCalDigit;
22  class ECLEnergyCloseToTrack;
23 
24  namespace ECL {
25  class ECLGeometryPar;
26  }
34 
35  public:
36 
41 
43  virtual void initialize() override;
44 
46  virtual void event() override;
47 
48  private:
49 
50  // module parameter(s)
51  double m_extRadius {130.0};
52  double m_angleFWDGap {31.80};
53  double m_angleBWDGap {129.70};
54  int m_trackHypothesis {11};
56  // other
57  double m_extZFWD {0.};
58  double m_extZBWD {0.};
60  std::vector < int > m_eclCalDigitsArray;
62  std::map <int, std::vector<int> > m_FWD3Barrel;
63  std::map <int, std::vector<int> > m_FWD3Endcap;
64  std::map <int, std::vector<int> > m_BWD3Barrel;
65  std::map <int, std::vector<int> > m_BWD3Endcap;
73  };
75 }
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.