00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef h1analysis_h
00013 #define h1analysis_h
00014
00015 #include <TROOT.h>
00016 #include <TChain.h>
00017 #include <TEntryList.h>
00018 #include <TFile.h>
00019 #include <TSelector.h>
00020
00021 class TH1F;
00022 class TH2F;
00023
00024 class h1analysis : public TSelector {
00025 public :
00026
00027 TH1F *hdmd;
00028 TH2F *h2;
00029
00030 Bool_t useList;
00031 Bool_t fillList;
00032 TEntryList *elist;
00033
00034 TTree *fChain;
00035
00036 Int_t nrun;
00037 Int_t nevent;
00038 Int_t nentry;
00039 UChar_t trelem[192];
00040 UChar_t subtr[128];
00041 UChar_t rawtr[128];
00042 UChar_t L4subtr[128];
00043 UChar_t L5class[32];
00044 Float_t E33;
00045 Float_t de33;
00046 Float_t x33;
00047 Float_t dx33;
00048 Float_t y33;
00049 Float_t dy33;
00050 Float_t E44;
00051 Float_t de44;
00052 Float_t x44;
00053 Float_t dx44;
00054 Float_t y44;
00055 Float_t dy44;
00056 Float_t Ept;
00057 Float_t dept;
00058 Float_t xpt;
00059 Float_t dxpt;
00060 Float_t ypt;
00061 Float_t dypt;
00062 Float_t pelec[4];
00063 Int_t flagelec;
00064 Float_t xeelec;
00065 Float_t yeelec;
00066 Float_t Q2eelec;
00067 Int_t nelec;
00068 Float_t Eelec[20];
00069 Float_t thetelec[20];
00070 Float_t phielec[20];
00071 Float_t xelec[20];
00072 Float_t Q2elec[20];
00073 Float_t xsigma[20];
00074 Float_t Q2sigma[20];
00075 Float_t sumc[4];
00076 Float_t sumetc;
00077 Float_t yjbc;
00078 Float_t Q2jbc;
00079 Float_t sumct[4];
00080 Float_t sumetct;
00081 Float_t yjbct;
00082 Float_t Q2jbct;
00083 Float_t Ebeamel;
00084 Float_t Ebeampr;
00085 Float_t pvtx_d[3];
00086 Float_t cpvtx_d[6];
00087 Float_t pvtx_t[3];
00088 Float_t cpvtx_t[6];
00089 Int_t ntrkxy_t;
00090 Float_t prbxy_t;
00091 Int_t ntrkz_t;
00092 Float_t prbz_t;
00093 Int_t nds;
00094 Int_t rankds;
00095 Int_t qds;
00096 Float_t pds_d[4];
00097 Float_t ptds_d;
00098 Float_t etads_d;
00099 Float_t dm_d;
00100 Float_t ddm_d;
00101 Float_t pds_t[4];
00102 Float_t dm_t;
00103 Float_t ddm_t;
00104 Int_t ik;
00105 Int_t ipi;
00106 Int_t ipis;
00107 Float_t pd0_d[4];
00108 Float_t ptd0_d;
00109 Float_t etad0_d;
00110 Float_t md0_d;
00111 Float_t dmd0_d;
00112 Float_t pd0_t[4];
00113 Float_t md0_t;
00114 Float_t dmd0_t;
00115 Float_t pk_r[4];
00116 Float_t ppi_r[4];
00117 Float_t pd0_r[4];
00118 Float_t md0_r;
00119 Float_t Vtxd0_r[3];
00120 Float_t cvtxd0_r[6];
00121 Float_t dxy_r;
00122 Float_t dz_r;
00123 Float_t psi_r;
00124 Float_t rd0_d;
00125 Float_t drd0_d;
00126 Float_t rpd0_d;
00127 Float_t drpd0_d;
00128 Float_t rd0_t;
00129 Float_t drd0_t;
00130 Float_t rpd0_t;
00131 Float_t drpd0_t;
00132 Float_t rd0_dt;
00133 Float_t drd0_dt;
00134 Float_t prbr_dt;
00135 Float_t prbz_dt;
00136 Float_t rd0_tt;
00137 Float_t drd0_tt;
00138 Float_t prbr_tt;
00139 Float_t prbz_tt;
00140 Int_t ijetd0;
00141 Float_t ptr3d0_j;
00142 Float_t ptr2d0_j;
00143 Float_t ptr3d0_3;
00144 Float_t ptr2d0_3;
00145 Float_t ptr2d0_2;
00146 Float_t Mimpds_r;
00147 Float_t Mimpbk_r;
00148 Int_t ntracks;
00149 Float_t pt[200];
00150 Float_t kappa[200];
00151 Float_t phi[200];
00152 Float_t theta[200];
00153 Float_t dca[200];
00154 Float_t z0[200];
00155 Float_t covar[200][15];
00156 Int_t nhitrp[200];
00157 Float_t prbrp[200];
00158 Int_t nhitz[200];
00159 Float_t prbz[200];
00160 Float_t rstart[200];
00161 Float_t rend[200];
00162 Float_t lhk[200];
00163 Float_t lhpi[200];
00164 Float_t nlhk[200];
00165 Float_t nlhpi[200];
00166 Float_t dca_d[200];
00167 Float_t ddca_d[200];
00168 Float_t dca_t[200];
00169 Float_t ddca_t[200];
00170 Int_t muqual[200];
00171 Int_t imu;
00172 Int_t imufe;
00173 Int_t njets;
00174 Float_t E_j[20];
00175 Float_t pt_j[20];
00176 Float_t theta_j[20];
00177 Float_t eta_j[20];
00178 Float_t phi_j[20];
00179 Float_t m_j[20];
00180 Float_t thrust;
00181 Float_t pthrust[4];
00182 Float_t thrust2;
00183 Float_t pthrust2[4];
00184 Float_t spher;
00185 Float_t aplan;
00186 Float_t plan;
00187 Float_t nnout[1];
00188
00189
00190 TBranch *b_nrun;
00191 TBranch *b_nevent;
00192 TBranch *b_nentry;
00193 TBranch *b_trelem;
00194 TBranch *b_subtr;
00195 TBranch *b_rawtr;
00196 TBranch *b_L4subtr;
00197 TBranch *b_L5class;
00198 TBranch *b_E33;
00199 TBranch *b_de33;
00200 TBranch *b_x33;
00201 TBranch *b_dx33;
00202 TBranch *b_y33;
00203 TBranch *b_dy33;
00204 TBranch *b_E44;
00205 TBranch *b_de44;
00206 TBranch *b_x44;
00207 TBranch *b_dx44;
00208 TBranch *b_y44;
00209 TBranch *b_dy44;
00210 TBranch *b_Ept;
00211 TBranch *b_dept;
00212 TBranch *b_xpt;
00213 TBranch *b_dxpt;
00214 TBranch *b_ypt;
00215 TBranch *b_dypt;
00216 TBranch *b_pelec;
00217 TBranch *b_flagelec;
00218 TBranch *b_xeelec;
00219 TBranch *b_yeelec;
00220 TBranch *b_Q2eelec;
00221 TBranch *b_nelec;
00222 TBranch *b_Eelec;
00223 TBranch *b_thetelec;
00224 TBranch *b_phielec;
00225 TBranch *b_xelec;
00226 TBranch *b_Q2elec;
00227 TBranch *b_xsigma;
00228 TBranch *b_Q2sigma;
00229 TBranch *b_sumc;
00230 TBranch *b_sumetc;
00231 TBranch *b_yjbc;
00232 TBranch *b_Q2jbc;
00233 TBranch *b_sumct;
00234 TBranch *b_sumetct;
00235 TBranch *b_yjbct;
00236 TBranch *b_Q2jbct;
00237 TBranch *b_Ebeamel;
00238 TBranch *b_Ebeampr;
00239 TBranch *b_pvtx_d;
00240 TBranch *b_cpvtx_d;
00241 TBranch *b_pvtx_t;
00242 TBranch *b_cpvtx_t;
00243 TBranch *b_ntrkxy_t;
00244 TBranch *b_prbxy_t;
00245 TBranch *b_ntrkz_t;
00246 TBranch *b_prbz_t;
00247 TBranch *b_nds;
00248 TBranch *b_rankds;
00249 TBranch *b_qds;
00250 TBranch *b_pds_d;
00251 TBranch *b_ptds_d;
00252 TBranch *b_etads_d;
00253 TBranch *b_dm_d;
00254 TBranch *b_ddm_d;
00255 TBranch *b_pds_t;
00256 TBranch *b_dm_t;
00257 TBranch *b_ddm_t;
00258 TBranch *b_ik;
00259 TBranch *b_ipi;
00260 TBranch *b_ipis;
00261 TBranch *b_pd0_d;
00262 TBranch *b_ptd0_d;
00263 TBranch *b_etad0_d;
00264 TBranch *b_md0_d;
00265 TBranch *b_dmd0_d;
00266 TBranch *b_pd0_t;
00267 TBranch *b_md0_t;
00268 TBranch *b_dmd0_t;
00269 TBranch *b_pk_r;
00270 TBranch *b_ppi_r;
00271 TBranch *b_pd0_r;
00272 TBranch *b_md0_r;
00273 TBranch *b_Vtxd0_r;
00274 TBranch *b_cvtxd0_r;
00275 TBranch *b_dxy_r;
00276 TBranch *b_dz_r;
00277 TBranch *b_psi_r;
00278 TBranch *b_rd0_d;
00279 TBranch *b_drd0_d;
00280 TBranch *b_rpd0_d;
00281 TBranch *b_drpd0_d;
00282 TBranch *b_rd0_t;
00283 TBranch *b_drd0_t;
00284 TBranch *b_rpd0_t;
00285 TBranch *b_drpd0_t;
00286 TBranch *b_rd0_dt;
00287 TBranch *b_drd0_dt;
00288 TBranch *b_prbr_dt;
00289 TBranch *b_prbz_dt;
00290 TBranch *b_rd0_tt;
00291 TBranch *b_drd0_tt;
00292 TBranch *b_prbr_tt;
00293 TBranch *b_prbz_tt;
00294 TBranch *b_ijetd0;
00295 TBranch *b_ptr3d0_j;
00296 TBranch *b_ptr2d0_j;
00297 TBranch *b_ptr3d0_3;
00298 TBranch *b_ptr2d0_3;
00299 TBranch *b_ptr2d0_2;
00300 TBranch *b_Mimpds_r;
00301 TBranch *b_Mimpbk_r;
00302 TBranch *b_ntracks;
00303 TBranch *b_pt;
00304 TBranch *b_kappa;
00305 TBranch *b_phi;
00306 TBranch *b_theta;
00307 TBranch *b_dca;
00308 TBranch *b_z0;
00309 TBranch *b_covar;
00310 TBranch *b_nhitrp;
00311 TBranch *b_prbrp;
00312 TBranch *b_nhitz;
00313 TBranch *b_prbz;
00314 TBranch *b_rstart;
00315 TBranch *b_rend;
00316 TBranch *b_lhk;
00317 TBranch *b_lhpi;
00318 TBranch *b_nlhk;
00319 TBranch *b_nlhpi;
00320 TBranch *b_dca_d;
00321 TBranch *b_ddca_d;
00322 TBranch *b_dca_t;
00323 TBranch *b_ddca_t;
00324 TBranch *b_muqual;
00325 TBranch *b_imu;
00326 TBranch *b_imufe;
00327 TBranch *b_njets;
00328 TBranch *b_E_j;
00329 TBranch *b_pt_j;
00330 TBranch *b_theta_j;
00331 TBranch *b_eta_j;
00332 TBranch *b_phi_j;
00333 TBranch *b_m_j;
00334 TBranch *b_thrust;
00335 TBranch *b_pthrust;
00336 TBranch *b_thrust2;
00337 TBranch *b_pthrust2;
00338 TBranch *b_spher;
00339 TBranch *b_aplan;
00340 TBranch *b_plan;
00341 TBranch *b_nnout;
00342
00343 h1analysis(TTree *tree=0);
00344 ~h1analysis();
00345 int Version() const {return 1;}
00346 void Begin(TTree *tree);
00347 void SlaveBegin(TTree *tree);
00348 void Init(TTree *tree);
00349 Bool_t Notify();
00350 Bool_t Process(Long64_t entry);
00351 void SetOption(const char *option) { fOption = option; }
00352 void SetObject(TObject *obj) { fObject = obj; }
00353 void SetInputList(TList *input) {fInput = input;}
00354 TList *GetOutputList() const { return fOutput; }
00355 void SlaveTerminate();
00356 void Terminate();
00357
00358 ClassDef(h1analysis,0);
00359
00360 };
00361
00362 #endif
00363
00364
00365
00366 h1analysis::h1analysis(TTree * )
00367 {
00368
00369
00370 hdmd = 0;
00371 h2 = 0;
00372 fChain = 0;
00373 elist = 0;
00374 fillList = kFALSE;
00375 useList = kFALSE;
00376 }
00377
00378
00379 h1analysis::~h1analysis()
00380 {
00381 }
00382
00383
00384 void h1analysis::Init(TTree *tree)
00385 {
00386
00387
00388 Info("Init","tree: %p", tree);
00389
00390 if (tree == 0) return;
00391 fChain = tree;
00392
00393 fChain->SetBranchAddress("nrun",&nrun,&(b_nrun) );
00394 fChain->SetBranchAddress("nevent",&nevent,&(b_nevent) );
00395 fChain->SetBranchAddress("nentry",&nentry,&(b_nentry) );
00396 fChain->SetBranchAddress("trelem",trelem,&(b_trelem) );
00397 fChain->SetBranchAddress("subtr",subtr,&(b_subtr) );
00398 fChain->SetBranchAddress("rawtr",rawtr,&(b_rawtr) );
00399 fChain->SetBranchAddress("L4subtr",L4subtr,&(b_L4subtr) );
00400 fChain->SetBranchAddress("L5class",L5class,&(b_L5class) );
00401 fChain->SetBranchAddress("E33",&E33,&(b_E33) );
00402 fChain->SetBranchAddress("de33",&de33,&(b_de33) );
00403 fChain->SetBranchAddress("x33",&x33,&(b_x33) );
00404 fChain->SetBranchAddress("dx33",&dx33,&(b_dx33) );
00405 fChain->SetBranchAddress("y33",&y33,&(b_y33) );
00406 fChain->SetBranchAddress("dy33",&dy33,&(b_dy33) );
00407 fChain->SetBranchAddress("E44",&E44,&(b_E44) );
00408 fChain->SetBranchAddress("de44",&de44,&(b_de44) );
00409 fChain->SetBranchAddress("x44",&x44,&(b_x44) );
00410 fChain->SetBranchAddress("dx44",&dx44,&(b_dx44) );
00411 fChain->SetBranchAddress("y44",&y44,&(b_y44) );
00412 fChain->SetBranchAddress("dy44",&dy44,&(b_dy44) );
00413 fChain->SetBranchAddress("Ept",&Ept,&(b_Ept) );
00414 fChain->SetBranchAddress("dept",&dept,&(b_dept) );
00415 fChain->SetBranchAddress("xpt",&xpt,&(b_xpt) );
00416 fChain->SetBranchAddress("dxpt",&dxpt,&(b_dxpt) );
00417 fChain->SetBranchAddress("ypt",&ypt,&(b_ypt) );
00418 fChain->SetBranchAddress("dypt",&dypt,&(b_dypt) );
00419 fChain->SetBranchAddress("pelec",pelec,&(b_pelec) );
00420 fChain->SetBranchAddress("flagelec",&flagelec,&(b_flagelec) );
00421 fChain->SetBranchAddress("xeelec",&xeelec,&(b_xeelec) );
00422 fChain->SetBranchAddress("yeelec",&yeelec,&(b_yeelec) );
00423 fChain->SetBranchAddress("Q2eelec",&Q2eelec,&(b_Q2eelec) );
00424 fChain->SetBranchAddress("nelec",&nelec,&(b_nelec) );
00425 fChain->SetBranchAddress("Eelec",Eelec,&(b_Eelec) );
00426 fChain->SetBranchAddress("thetelec",thetelec,&(b_thetelec) );
00427 fChain->SetBranchAddress("phielec",phielec,&(b_phielec) );
00428 fChain->SetBranchAddress("xelec",xelec,&(b_xelec) );
00429 fChain->SetBranchAddress("Q2elec",Q2elec,&(b_Q2elec) );
00430 fChain->SetBranchAddress("xsigma",xsigma,&(b_xsigma) );
00431 fChain->SetBranchAddress("Q2sigma",Q2sigma,&(b_Q2sigma) );
00432 fChain->SetBranchAddress("sumc",sumc,&(b_sumc) );
00433 fChain->SetBranchAddress("sumetc",&sumetc,&(b_sumetc) );
00434 fChain->SetBranchAddress("yjbc",&yjbc,&(b_yjbc) );
00435 fChain->SetBranchAddress("Q2jbc",&Q2jbc,&(b_Q2jbc) );
00436 fChain->SetBranchAddress("sumct",sumct,&(b_sumct) );
00437 fChain->SetBranchAddress("sumetct",&sumetct,&(b_sumetct) );
00438 fChain->SetBranchAddress("yjbct",&yjbct,&(b_yjbct) );
00439 fChain->SetBranchAddress("Q2jbct",&Q2jbct,&(b_Q2jbct) );
00440 fChain->SetBranchAddress("Ebeamel",&Ebeamel,&(b_Ebeamel) );
00441 fChain->SetBranchAddress("Ebeampr",&Ebeampr,&(b_Ebeampr) );
00442 fChain->SetBranchAddress("pvtx_d",pvtx_d,&(b_pvtx_d) );
00443 fChain->SetBranchAddress("cpvtx_d",cpvtx_d,&(b_cpvtx_d) );
00444 fChain->SetBranchAddress("pvtx_t",pvtx_t,&(b_pvtx_t) );
00445 fChain->SetBranchAddress("cpvtx_t",cpvtx_t,&(b_cpvtx_t) );
00446 fChain->SetBranchAddress("ntrkxy_t",&ntrkxy_t,&(b_ntrkxy_t) );
00447 fChain->SetBranchAddress("prbxy_t",&prbxy_t,&(b_prbxy_t) );
00448 fChain->SetBranchAddress("ntrkz_t",&ntrkz_t,&(b_ntrkz_t) );
00449 fChain->SetBranchAddress("prbz_t",&prbz_t,&(b_prbz_t) );
00450 fChain->SetBranchAddress("nds",&nds,&(b_nds) );
00451 fChain->SetBranchAddress("rankds",&rankds,&(b_rankds) );
00452 fChain->SetBranchAddress("qds",&qds,&(b_qds) );
00453 fChain->SetBranchAddress("pds_d",pds_d,&(b_pds_d) );
00454 fChain->SetBranchAddress("ptds_d",&ptds_d,&(b_ptds_d) );
00455 fChain->SetBranchAddress("etads_d",&etads_d,&(b_etads_d) );
00456 fChain->SetBranchAddress("dm_d",&dm_d,&(b_dm_d) );
00457 fChain->SetBranchAddress("ddm_d",&ddm_d,&(b_ddm_d) );
00458 fChain->SetBranchAddress("pds_t",pds_t,&(b_pds_t) );
00459 fChain->SetBranchAddress("dm_t",&dm_t,&(b_dm_t) );
00460 fChain->SetBranchAddress("ddm_t",&ddm_t,&(b_ddm_t) );
00461 fChain->SetBranchAddress("ik",&ik,&(b_ik) );
00462 fChain->SetBranchAddress("ipi",&ipi,&(b_ipi) );
00463 fChain->SetBranchAddress("ipis",&ipis,&(b_ipis) );
00464 fChain->SetBranchAddress("pd0_d",pd0_d,&(b_pd0_d) );
00465 fChain->SetBranchAddress("ptd0_d",&ptd0_d,&(b_ptd0_d) );
00466 fChain->SetBranchAddress("etad0_d",&etad0_d,&(b_etad0_d) );
00467 fChain->SetBranchAddress("md0_d",&md0_d,&(b_md0_d) );
00468 fChain->SetBranchAddress("dmd0_d",&dmd0_d,&(b_dmd0_d) );
00469 fChain->SetBranchAddress("pd0_t",pd0_t,&(b_pd0_t) );
00470 fChain->SetBranchAddress("md0_t",&md0_t,&(b_md0_t) );
00471 fChain->SetBranchAddress("dmd0_t",&dmd0_t,&(b_dmd0_t) );
00472 fChain->SetBranchAddress("pk_r",pk_r,&(b_pk_r) );
00473 fChain->SetBranchAddress("ppi_r",ppi_r,&(b_ppi_r) );
00474 fChain->SetBranchAddress("pd0_r",pd0_r,&(b_pd0_r) );
00475 fChain->SetBranchAddress("md0_r",&md0_r,&(b_md0_r) );
00476 fChain->SetBranchAddress("Vtxd0_r",Vtxd0_r,&(b_Vtxd0_r) );
00477 fChain->SetBranchAddress("cvtxd0_r",cvtxd0_r,&(b_cvtxd0_r) );
00478 fChain->SetBranchAddress("dxy_r",&dxy_r,&(b_dxy_r) );
00479 fChain->SetBranchAddress("dz_r",&dz_r,&(b_dz_r) );
00480 fChain->SetBranchAddress("psi_r",&psi_r,&(b_psi_r) );
00481 fChain->SetBranchAddress("rd0_d",&rd0_d,&(b_rd0_d) );
00482 fChain->SetBranchAddress("drd0_d",&drd0_d,&(b_drd0_d) );
00483 fChain->SetBranchAddress("rpd0_d",&rpd0_d,&(b_rpd0_d) );
00484 fChain->SetBranchAddress("drpd0_d",&drpd0_d,&(b_drpd0_d) );
00485 fChain->SetBranchAddress("rd0_t",&rd0_t,&(b_rd0_t) );
00486 fChain->SetBranchAddress("drd0_t",&drd0_t,&(b_drd0_t) );
00487 fChain->SetBranchAddress("rpd0_t",&rpd0_t,&(b_rpd0_t) );
00488 fChain->SetBranchAddress("drpd0_t",&drpd0_t,&(b_drpd0_t) );
00489 fChain->SetBranchAddress("rd0_dt",&rd0_dt,&(b_rd0_dt) );
00490 fChain->SetBranchAddress("drd0_dt",&drd0_dt,&(b_drd0_dt) );
00491 fChain->SetBranchAddress("prbr_dt",&prbr_dt,&(b_prbr_dt) );
00492 fChain->SetBranchAddress("prbz_dt",&prbz_dt,&(b_prbz_dt) );
00493 fChain->SetBranchAddress("rd0_tt",&rd0_tt,&(b_rd0_tt) );
00494 fChain->SetBranchAddress("drd0_tt",&drd0_tt,&(b_drd0_tt) );
00495 fChain->SetBranchAddress("prbr_tt",&prbr_tt,&(b_prbr_tt) );
00496 fChain->SetBranchAddress("prbz_tt",&prbz_tt,&(b_prbz_tt) );
00497 fChain->SetBranchAddress("ijetd0",&ijetd0,&(b_ijetd0) );
00498 fChain->SetBranchAddress("ptr3d0_j",&ptr3d0_j,&(b_ptr3d0_j) );
00499 fChain->SetBranchAddress("ptr2d0_j",&ptr2d0_j,&(b_ptr2d0_j) );
00500 fChain->SetBranchAddress("ptr3d0_3",&ptr3d0_3,&(b_ptr3d0_3) );
00501 fChain->SetBranchAddress("ptr2d0_3",&ptr2d0_3,&(b_ptr2d0_3) );
00502 fChain->SetBranchAddress("ptr2d0_2",&ptr2d0_2,&(b_ptr2d0_2) );
00503 fChain->SetBranchAddress("Mimpds_r",&Mimpds_r,&(b_Mimpds_r) );
00504 fChain->SetBranchAddress("Mimpbk_r",&Mimpbk_r,&(b_Mimpbk_r) );
00505 fChain->SetBranchAddress("ntracks",&ntracks,&(b_ntracks) );
00506 fChain->SetBranchAddress("pt",pt,&(b_pt) );
00507 fChain->SetBranchAddress("kappa",kappa,&(b_kappa) );
00508 fChain->SetBranchAddress("phi",phi,&(b_phi) );
00509 fChain->SetBranchAddress("theta",theta,&(b_theta) );
00510 fChain->SetBranchAddress("dca",dca,&(b_dca) );
00511 fChain->SetBranchAddress("z0",z0,&(b_z0) );
00512 fChain->SetBranchAddress("covar",covar,&(b_covar) );
00513 fChain->SetBranchAddress("nhitrp",nhitrp,&(b_nhitrp) );
00514 fChain->SetBranchAddress("prbrp",prbrp,&(b_prbrp) );
00515 fChain->SetBranchAddress("nhitz",nhitz,&(b_nhitz) );
00516 fChain->SetBranchAddress("prbz",prbz,&(b_prbz) );
00517 fChain->SetBranchAddress("rstart",rstart,&(b_rstart) );
00518 fChain->SetBranchAddress("rend",rend,&(b_rend) );
00519 fChain->SetBranchAddress("lhk",lhk,&(b_lhk) );
00520 fChain->SetBranchAddress("lhpi",lhpi,&(b_lhpi) );
00521 fChain->SetBranchAddress("nlhk",nlhk,&(b_nlhk) );
00522 fChain->SetBranchAddress("nlhpi",nlhpi,&(b_nlhpi) );
00523 fChain->SetBranchAddress("dca_d",dca_d,&(b_dca_d) );
00524 fChain->SetBranchAddress("ddca_d",ddca_d,&(b_ddca_d) );
00525 fChain->SetBranchAddress("dca_t",dca_t,&(b_dca_t) );
00526 fChain->SetBranchAddress("ddca_t",ddca_t,&(b_ddca_t) );
00527 fChain->SetBranchAddress("muqual",muqual,&(b_muqual) );
00528 fChain->SetBranchAddress("imu",&imu,&(b_imu) );
00529 fChain->SetBranchAddress("imufe",&imufe,&(b_imufe) );
00530 fChain->SetBranchAddress("njets",&njets,&(b_njets) );
00531 fChain->SetBranchAddress("E_j",E_j,&(b_E_j) );
00532 fChain->SetBranchAddress("pt_j",pt_j,&(b_pt_j) );
00533 fChain->SetBranchAddress("theta_j",theta_j,&(b_theta_j) );
00534 fChain->SetBranchAddress("eta_j",eta_j,&(b_eta_j) );
00535 fChain->SetBranchAddress("phi_j",phi_j,&(b_phi_j) );
00536 fChain->SetBranchAddress("m_j",m_j,&(b_m_j) );
00537 fChain->SetBranchAddress("thrust",&thrust,&(b_thrust) );
00538 fChain->SetBranchAddress("pthrust",pthrust,&(b_pthrust) );
00539 fChain->SetBranchAddress("thrust2",&thrust2,&(b_thrust2) );
00540 fChain->SetBranchAddress("pthrust2",pthrust2,&(b_pthrust2) );
00541 fChain->SetBranchAddress("spher",&spher,&(b_spher) );
00542 fChain->SetBranchAddress("aplan",&aplan,&(b_aplan) );
00543 fChain->SetBranchAddress("plan",&plan,&(b_plan) );
00544 fChain->SetBranchAddress("nnout",&nnout,&(b_nnout) );
00545 }
00546
00547
00548 Bool_t h1analysis::Notify()
00549 {
00550
00551
00552
00553 Info("Notify","processing file: %s",fChain->GetCurrentFile()->GetName());
00554
00555 if (elist && fChain) {
00556 if (fillList) {
00557 elist->SetTree(fChain);
00558 } else if (useList) {
00559 fChain->SetEntryList(elist);
00560 }
00561 }
00562 return kTRUE;
00563 }