Belle II Software
release-08-01-10
|
Implementation of a calculator used in the SoftwareTriggerModule to fill a SoftwareTriggerObject for selecting particles for skimming and data quality monitoring. More...
#include <SkimSampleCalculator.h>
Public Member Functions | |
SkimSampleCalculator () | |
Set the default names for the store object particle lists. | |
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. | |
void | writeDebugOutput (const std::unique_ptr< TTree > &debugOutputTTree) |
Function to write out debug output into the given TTree. More... | |
void | addDebugOutput (const StoreObjPtr< SoftwareTriggerVariables > &storeObject, const std::string &prefix) |
Function to write out debug output into the given StoreObject. More... | |
const SoftwareTriggerObject & | fillInCalculations () |
Main function of this class: calculate the needed variables using the overwritten doCalculation function and write out the values into the results object (with their names). More... | |
Private Attributes | |
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_pionHadParticles |
Internal storage of the tracks as particles (definition for hadronb). | |
StoreObjPtr< ParticleList > | m_pionTauParticles |
Internal storage of the tracks as particles (definition for tau skims). | |
StoreObjPtr< ParticleList > | m_KsParticles |
Internal storage of the K_S0's. | |
StoreObjPtr< ParticleList > | m_LambdaParticles |
Internal storage of the Lambda0's. | |
StoreObjPtr< ParticleList > | m_DstParticles |
Internal storage of the D*'s. | |
StoreObjPtr< ParticleList > | m_offIpParticles |
Internal storage of the tracks for alignment calibration. | |
std::string | m_filterL1TrgNN = "" |
HLT filter line for the TRG skim. | |
StoreObjPtr< ParticleList > | m_BpParticles |
Internal storage of the B+'s. | |
StoreObjPtr< ParticleList > | m_BzParticles |
Internal storage of the B0's. | |
SoftwareTriggerObject | m_calculationResult |
Internal storage of the result of the calculation. | |
bool | m_debugPrepared = false |
Flag to not add the branches twice to the TTree. | |
Implementation of a calculator used in the SoftwareTriggerModule to fill a SoftwareTriggerObject for selecting particles for skimming and data quality monitoring.
This class implements the two main functions requireStoreArrays and doCalculation of the SoftwareTriggerCalculation class.
Definition at line 28 of file SkimSampleCalculator.h.
|
inherited |
Function to write out debug output into the given StoreObject.
Needs an already prefilled calculationResult for this (probably using the fillInCalculations function). All added variables are prefixed with the given prefix string.
Definition at line 34 of file SoftwareTriggerCalculation.cc.
|
inherited |
Main function of this class: calculate the needed variables using the overwritten doCalculation function and write out the values into the results object (with their names).
Please make sure to override (or clear) the variables! Otherwise it can happen that their old values are still in the object.
What variables exactly are added to the result depends on the implementation details of the class.
Definition at line 44 of file SoftwareTriggerCalculation.cc.
|
inherited |
Function to write out debug output into the given TTree.
Needs an already prefilled calculationResult for this (probably using the fillInCalculations function).
Definition at line 19 of file SoftwareTriggerCalculation.cc.