53 |
|
void SetNeutralHadronEnergy(Double_t e) { fNeutralHadronEnergy = e; } |
54 |
|
void SetNeutralMultiplicity(UInt_t n) { fNeutralMultiplicity = n; } |
55 |
|
|
56 |
+ |
// Some structural tools |
57 |
+ |
void Mark() const; |
58 |
+ |
|
59 |
|
protected: |
60 |
|
Double_t GetCharge() const; |
61 |
|
|
74 |
|
} |
75 |
|
|
76 |
|
//-------------------------------------------------------------------------------------------------- |
77 |
+ |
inline void mithep::PFJet::Mark() const |
78 |
+ |
{ |
79 |
+ |
// mark myself |
80 |
+ |
mithep::DataObject::Mark(); |
81 |
+ |
// mark my dependencies if they are there |
82 |
+ |
for (UInt_t i=0; i<fPFCands.Entries(); i++) |
83 |
+ |
fPFCands.At(i)->Mark(); |
84 |
+ |
} |
85 |
+ |
|
86 |
+ |
//-------------------------------------------------------------------------------------------------- |
87 |
|
inline Double_t mithep::PFJet::GetCharge() const |
88 |
|
{ |
89 |
|
// Return sum of charge of constituent PFCandidates. |