 |
Belle II Software
release-05-02-19
|
12 #include <hlt/softwaretrigger/core/SoftwareTriggerObject.h>
13 #include <hlt/softwaretrigger/calculations/SoftwareTriggerCalculation.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <mdst/dataobjects/Track.h>
16 #include <mdst/dataobjects/ECLCluster.h>
17 #include <mdst/dataobjects/TRGSummary.h>
18 #include <trg/cdc/Unpacker.h>
19 #include <framework/gearbox/Unit.h>
21 namespace Belle2::SoftwareTrigger {
32 class FilterCalculator :
public SoftwareTriggerCalculation {
41 void doCalculation(SoftwareTriggerObject& calculationResult)
override;
51 StoreArray<CDCTriggerUnpacker::NNBitStream>
m_bitsNN;
static const double cm
Standard units with the value = 1.
double m_goodMagneticRegionD0
minimum d0 for well understood magnetic field, if z0 is large (cm)
void requireStoreArrays() override
Require the particle list. We do not need more here.
double m_tightTrkZ0
which Z0 defines a tight track
FilterCalculator()
Set the default names for the store object particle lists.
double m_EminLab4Cluster
which lab energy defines nE300Lab
double m_cosmicMaxClusterEnergy
which LAB cluster energy vetoes a cosmic candidate
double m_looseTrkZ0
which Z0 defines a loose track
double m_E0min
which CMS energy defines nEmedium
double m_EsinglePhoton
which CMS energy defines nEsingleClust
StoreObjPtr< TRGSummary > m_l1Trigger
Store Object with the trigger result.
double m_Ehigh
which CMS energy defines nEhigh
void doCalculation(SoftwareTriggerObject &calculationResult) override
Actually write out the variables into the map.
double m_EminLab3Cluster
which lab energy defines nE500Lab
StoreArray< CDCTriggerUnpacker::NNBitStream > m_bitsNN
Store Object with the trigger NN bits.
double m_reducedEsinglePhoton
which CMS energy defines nReducedEsingle clusters
double m_cosmicMinPt
which LAB pt defines a cosmic
static const double GeV
Standard of [energy, momentum, mass].
StoreArray< ECLCluster > m_eclClusters
Store Array of the ecl clusters to be used.
double m_E2min
which CMS energy defines nElow
double m_EminLab
which lab energy defines nE180Lab
StoreArray< Track > m_tracks
Store Array of the tracks to be used.
double m_goodMagneticRegionZ0
maximum z0 for well understood magnetic field (cm)