14 std::vector<std::string>
const& vec,
bool cond) {
15 if (
GetFlag(
"filters-use-regex")) {
28 std::vector<int>
const& vec,
bool cond) {
36 std::vector<std::string>
const& vec,
bool cond) {
37 if (
GetFlag(
"filters-use-regex")) {
49 std::vector<std::string>
const& vec,
bool cond) {
56 std::vector<std::string>
const& vec,
bool cond) {
57 if (
GetFlag(
"filters-use-regex")) {
70 std::vector<std::string>
const& vec,
bool cond) {
71 if (
GetFlag(
"filters-use-regex")) {
84 std::vector<std::string>
const& vec,
bool cond) {
85 if (
GetFlag(
"filters-use-regex")) {
98 std::vector<std::string>
const& vec,
bool cond) {
99 if (
GetFlag(
"filters-use-regex")) {
112 std::vector<std::string>
const& vec, std::string attr_label,
bool cond) {
113 if (
GetFlag(
"filters-use-regex")) {
127 std::vector<std::string>
const& vec,
bool cond) {
128 if (
GetFlag(
"filters-use-regex")) {
137 std::vector<std::string>
const& vec,
bool cond) {
138 if (
GetFlag(
"filters-use-regex")) {
147 ch::erase_if(systs_, [&] (std::shared_ptr<Systematic> val) {
148 return !val->signal();
150 ch::erase_if(procs_, [&] (std::shared_ptr<Process> val) {
151 return !val->signal();
157 ch::erase_if(systs_, [&] (std::shared_ptr<Systematic> val) {
158 return val->signal();
160 ch::erase_if(procs_, [&] (std::shared_ptr<Process> val) {
161 return val->signal();
167 ch::erase_if(obs_, [&] (std::shared_ptr<Observation> val) {
168 return val->shape() ==
nullptr;
170 ch::erase_if(procs_, [&] (std::shared_ptr<Process> val) {
171 return val->shape() ==
nullptr;
177 ch::erase_if(procs_, [&] (std::shared_ptr<Process> val) {
178 return val->pdf() ==
nullptr;
184 ch::erase_if(obs_, [&] (std::shared_ptr<Observation> val) {
185 return val->data() ==
nullptr;
191 std::set<std::string> result =
193 std::set<std::string> result2 =
195 std::set<std::string> result3 =
197 result.insert(result2.begin(), result2.end());
198 result.insert(result3.begin(), result3.end());
203 std::set<int> result =
205 std::set<int> result2 =
207 std::set<int> result3 =
209 result.insert(result2.begin(), result2.end());
210 result.insert(result3.begin(), result3.end());
219 result.insert(result2.begin(), result2.end());
224 std::set<std::string> result = this->
SetFromObs(
230 result.insert(result2.begin(), result2.end());
231 result.insert(result3.begin(), result3.end());
236 std::set<std::string> result =
238 std::set<std::string> result2 =
240 std::set<std::string> result3 =
242 result.insert(result2.begin(), result2.end());
243 result.insert(result3.begin(), result3.end());
248 std::set<std::string> result = this->
SetFromObs(
254 result.insert(result2.begin(), result2.end());
255 result.insert(result3.begin(), result3.end());
260 std::set<std::string> result = this->
SetFromObs(
266 result.insert(result2.begin(), result2.end());
267 result.insert(result3.begin(), result3.end());
CombineHarvester & process_rgx(std::vector< std::string > const &vec, bool cond=true)
CombineHarvester & bin_id(std::vector< int > const &vec, bool cond=true)
CombineHarvester & backgrounds()
CombineHarvester & signals()
CombineHarvester & mass(std::vector< std::string > const &vec, bool cond=true)
CombineHarvester & pdfs()
CombineHarvester & process(std::vector< std::string > const &vec, bool cond=true)
std::set< R > SetFromObs(T func)
Fill an std::set using only the Observation entries.
CombineHarvester & data()
CombineHarvester & era(std::vector< std::string > const &vec, bool cond=true)
std::set< int > bin_id_set()
std::set< std::string > process_set()
CombineHarvester & attr(std::vector< std::string > const &vec, std::string attr_label, bool cond=true)
CombineHarvester & analysis(std::vector< std::string > const &vec, bool cond=true)
std::set< R > SetFromSysts(T func)
Fill an std::set using only the Systematic entries.
std::set< std::string > syst_type_set()
std::set< R > SetFromProcs(T func)
Fill an std::set using only the Process entries.
CombineHarvester & bin(std::vector< std::string > const &vec, bool cond=true)
std::set< std::string > mass_set()
std::set< std::string > bin_set()
CombineHarvester & syst_name(std::vector< std::string > const &vec, bool cond=true)
bool GetFlag(std::string const &flag) const
std::set< std::string > era_set()
std::set< std::string > channel_set()
CombineHarvester & histograms()
std::set< std::string > syst_name_set()
std::set< std::string > analysis_set()
CombineHarvester & channel(std::vector< std::string > const &vec, bool cond=true)
CombineHarvester & syst_type(std::vector< std::string > const &vec, bool cond=true)
virtual std::string const attribute(std::string const &attr_label) const
virtual std::string const & process() const
virtual std::string const & bin() const
virtual int bin_id() const
virtual std::string const & analysis() const
virtual std::string const & era() const
virtual std::string const & mass() const
virtual std::string const & channel() const
std::string const & type() const
std::string const & name() const
void FilterContainingRgx(Input &in, Filter const &filter, Converter fn, bool cond)
void FilterContaining(Input &in, Filter const &filter, Converter fn, bool cond)
void erase_if(Range &r, Predicate p)