Changes in external/fastjet/JetDefinition.hh [1d208a2:273e668] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/JetDefinition.hh
r1d208a2 r273e668 3 3 4 4 //FJSTARTHEADER 5 // $Id: JetDefinition.hh 4074 2016-03-08 09:09:25Z soyez $5 // $Id: JetDefinition.hh 3677 2014-09-09 22:45:25Z soyez $ 6 6 // 7 7 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 35 35 #include "fastjet/internal/numconsts.hh" 36 36 #include "fastjet/PseudoJet.hh" 37 #include "fastjet/internal/deprecated.hh"38 37 #include<string> 39 38 #include<memory> … … 269 268 RecombinationScheme recomb_scheme_in = E_scheme, 270 269 Strategy strategy_in = Best) { 271 *this = JetDefinition(jet_algorithm_in, R_in, recomb_scheme_in, strategy_in, 1);270 *this = JetDefinition(jet_algorithm_in, R_in, strategy_in, recomb_scheme_in, 1); 272 271 } 273 272 … … 278 277 Strategy strategy_in = Best) { 279 278 double dummyR = 0.0; 280 *this = JetDefinition(jet_algorithm_in, dummyR, recomb_scheme_in, strategy_in, 0);279 *this = JetDefinition(jet_algorithm_in, dummyR, strategy_in, recomb_scheme_in, 0); 281 280 } 282 281 … … 288 287 RecombinationScheme recomb_scheme_in = E_scheme, 289 288 Strategy strategy_in = Best) { 290 *this = JetDefinition(jet_algorithm_in, R_in, recomb_scheme_in, strategy_in, 2);289 *this = JetDefinition(jet_algorithm_in, R_in, strategy_in, recomb_scheme_in, 2); 291 290 set_extra_param(xtra_param_in); 292 291 } … … 345 344 _strategy = plugin_strategy; 346 345 _Rparam = _plugin->R(); 347 _extra_param = 0.0; // a dummy value to keep static code checkers happy348 346 _jet_algorithm = plugin_algorithm; 349 347 set_recombination_scheme(E_scheme); 350 348 } 351 349 350 352 351 /// constructor to fully specify a jet-definition (together with 353 352 /// information about how algorithically to run it). 354 JetDefinition(JetAlgorithm jet_algorithm_in,355 double R_in,356 RecombinationScheme recomb_scheme_in,357 Strategy strategy_in,358 int nparameters_in);359 360 /// constructor to fully specify a jet-definition (together with361 /// information about how algorithically to run it).362 353 /// 363 354 /// the ordering of arguments here is old and deprecated (except 364 355 /// as the common constructor for internal use) 365 FASTJET_DEPRECATED_MSG("This argument ordering is deprecated. Use JetDefinition(alg, R, strategy, scheme[, n_parameters]) instead")366 356 JetDefinition(JetAlgorithm jet_algorithm_in, 367 357 double R_in, 368 358 Strategy strategy_in, 369 359 RecombinationScheme recomb_scheme_in = E_scheme, 370 int nparameters_in = 1){ 371 (*this) = JetDefinition(jet_algorithm_in,R_in,recomb_scheme_in,strategy_in,nparameters_in); 372 } 373 360 int nparameters_in = 1); 374 361 375 362 /// cluster the supplied particles and returns a vector of resulting … … 401 388 /// Recombiner *) may lead to memory corruption. 402 389 void set_recombiner(const Recombiner * recomb) { 403 if (_shared_recombiner ) _shared_recombiner.reset(recomb);390 if (_shared_recombiner()) _shared_recombiner.reset(recomb); 404 391 _recombiner = recomb; 405 392 _default_recombiner = DefaultRecombiner(external_scheme); … … 534 521 _recomb_scheme(recomb_scheme) {} 535 522 536 virtual std::string description() const FASTJET_OVERRIDE;523 virtual std::string description() const; 537 524 538 525 /// recombine pa and pb and put result into pab 539 526 virtual void recombine(const PseudoJet & pa, const PseudoJet & pb, 540 PseudoJet & pab) const FASTJET_OVERRIDE;541 542 virtual void preprocess(PseudoJet & p) const FASTJET_OVERRIDE;527 PseudoJet & pab) const; 528 529 virtual void preprocess(PseudoJet & p) const; 543 530 544 531 /// return the index of the recombination scheme
Note:
See TracChangeset
for help on using the changeset viewer.