Revision: | 1.2 |
Committed: | Wed Jun 10 11:17:05 2009 UTC (15 years, 10 months ago) by lethuill |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | all_3_3_2_01, all_3_2_5_02, all_3_2_5_01, all_2_2_9_03, all_2_2_9_02, all_2_2_9_01, HEAD |
Branch point for: | CMSSW_2_2_X_br |
Changes since 1.1: | +20 -16 lines |
Log Message: | Better protection against missing collection / Cleaning data format selection / Last iteration for migration to PAT of Photons |
# | User | Rev | Content |
---|---|---|---|
1 | mlethuil | 1.1 | #include "TObject.h" |
2 | #include "TList.h" | ||
3 | |||
4 | lethuill | 1.2 | class dummyparticle : public TObject |
5 | { | ||
6 | public : | ||
7 | dummyparticle():value(0){} | ||
8 | dummyparticle(int val):value(val){} | ||
9 | int value; | ||
10 | ClassDef(dummyparticle,1); | ||
11 | mlethuil | 1.1 | }; |
12 | |||
13 | lethuill | 1.2 | class dummyevent : public TObject |
14 | { | ||
15 | public : | ||
16 | dummyevent(){list=new TList();} | ||
17 | ~dummyevent() | ||
18 | { | ||
19 | list->Delete(); | ||
20 | delete list; | ||
21 | } | ||
22 | void add_value(int val) {list -> AddLast(new dummyparticle(val));} | ||
23 | mlethuil | 1.1 | |
24 | lethuill | 1.2 | TList* list; |
25 | |||
26 | ClassDef(dummyevent,1); | ||
27 | mlethuil | 1.1 | }; |