3 |
|
|
4 |
|
#include <string> |
5 |
|
#include <iostream> |
6 |
+ |
#include <vector> |
7 |
+ |
#include <map> |
8 |
+ |
#include <cmath> |
9 |
|
|
10 |
|
#include "Rtypes.h" |
11 |
|
#include "TObject.h" |
23 |
|
,passGlobalL1_(false) |
24 |
|
,passGlobalHLT_(false) |
25 |
|
,trigHLT_(0) |
26 |
+ |
,csa07id_(0) |
27 |
+ |
,csa07weight_(0.) |
28 |
+ |
,csa07process_() |
29 |
|
,nBasicClusters_() |
30 |
|
,nSuperClusters_() |
31 |
|
,primaryVertex_(0) |
32 |
|
,metCalo_() |
33 |
|
{;} |
34 |
< |
|
34 |
> |
|
35 |
|
~TRootEvent() {;} |
36 |
|
|
37 |
|
// Event number |
55 |
|
} |
56 |
|
} |
57 |
|
|
58 |
+ |
// CSA07 Process Id and Event Weight |
59 |
+ |
Int_t csa07id() const { return csa07id_; } |
60 |
+ |
Float_t csa07weight() const { return csa07weight_; } |
61 |
+ |
TString csa07process() const { return csa07process_; } |
62 |
+ |
|
63 |
|
// Nb of primary vertices |
64 |
|
unsigned nPrimaryVertices() const { return primaryVertex_.size(); } |
65 |
|
|
97 |
|
|
98 |
|
void setNb(Int_t nb) { nb_ = nb; } |
99 |
|
void setGlobalL1(Int_t passGlobalL1) { passGlobalL1_ = passGlobalL1; } |
100 |
< |
void setGlobalHLT(Bool_t passGlobalHLT) { passGlobalHLT_ = passGlobalHLT_; } |
100 |
> |
void setGlobalHLT(Bool_t passGlobalHLT) { passGlobalHLT_ = passGlobalHLT; } |
101 |
|
void setTrigHLT(std::vector<Bool_t> trigHLT) |
102 |
|
{ |
103 |
|
trigHLT_.resize(trigHLT.size()); |
104 |
|
for (unsigned int i=0; i!=trigHLT.size(); ++i) trigHLT_[i]=trigHLT[i]; |
105 |
|
} |
106 |
|
|
107 |
< |
|
107 |
> |
void setCsa07id(Int_t csa07id) { csa07id_=csa07id; } |
108 |
> |
void setCsa07weight(Float_t csa07weight) { csa07weight_=csa07weight; } |
109 |
> |
void setCsa07process(TString csa07process) { csa07process_=csa07process; } |
110 |
> |
void setCsa07process(char* csa07process) { csa07process_=csa07process; } |
111 |
|
|
112 |
|
void setNBasicClusters(Int_t type,Int_t nBC) { nBasicClusters_[type]=nBC; } |
113 |
|
void setNSuperClusters(Int_t type,Int_t nSC) { nSuperClusters_[type]=nSC; } |
126 |
|
*/ |
127 |
|
|
128 |
|
private: |
129 |
< |
|
129 |
> |
|
130 |
|
Int_t nb_; |
131 |
|
Bool_t passGlobalL1_; |
132 |
|
Bool_t passGlobalHLT_; |
133 |
|
std::vector<Bool_t> trigHLT_; |
134 |
|
|
135 |
+ |
Int_t csa07id_; |
136 |
+ |
Float_t csa07weight_; |
137 |
+ |
TString csa07process_; |
138 |
+ |
|
139 |
|
map<Int_t,Int_t> nBasicClusters_; |
140 |
|
map<Int_t,Int_t> nSuperClusters_; |
141 |
|
std::vector<TVector3> primaryVertex_; |