#include "H1HadCheckLowQ2Selector.h" #include "H1Calculator/H1CalcGenericInterface.h" ClassImp(H1HadCheckLowQ2Selector) // Authors : David South // Created : 2002/02/17 // Last update: $Date: 2004/01/07 14:42:49 $ (UTC) // by: $Author: southd $ H1HadCheckLowQ2Selector::H1HadCheckLowQ2Selector() { SetCuts(); } H1HadCheckLowQ2Selector::~H1HadCheckLowQ2Selector(){} void H1HadCheckLowQ2Selector::SetCuts() { // Add cuts to the internal H1LtCutList // This makes use of the Generic access to the H1Calculator using namespace H1CalcGenericInterface; // HV Cuts AddRecCut(new H1CutBool(HV_ElanSel), "Elan_HV"); // Vertex AddCut(new H1CutDiscreteInt(Vertex_Type, 1), "Z-Vertex-Type"); AddCut(new H1CutFloat(Vertex_Z, -35.0, 35.0), "Z-Vertex"); // Kinematics AddCut(new H1CutFloat(Kine_Q2, 5.0, 100.0),"Q2 cut"); AddCut(new H1CutFloat(Kine_Y, 0.04, 0.7),"Y Cut"); // Electron Cuts AddCut(new H1CutDiscreteInt(Elec_Type, 4),"Electron Type"); AddCut(new H1CutLorentz(Elec_FirstElectron, H1CutLorentz::E, 8.0, FLT_MAX),"Electron Energy"); AddCut(new H1CutFloat(Elec_Ecra, -FLT_MAX, 4.0),"ECRA"); // E-pz AddCut(new H1CutFloat(Fs_Empz, 35.0, FLT_MAX), "E-pz"); // Turn on debugging //SetDebug(); }