Belle II Software  release-08-01-10
SkimSampleCalculator.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 <hlt/softwaretrigger/core/SoftwareTriggerObject.h>
11 #include <hlt/softwaretrigger/calculations/SoftwareTriggerCalculation.h>
12 #include <analysis/dataobjects/ParticleList.h>
13 #include <framework/datastore/StoreObjPtr.h>
14 
15 namespace Belle2 {
20  namespace SoftwareTrigger {
29  public:
32 
34  void requireStoreArrays() override;
35 
37  void doCalculation(SoftwareTriggerObject& calculationResult) override;
38 
39  private:
57  std::string m_filterL1TrgNN = "";
62  };
63  }
65 }
Implementation of a calculator used in the SoftwareTriggerModule to fill a SoftwareTriggerObject for ...
StoreObjPtr< ParticleList > m_pionParticles
Internal storage of the tracks as particles.
StoreObjPtr< ParticleList > m_gammaParticles
Internal storage of the ECL clusters as particles.
StoreObjPtr< ParticleList > m_BzParticles
Internal storage of the B0's.
StoreObjPtr< ParticleList > m_LambdaParticles
Internal storage of the Lambda0's.
StoreObjPtr< ParticleList > m_pionHadParticles
Internal storage of the tracks as particles (definition for hadronb).
void requireStoreArrays() override
Require the particle list. We do not need more here.
void doCalculation(SoftwareTriggerObject &calculationResult) override
Actually write out the variables into the map.
SkimSampleCalculator()
Set the default names for the store object particle lists.
StoreObjPtr< ParticleList > m_KsParticles
Internal storage of the K_S0's.
std::string m_filterL1TrgNN
HLT filter line for the TRG skim.
StoreObjPtr< ParticleList > m_DstParticles
Internal storage of the D*'s.
StoreObjPtr< ParticleList > m_pionTauParticles
Internal storage of the tracks as particles (definition for tau skims).
StoreObjPtr< ParticleList > m_BpParticles
Internal storage of the B+'s.
StoreObjPtr< ParticleList > m_offIpParticles
Internal storage of the tracks for alignment calibration.
Base class for all calculation algorithms to be used when calculating the variables needed in the Sof...
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.