Revision: | 1.3 |
Committed: | Fri Jul 29 15:31:50 2011 UTC (13 years, 9 months ago) by arizzi |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | EDMV42_Step2_V8, EDMV42_Step2_V7, EDMV42_Step2_V6, EDMV42_Step2_V5a, EDMV42_Step2_V5, tauCandV42, hbbsubstructDev_11, hbbsubstructDev_10, hbbsubstructDev_9, hbbsubstructDev_8, hbbsubstructDev_7, hbbsubstructDev_6, hbbsubstructDev_5, hbbsubstructDev_4, hbbsubstructDev_3, hbbsubstructDev_2, hbbsubstructDev_1, hbbsubstructDev, V21TauCand_0, EDMV42_Step2_V4a, EDMV42_Step2_V4, EDMV42_Step2_V3, EDMV42_Step2_V2, EDMV42_Step2_V1, EdmV42, EdmV41alpha1, EdmV40alpha1, EdmV40alpha, V21emuCand, EdmV33Jun12v2_consistent, Step2ForV33_v2, Step2ForV33_v1, EdmV33Jun12v2, EdmV33Jun12v1, EdmV33Jun12v0, Step2ForV32_v2, Step2ForV32_v1, Step2ForV32_v0, Step2ForV31_v0, EdmV32May24v0, EdmV31May21v1, EdmV31May17v0, May14thStep2, EdmV30Apr10, EdmV21Apr10v2, EdmV22May9, EdmV21Apr06, EdmV21Apr10, EdmV21Apr04, EdmV21Apr03, EdmV21Apr2, EdmV21Mar30, EdmV20Mar12, AR_Nov10Ntuple, AR_step2_Oct25, AR_step2_oct19, EdmV11Oct2011, AR_Step2_Oct13, AR_Oct9Ntuple, AR_Oct7_step2ntuple, AR_Oct5Ntuple, EdmV10Oct2011, EdmV9Sept2011, Sept19th2011_2, Sept19th2011, Sept19th, VHNtupleV9_AR1, VHSept15_AR1, Sept14th2011_2, Sept14th2011_AR1, Sept14th2011, Sept13th2011, AR_Sep8_LightNtuple, VHBB_EDMNtupleV3, AndreaAug10th, HEAD |
Branch point for: | V42TauCandidate, hbbsubstructDevPostHCP, V21TauCand, V21emuCandidate |
Changes since 1.2: | +7 -3 lines |
Log Message: | updates with trigger and macro update |
# | Content |
---|---|
1 | #ifndef VHBBPROXY_H |
2 | #define VHBBPROXY_H |
3 | |
4 | #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h" |
5 | #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEventAuxInfo.h" |
6 | #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbCandidate.h" |
7 | #include "VHbbAnalysis/VHbbDataFormats/interface/TriggerReader.h" |
8 | |
9 | |
10 | class VHbbProxy { |
11 | |
12 | public: |
13 | |
14 | VHbbProxy(){} |
15 | VHbbProxy(const VHbbEvent *vhbbev, const VHbbEventAuxInfo* aux, const std::vector<VHbbCandidate> *cand, TriggerReader * tr): |
16 | iEvent(vhbbev), |
17 | iAuxInfo(aux), |
18 | iCandidate(cand),iTrigger(tr) {} |
19 | |
20 | const VHbbEvent *getVHbbEvent() { return iEvent; }; |
21 | const VHbbEventAuxInfo *getVHbbEventAuxInfo() { return iAuxInfo; }; |
22 | const std::vector<VHbbCandidate> *getVHbbCandidate() { return iCandidate; }; |
23 | TriggerReader * trigger() {return iTrigger; } |
24 | |
25 | private: |
26 | |
27 | const VHbbEvent *iEvent; |
28 | const VHbbEventAuxInfo *iAuxInfo; |
29 | const std::vector<VHbbCandidate> *iCandidate; |
30 | TriggerReader * iTrigger; |
31 | |
32 | }; |
33 | |
34 | #endif |