ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/ElectronColLinkDef.h
Revision: 1.2
Committed: Fri Oct 30 14:16:01 2009 UTC (15 years, 6 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012
Changes since 1.1: +10 -1 lines
Log Message:
Add support for explicitly stored electron charge, backwards compatibility using schema evolution

File Contents

# Content
1 // $Id: ElectronColLinkDef.h,v 1.1 2009/06/15 15:00:15 loizides Exp $
2
3 #ifndef MITANA_DATATREE_ELECTRONCOLLINKDEF_H
4 #define MITANA_DATATREE_ELECTRONCOLLINKDEF_H
5
6 #include "MitAna/DataCont/interface/Ref.h"
7 #include "MitAna/DataTree/interface/ElectronCol.h"
8 #endif
9
10 #ifdef __CINT__
11 #pragma link off all globals;
12 #pragma link off all classes;
13 #pragma link off all functions;
14 #pragma link C++ nestedclass;
15 #pragma link C++ nestedtypedef;
16 #pragma link C++ namespace mithep;
17
18 #pragma read \
19 sourceClass="mithep::Electron" \
20 version="[-2]" \
21 source="dummysource" \
22 targetClass="mithep::Electron" \
23 target="fCharge" \
24 code="{ fCharge = -99; }" \
25
26
27 #pragma link C++ class mithep::Electron+;
28 #pragma link C++ class mithep::Collection<mithep::Electron>+;
29 #pragma link C++ class mithep::Array<mithep::Electron>+;
30 #pragma link C++ class mithep::ObjArray<mithep::Electron>+;
31 #pragma link C++ class mithep::Ref<mithep::Electron>+;
32 #pragma link C++ typedef mithep::ElectronCol;
33 #pragma link C++ typedef mithep::ElectronArr;
34 #pragma link C++ typedef mithep::ElectronOArr;
35 #endif