Belle II Software  release-05-02-19
ECLTRGInformationModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Torben Ferber (torben.ferber@desy.de) *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 
16 namespace Belle2 {
22  class ECLCalDigit;
23  class ECLCluster;
24  class ECLTRGInformation;
25  class ECLTriggerCell;
26  class TRGECLUnpackerStore;
27  class TRGECLUnpackerEvtStore;
28  class TrgEclMapping;
29 
36  class ECLTRGInformationModule : public Module {
37 
38  public:
39 
44 
46  virtual void initialize() override;
47 
49  virtual void event() override;
50 
52  virtual void terminate() override;
53 
54  private:
55 
58 
60  typedef std::map <unsigned, float> tcmap;
61 
62 
64  std::vector< int > m_calDigitStoreArrPosition;
65 
67  std::vector< int > m_TCStoreArrPosition;
68 
70  TrgEclMapping* m_trgmap{nullptr};
71 
79  };
81 }
Belle2::ECLTRGInformationModule::ECLTRGInformationModule
ECLTRGInformationModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: ECLTRGInformationModule.cc:45
Belle2::ECLTRGInformationModule::initialize
virtual void initialize() override
initialize
Definition: ECLTRGInformationModule.cc:55
Belle2::ECLTRGInformationModule::m_trgUnpackerStore
StoreArray< TRGECLUnpackerStore > m_trgUnpackerStore
Required input array of TRGECLUnpackerStore
Definition: ECLTRGInformationModule.h:82
Belle2::ECLTRGInformationModule::m_TCStoreArrPosition
std::vector< int > m_TCStoreArrPosition
vector (576+1 entries) with TC id to store array positions
Definition: ECLTRGInformationModule.h:75
Belle2::ECLTRGInformationModule::terminate
virtual void terminate() override
terminate
Definition: ECLTRGInformationModule.cc:287
Belle2::ECLTRGInformationModule::event
virtual void event() override
event
Definition: ECLTRGInformationModule.cc:79
Belle2::ECLTRGInformationModule::m_eclTRGInformation
StoreObjPtr< ECLTRGInformation > m_eclTRGInformation
Analysis level information per event holding TRG information.
Definition: ECLTRGInformationModule.h:86
Belle2::TrgEclMapping
A class of TC Mapping.
Definition: TrgEclMapping.h:31
Belle2::ECLTRGInformationModule::m_calDigitStoreArrPosition
std::vector< int > m_calDigitStoreArrPosition
vector (8736+1 entries) with cell id to store array positions
Definition: ECLTRGInformationModule.h:72
Belle2::ECLTRGInformationModule::m_eclCalDigits
StoreArray< ECLCalDigit > m_eclCalDigits
Required input array of ECLCalDigits
Definition: ECLTRGInformationModule.h:80
Belle2::ECLTRGInformationModule::tcmap
std::map< unsigned, float > tcmap
map TCId, energy
Definition: ECLTRGInformationModule.h:68
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::ECLTRGInformationModule::m_trgUnpackerEvtStore
StoreArray< TRGECLUnpackerEvtStore > m_trgUnpackerEvtStore
Required input array of TRGECLUnpackerEvtStore
Definition: ECLTRGInformationModule.h:83
Belle2::ECLTRGInformationModule::m_eclClusters
StoreArray< ECLCluster > m_eclClusters
Required input array of ECLClusters
Definition: ECLTRGInformationModule.h:81
Belle2::ECLTRGInformationModule::m_trgmap
TrgEclMapping * m_trgmap
TC mapping class.
Definition: ECLTRGInformationModule.h:78
Belle2::ECLTRGInformationModule::m_eclTCs
StoreArray< ECLTriggerCell > m_eclTCs
Output array of ECLTCs
Definition: ECLTRGInformationModule.h:85
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::ECLTRGInformationModule::m_clusterEnergyThreshold
double m_clusterEnergyThreshold
threshold for eclcluster energy sum
Definition: ECLTRGInformationModule.h:65