Belle II Software  release-06-00-14
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 #pragma once
9 
10 #include <framework/core/Module.h>
11 #include <framework/datastore/StoreArray.h>
12 
13 namespace Belle2 {
18  class Track;
19  class ECLCalDigit;
20  class ECLEnergyCloseToTrack;
21 
22  namespace ECL {
23  class ECLGeometryPar;
24  }
32 
33  public:
34 
39 
41  virtual void initialize() override;
42 
44  virtual void event() override;
45 
46  private:
47 
48  // module parameter(s)
49  double m_extRadius {130.0};
50  double m_angleFWDGap {31.80};
51  double m_angleBWDGap {129.70};
52  int m_trackHypothesis {11};
54  // other
55  double m_extZFWD {0.};
56  double m_extZBWD {0.};
58  std::vector < int > m_eclCalDigitsArray;
60  std::map <int , std::vector<int> > m_FWD3Barrel;
61  std::map <int , std::vector<int> > m_FWD3Endcap;
62  std::map <int , std::vector<int> > m_BWD3Barrel;
63  std::map <int , std::vector<int> > m_BWD3Endcap;
71  };
73 }
Module to find the closest ECLCalDigits to an extrapolated track.
double m_extZFWD
z position (FWD) to which track is extrapolated
virtual void initialize() override
initialize
int m_trackHypothesis
Track hypothesis to be used (will use closest one)
std::map< int, std::vector< int > > m_FWD3Barrel
map between phi id and FWD3 cell ids on the barrel side
std::map< int, std::vector< int > > m_BWD3Endcap
map between phi id and BWD3 cell ids on the endcap side
StoreArray< ECLEnergyCloseToTrack > m_anaEnergyCloseToTrack
Analysis level information attached to a track.
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)
StoreArray< Track > m_tracks
Required input array of Tracks.
ECL::ECLGeometryPar * geom
ECL geometry.
std::map< int, std::vector< int > > m_FWD3Endcap
map between phi id and FWD3 cell ids on the endcap side
ECLTrackCalDigitMatchModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::map< int, std::vector< int > > m_BWD3Barrel
map between phi id and BWD3 cell ids on the barrel 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.