2 #ifndef RIVET_VetoedFinalState_HH
3 #define RIVET_VetoedFinalState_HH
5 #include "Rivet/Tools/Logging.hh"
6 #include "Rivet/Rivet.hh"
7 #include "Rivet/Particle.hh"
8 #include "Rivet/Event.hh"
9 #include "Rivet/Projection.hh"
10 #include "Rivet/Projections/FinalState.hh"
48 : _vetoCodes(vetocodes)
58 : _vetoCodes(vetocodes)
83 _vetoCodes.insert(make_pair(
id, ptrange));
105 BinaryCut ptrange(0.0, numeric_limits<double>::max());
106 _vetoCodes.insert(make_pair(
id, ptrange));
122 double halfWidth = 0.5*width;
123 BinaryCut massRange(mass - halfWidth, mass + halfWidth);
124 _compositeVetoes.insert(make_pair(nProducts, massRange));
125 _nCompositeDecays.insert(nProducts);
133 _parentVetoes.insert(
id);
152 stringstream st_name;
153 st_name <<
"FS_" << _vetofsnames.
size();
154 string name = st_name.str();
156 _vetofsnames.insert(name);
177 set<int> _nCompositeDecays;
179 typedef set<long> ParentVetos;
182 ParentVetos _parentVetoes;
185 set<string> _vetofsnames;