Changeset 1d208a2 in git for external/fastjet/ClusterSequenceStructure.hh
- Timestamp:
- Aug 30, 2016, 12:36:00 AM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 6be4bc0
- Parents:
- d091310
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/ClusterSequenceStructure.hh
rd091310 r1d208a2 1 1 //FJSTARTHEADER 2 // $Id: ClusterSequenceStructure.hh 3433 2014-07-23 08:17:03Z salam$2 // $Id: ClusterSequenceStructure.hh 4047 2016-03-03 13:21:49Z soyez $ 3 3 // 4 4 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 76 76 77 77 /// description 78 virtual std::string description() const{ return "PseudoJet with an associated ClusterSequence"; } 78 virtual std::string description() const FASTJET_OVERRIDE{ 79 return "PseudoJet with an associated ClusterSequence"; 80 } 79 81 80 82 //------------------------------------------------------------- … … 85 87 //------------------------------------------------------------- 86 88 /// returns true if there is an associated ClusterSequence 87 virtual bool has_associated_cluster_sequence() const { return true;}89 virtual bool has_associated_cluster_sequence() const FASTJET_OVERRIDE{ return true;} 88 90 89 91 /// get a (const) pointer to the parent ClusterSequence (NULL if 90 92 /// inexistent) 91 virtual const ClusterSequence* associated_cluster_sequence() const ;93 virtual const ClusterSequence* associated_cluster_sequence() const FASTJET_OVERRIDE; 92 94 93 95 /// returns true if there is a valid associated ClusterSequence 94 virtual bool has_valid_cluster_sequence() const ;96 virtual bool has_valid_cluster_sequence() const FASTJET_OVERRIDE; 95 97 96 98 /// if the jet has a valid associated cluster sequence then return a 97 99 /// pointer to it; otherwise throw an error 98 virtual const ClusterSequence * validated_cs() const ;100 virtual const ClusterSequence * validated_cs() const FASTJET_OVERRIDE; 99 101 100 102 #ifndef __FJCORE__ 101 103 /// if the jet has valid area information then return a pointer to 102 104 /// the associated ClusterSequenceAreaBase object; otherwise throw an error 103 virtual const ClusterSequenceAreaBase * validated_csab() const ;105 virtual const ClusterSequenceAreaBase * validated_csab() const FASTJET_OVERRIDE; 104 106 #endif // __FJCORE__ 105 107 … … 125 127 /// an Error is thrown if this PseudoJet has no currently valid 126 128 /// associated ClusterSequence 127 virtual bool has_partner(const PseudoJet &reference, PseudoJet &partner) const ;129 virtual bool has_partner(const PseudoJet &reference, PseudoJet &partner) const FASTJET_OVERRIDE; 128 130 129 131 /// check if it has been recombined with another PseudoJet in which … … 133 135 /// an Error is thrown if this PseudoJet has no currently valid 134 136 /// associated ClusterSequence 135 virtual bool has_child(const PseudoJet &reference, PseudoJet &child) const ;137 virtual bool has_child(const PseudoJet &reference, PseudoJet &child) const FASTJET_OVERRIDE; 136 138 137 139 /// check if it is the product of a recombination, in which case … … 141 143 /// an Error is thrown if this PseudoJet has no currently valid 142 144 /// associated ClusterSequence 143 virtual bool has_parents(const PseudoJet &reference, PseudoJet &parent1, PseudoJet &parent2) const ;145 virtual bool has_parents(const PseudoJet &reference, PseudoJet &parent1, PseudoJet &parent2) const FASTJET_OVERRIDE; 144 146 145 147 /// check if the reference PseudoJet is contained in the second one … … 151 153 /// false is returned if the 2 PseudoJet do not belong the same 152 154 /// ClusterSequence 153 virtual bool object_in_jet(const PseudoJet &reference, const PseudoJet &jet) const ;155 virtual bool object_in_jet(const PseudoJet &reference, const PseudoJet &jet) const FASTJET_OVERRIDE; 154 156 155 157 /// return true if the structure supports constituents. … … 157 159 /// an Error is thrown if this PseudoJet has no currently valid 158 160 /// associated ClusterSequence 159 virtual bool has_constituents() const ;161 virtual bool has_constituents() const FASTJET_OVERRIDE; 160 162 161 163 /// retrieve the constituents. … … 163 165 /// an Error is thrown if this PseudoJet has no currently valid 164 166 /// associated ClusterSequence 165 virtual std::vector<PseudoJet> constituents(const PseudoJet &reference) const ;167 virtual std::vector<PseudoJet> constituents(const PseudoJet &reference) const FASTJET_OVERRIDE; 166 168 167 169 … … 170 172 /// an Error is thrown if this PseudoJet has no currently valid 171 173 /// associated ClusterSequence 172 virtual bool has_exclusive_subjets() const ;174 virtual bool has_exclusive_subjets() const FASTJET_OVERRIDE; 173 175 174 176 /// return a vector of all subjets of the current jet (in the sense … … 183 185 /// an Error is thrown if this PseudoJet has no currently valid 184 186 /// associated ClusterSequence 185 virtual std::vector<PseudoJet> exclusive_subjets(const PseudoJet &reference, const double & dcut) const ;187 virtual std::vector<PseudoJet> exclusive_subjets(const PseudoJet &reference, const double & dcut) const FASTJET_OVERRIDE; 186 188 187 189 /// return the size of exclusive_subjets(...); still n ln n with same … … 191 193 /// an Error is thrown if this PseudoJet has no currently valid 192 194 /// associated ClusterSequence 193 virtual int n_exclusive_subjets(const PseudoJet &reference, const double & dcut) const ;195 virtual int n_exclusive_subjets(const PseudoJet &reference, const double & dcut) const FASTJET_OVERRIDE; 194 196 195 197 /// return the list of subjets obtained by unclustering the supplied … … 201 203 /// an Error is thrown if this PseudoJet has no currently valid 202 204 /// associated ClusterSequence 203 virtual std::vector<PseudoJet> exclusive_subjets_up_to (const PseudoJet &reference, int nsub) const ;205 virtual std::vector<PseudoJet> exclusive_subjets_up_to (const PseudoJet &reference, int nsub) const FASTJET_OVERRIDE; 204 206 205 207 /// return the dij that was present in the merging nsub+1 -> nsub … … 208 210 /// an Error is thrown if this PseudoJet has no currently valid 209 211 /// associated ClusterSequence 210 virtual double exclusive_subdmerge(const PseudoJet &reference, int nsub) const ;212 virtual double exclusive_subdmerge(const PseudoJet &reference, int nsub) const FASTJET_OVERRIDE; 211 213 212 214 /// return the maximum dij that occurred in the whole event at the … … 216 218 /// an Error is thrown if this PseudoJet has no currently valid 217 219 /// associated ClusterSequence 218 virtual double exclusive_subdmerge_max(const PseudoJet &reference, int nsub) const ;220 virtual double exclusive_subdmerge_max(const PseudoJet &reference, int nsub) const FASTJET_OVERRIDE; 219 221 220 222 … … 224 226 /// by convention, a jet associated with a ClusterSequence will have 225 227 /// its parents as pieces 226 virtual bool has_pieces(const PseudoJet &reference) const ;228 virtual bool has_pieces(const PseudoJet &reference) const FASTJET_OVERRIDE; 227 229 228 230 /// by convention, a jet associated with a ClusterSequence will have … … 235 237 /// sequence. If the cluster sequence has gone out of scope, an 236 238 /// error will be thrown 237 virtual std::vector<PseudoJet> pieces(const PseudoJet &reference) const ;239 virtual std::vector<PseudoJet> pieces(const PseudoJet &reference) const FASTJET_OVERRIDE; 238 240 239 241 … … 244 246 245 247 /// check if it has a defined area 246 virtual bool has_area() const ;248 virtual bool has_area() const FASTJET_OVERRIDE; 247 249 248 250 /// return the jet (scalar) area. 249 251 /// throws an Error if there is no support for area in the parent CS 250 virtual double area(const PseudoJet &reference) const ;252 virtual double area(const PseudoJet &reference) const FASTJET_OVERRIDE; 251 253 252 254 /// return the error (uncertainty) associated with the determination 253 255 /// of the area of this jet. 254 256 /// throws an Error if there is no support for area in the parent CS 255 virtual double area_error(const PseudoJet &reference) const ;257 virtual double area_error(const PseudoJet &reference) const FASTJET_OVERRIDE; 256 258 257 259 /// return the jet 4-vector area. 258 260 /// throws an Error if there is no support for area in the parent CS 259 virtual PseudoJet area_4vector(const PseudoJet &reference) const ;261 virtual PseudoJet area_4vector(const PseudoJet &reference) const FASTJET_OVERRIDE; 260 262 261 263 /// true if this jet is made exclusively of ghosts. 262 264 /// throws an Error if there is no support for area in the parent CS 263 virtual bool is_pure_ghost(const PseudoJet &reference) const ;265 virtual bool is_pure_ghost(const PseudoJet &reference) const FASTJET_OVERRIDE; 264 266 265 267 #endif // __FJCORE__
Note:
See TracChangeset
for help on using the changeset viewer.