8 |
|
// Authors: J.Bendavid, C.Loizides |
9 |
|
//-------------------------------------------------------------------------------------------------- |
10 |
|
|
11 |
< |
#ifndef DATATREE_COMPOSITEPARTICLE_H |
12 |
< |
#define DATATREE_COMPOSITEPARTICLE_H |
11 |
> |
#ifndef MITANA_DATATREE_COMPOSITEPARTICLE_H |
12 |
> |
#define MITANA_DATATREE_COMPOSITEPARTICLE_H |
13 |
|
|
14 |
|
#include "MitAna/DataTree/interface/Types.h" |
15 |
– |
#include "MitAna/DataTree/interface/RefArray.h" |
15 |
|
#include "MitAna/DataTree/interface/Particle.h" |
16 |
+ |
#include "MitAna/DataCont/interface/RefArray.h" |
17 |
|
|
18 |
|
namespace mithep |
19 |
|
{ |
23 |
|
CompositeParticle() {} |
24 |
|
~CompositeParticle() {} |
25 |
|
|
26 |
< |
void AddDaughter(Particle *p) { fDaughters.Add(p); } |
26 |
> |
virtual void AddDaughter(Particle *p) { fDaughters.Add(p); } |
27 |
|
Double_t Charge() const; |
28 |
|
void Clear(Option_t *opt="") { fDaughters.Clear(opt); } |
29 |
|
const Particle *Daughter(UInt_t i) const { return fDaughters.At(i); } |