ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TRootSignalEvent.h
Revision: 1.3
Committed: Wed Jun 10 11:17:06 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.2: +38 -37 lines
Log Message:
Better protection against missing collection / Cleaning data format selection / Last iteration for migration to PAT of Photons

File Contents

# User Rev Content
1 mlethuil 1.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 lethuill 1.3
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 mlethuil 1.1 };
61    
62     #endif