ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TRootSignalEvent.h
Revision: 1.2
Committed: Wed Nov 19 19:03:16 2008 UTC (16 years, 5 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: JeSuisBeaucoupPlusGrosQunReco_2_2_7_01, RecoPhoton_2_2_7_02, pat_2_2_7_01, RecoPhoton_2_2_7_01, pat_2_2_5_03, pat_2_2_5_02, pat_2_2_5_01, pat_2_1_12_02, pat_2_1_12_01, Common-2008_11_24, Common-2008_11_19
Changes since 1.1: +5 -5 lines
Log Message:
First skeleton for common code

File Contents

# Content
1 #ifndef TRootSignalEvent_h
2 #define TRootSignalEvent_h
3
4 #include <string>
5 #include <iostream>
6
7 #include "../interface/TRootParticle.h"
8
9 #include "Rtypes.h"
10 #include "TObjArray.h"
11 #include "TClonesArray.h"
12 #include "TVector3.h"
13 #include "TList.h"
14 #include "TCollection.h"
15
16 using namespace std;
17
18 class TCollection;
19
20 class TRootSignalEvent : public TObject
21 {
22
23 public:
24 TRootSignalEvent();
25 ~TRootSignalEvent();
26
27 Int_t nZ() const { return nZ_; }
28 Int_t nMuplus() const { return nMuplus_; }
29 Int_t nMuminus() const { return nMuminus_; }
30 Int_t nFSR() const { return nFSR_; }
31 Int_t nISR() const { return nISR_; }
32
33 void addBosonZ(TRootParticle* part);
34 void addMuplus(TRootParticle* part);
35 void addMuminus(TRootParticle* part);
36 void addFSR(TRootParticle* part);
37 void addISR(TRootParticle* part);
38
39 TRootParticle* bosonZ() { return bosonZ_;}
40 TRootParticle* muplus() { return muplus_;}
41 TRootParticle* muminus() { return muminus_;}
42 TRootParticle* photonFSR(Int_t iFSR);
43 TRootParticle* photonISR(Int_t iISR);
44
45 private:
46
47 Int_t nZ_;
48 Int_t nMuplus_;
49 Int_t nMuminus_;
50 Int_t nFSR_;
51 Int_t nISR_;
52 TRootParticle* bosonZ_;
53 TRootParticle* muplus_;
54 TRootParticle* muminus_;
55 TObjArray* photonFSR_;
56 TObjArray* photonISR_;
57
58 ClassDef (TRootSignalEvent,3);
59 };
60
61 #endif