ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/Objects.hh
(Generate patch)

Comparing UserCode/HbbAnalysis/interface/Objects.hh (file contents):
Revision 1.9 by amagnan, Mon May 10 18:45:09 2010 UTC vs.
Revision 1.18 by amagnan, Mon Feb 7 13:35:19 2011 UTC

# Line 8 | Line 8
8   #include "TLorentzVector.h"
9  
10   namespace HbbAnalysis {
11 <
11 >
12    struct MCVars {
13      unsigned int index;
14      double E;
# Line 20 | Line 20 | namespace HbbAnalysis {
20      int status;
21    };
22  
23 +  struct HLTVars {
24 +    float pT;
25 +    float eta;
26 +    float phi;
27 +    int id;
28 +    float mass;
29 +    unsigned int type;//1=EM, 2=muon, 3=jet, 0=unknown
30 +  };
31 +
32 +  struct L1Vars {
33 +    //type:
34 +    //0 = empty
35 +    //1 = central jet
36 +    //2 = tau jet
37 +    //3 = forward jet
38 +    unsigned int type;
39 +    int bx;
40 +    float pT;
41 +    float ET;
42 +    float eta;
43 +    float phi;
44 +  };
45 +
46    struct GenVars {
47      bool valid;
48      double E;
# Line 65 | Line 88 | namespace HbbAnalysis {
88    };
89    
90    struct EleIDVars{
91 +    unsigned short idAndIso;
92      std::vector<std::pair<std::string,float> > electronIDs;
93      float hOverE;
94      float deltaPhiIn;
# Line 74 | Line 98 | namespace HbbAnalysis {
98    };
99  
100    struct MuTrkVars {
101 <    float IPd0;
102 <    float IPdz;
103 <    unsigned int nHits;
101 >    float dxy;
102 >    float dz;
103 >    float normalizedChi2;
104 >    unsigned int muonHits;
105 >    int charge;
106 >    unsigned int trackerHits;
107 >    unsigned int pixelHits;
108    };
109    
110    struct MuIsoVars {
# Line 214 | Line 242 | namespace HbbAnalysis {
242    };
243  
244    struct JPTJetVars{
245 <    int zspCorrection;
246 <    float elecMultiplicity;
245 >    float zspCorrection;
246 >    int elecMultiplicity;
247      std::vector<TrkVars> pionsInCone;
248      std::vector<TrkVars> pionsCurledOut;
249      std::vector<TrkVars> pionsCurledIn;
# Line 272 | Line 300 | namespace HbbAnalysis {
300      //double fSubDetector2;
301      //double fSubDetector3;
302      //double fSubDetector4;
303 <    //double restrictedEMF;
304 <    //int    nHCALTowers;
305 <    //int    nECALTowers;
303 >    double restrictedEMF;
304 >    int    nHCALTowers;
305 >    int    nECALTowers;
306      //double approximatefHPD;
307      //double approximatefRBX;
308      int hitsInN90;
# Line 284 | Line 312 | namespace HbbAnalysis {
312      //int numberOfHitsRPC;
313    };
314  
315 +  struct JetECorVars{
316 +    float L1;
317 +    float L2;
318 +    float L3;
319 +    float L2L3Residual;
320 +  };
321 +
322  
323    struct MetVars{
324      double mET;
# Line 308 | Line 343 | namespace HbbAnalysis {
343      double x;
344      double y;
345      double z;
346 +    double rho;
347      double xError;
348      double yError;
349      double zError;
# Line 316 | Line 352 | namespace HbbAnalysis {
352      double cov12;
353    };
354  
355 +  struct BeamSpotVars{
356 +    double x0;
357 +    double y0;
358 +    double z0;
359 +    double sigmaZ;
360 +    double BeamWidthX;
361 +    double BeamWidthY;
362 +    double x0Error;
363 +    double y0Error;
364 +    double z0Error;
365 +    double sigmaZ0Error;
366 +    double BeamWidthXError;
367 +    double BeamWidthYError;    
368 +    //double dxdz;
369 +    //double dydz;
370 +    //double dxdzError;
371 +    //double dydzError;
372 +    //BeamType type();
373 +    //enum BeamType { Unknown=-1, Fake=0, LHC=1, Tracker=2 };
374 +    //double emittanceX() const { return emittanceX_; }
375 +    //double emittanceY() const { return emittanceY_; }
376 +    //double betaStar() const { return betaStar_; }
377 +  };
378 +
379 +
380 +
381 +
382    double DeltaPhi(const double phi1, const double phi2);
383  
384    double DeltaR(const BaseVars & v1, const BaseVars & v2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines