Changeset d69dfe4 in git for external/fastjet/PseudoJet.hh
- Timestamp:
- Nov 20, 2013, 9:52:59 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- fc39685
- Parents:
- 88a9b72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/PseudoJet.hh
r88a9b72 rd69dfe4 1 1 //STARTHEADER 2 // $Id: PseudoJet.hh 2728 2011-11-20 14:18:59Z salam $2 // $Id: PseudoJet.hh 3111 2013-05-04 08:17:27Z salam $ 3 3 // 4 4 // Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 52 52 /// default value for phi, meaning it (and rapidity) have yet to be calculated) 53 53 const double pseudojet_invalid_phi = -100.0; 54 54 const double pseudojet_invalid_rap = -1e200; 55 56 #ifndef __FJCORE__ 55 57 // forward definition 56 58 class ClusterSequenceAreaBase; 59 #endif // __FJCORE__ 57 60 58 61 /// @ingroup basic_classes … … 73 76 // internal shared pointer: see PJtiming.cc and the notes therein) 74 77 PseudoJet() : _px(0), _py(0), _pz(0), _E(0) {_finish_init(); _reset_indices();} 78 //PseudoJet() : _px(0), _py(0), _pz(0), _E(0), _phi(pseudojet_invalid_phi), _rap(pseudojet_invalid_rap), _kt2(0) {_reset_indices();} 75 79 /// construct a pseudojet from explicit components 76 80 PseudoJet(const double px, const double py, const double pz, const double E); … … 251 255 // dynamic_cast, NULL is returned if L is not derived from 252 256 // PseudoJet 253 const PseudoJet * pj = cast_if_derived<const PseudoJet>(&some_four_vector); 257 // 258 // Note the explicit request for fastjet::cast_if_derived; when 259 // combining fastjet and fjcore, this avoids ambiguity in which of 260 // the two cast_if_derived calls to use. 261 const PseudoJet * pj = fastjet::cast_if_derived<const PseudoJet>(&some_four_vector); 254 262 255 263 if (pj){ … … 504 512 const ClusterSequence * validated_cs() const; 505 513 514 #ifndef __FJCORE__ 506 515 /// if the jet has valid area information then return a pointer to 507 516 /// the associated ClusterSequenceAreaBase object; otherwise throw an error … … 512 521 /// shorthand for validated_cluster_sequence_area_base() 513 522 const ClusterSequenceAreaBase * validated_csab() const; 523 #endif // __FJCORE__ 524 514 525 //\} 515 526 … … 718 729 // parent ClusterSequence (See ClusterSequenceAreaBase for details) 719 730 //------------------------------------------------------------------ 731 #ifndef __FJCORE__ 720 732 721 733 /// check if it has a defined area … … 739 751 virtual bool is_pure_ghost() const; 740 752 753 #endif // __FJCORE__ 741 754 //\} --- end of jet structure ------------------------------------- 742 755
Note:
See TracChangeset
for help on using the changeset viewer.