SND@LHC Software
Loading...
Searching...
No Matches
sndBaseCut.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace snd {
6 namespace analysis_cuts{
7 class baseCut{
8 protected :
9 std::string cutName;
10 std::string shortName;
11 std::vector<int> nbins;
12 std::vector<double> range_start;
13 std::vector<double> range_end;
14 std::vector<double> plot_var;
15 public :
16 virtual bool passCut() = 0;
17 std::string getName() {return cutName;}
18
19 // For histograms
20 std::string getShortName() {return shortName;}
21 std::vector<int> getNbins() {return nbins;}
22 std::vector<double> getRangeStart() {return range_start;}
23 std::vector<double> getRangeEnd() {return range_end;}
24 std::vector<double> getPlotVar() {return plot_var;}
25 };
26
27 }
28}
std::vector< int > getNbins()
Definition sndBaseCut.h:21
std::vector< double > getRangeStart()
Definition sndBaseCut.h:22
std::vector< double > plot_var
Definition sndBaseCut.h:14
virtual bool passCut()=0
std::vector< double > getRangeEnd()
Definition sndBaseCut.h:23
std::vector< double > range_end
Definition sndBaseCut.h:13
std::vector< double > getPlotVar()
Definition sndBaseCut.h:24
std::vector< double > range_start
Definition sndBaseCut.h:12
std::vector< int > nbins
Definition sndBaseCut.h:11