Revision: | 1.1 |
Committed: | Thu Nov 24 11:30:41 2011 UTC (13 years, 5 months ago) by pharris |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Mit_025c_branch2, Mit_025c_branch1, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b |
Branch point for: | Mit_025c_branch |
Log Message: | Add Embedded Weight |
# | User | Rev | Content |
---|---|---|---|
1 | pharris | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | // $Id: Tau.h,v 1.5 2009/07/13 11:00:32 loizides Exp $ | ||
3 | // | ||
4 | // EmebedWeight | ||
5 | // | ||
6 | // Weight for embedded Taus | ||
7 | // | ||
8 | // Authors: P. Harris | ||
9 | //------------------------------------------------------------------------------------------------- | ||
10 | |||
11 | #ifndef MITANA_DATATREE_EMBEDWEIGHT_H | ||
12 | #define MITANA_DATATREE_EMBEDWEIGHT_H | ||
13 | #include <TMath.h> | ||
14 | #include "MitAna/DataTree/interface/DataObject.h" | ||
15 | #include "MitAna/DataTree/interface/Types.h" | ||
16 | |||
17 | namespace mithep | ||
18 | { | ||
19 | class EmbedWeight : public DataObject | ||
20 | { | ||
21 | public: | ||
22 | EmbedWeight() {} | ||
23 | EmbedWeight(Double_t weight) {fWeight = weight;} | ||
24 | |||
25 | Double_t Weight() const { return fWeight; } | ||
26 | EObjType ObjType() const { return kEmbedWeight; } | ||
27 | void SetWeight(Double_t weight) {fWeight = weight;} | ||
28 | protected: | ||
29 | Double32_t fWeight; | ||
30 | ClassDef(EmbedWeight,1); | ||
31 | }; | ||
32 | } | ||
33 | #endif |