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.12 by amagnan, Fri Aug 27 13:17:14 2010 UTC vs.
Revision 1.22 by agilbert, Tue May 31 16:27:54 2011 UTC

# Line 69 | Line 69 | namespace HbbAnalysis {
69      double vx;
70      double vy;
71      double vz;
72 +    bool hltMatch;
73    };
74  
75    struct SCVars {
# Line 88 | Line 89 | namespace HbbAnalysis {
89    };
90    
91    struct EleIDVars{
92 <    bool idAndIso;
92 >    unsigned short idAndIso;
93      std::vector<std::pair<std::string,float> > electronIDs;
94      float hOverE;
95      float deltaPhiIn;
96      float deltaEtaIn;
97      bool ecalDrivenSeed;
98      bool trackerDrivenSeed;
99 +    float dB;
100    };
101  
102    struct MuTrkVars {
103 <    float IPd0;
104 <    float IPdz;
105 <    unsigned int nHits;
103 >    float dxy;
104 >    float dz;
105 >    float normalizedChi2;
106 >    unsigned int muonHits;
107 >    int charge;
108 >    unsigned int trackerHits;
109 >    unsigned int pixelHits;
110    };
111    
112    struct MuIsoVars {
# Line 120 | Line 126 | namespace HbbAnalysis {
126      unsigned int nMatchesLoose;
127      unsigned int nMatchesMedium;
128      unsigned int nMatchesTight;
129 +    float dB;
130    };
131  
132 +  
133    struct TrkVars{
134      double pT;
135      double eta;
# Line 131 | Line 139 | namespace HbbAnalysis {
139      double IPz;
140      float signedSipt;
141    };
142 +  
143  
144    struct CaloTauIsoVars{
145      unsigned int nIsoTracks;
# Line 214 | Line 223 | namespace HbbAnalysis {
223      float etaEtaMoment;
224      float phiPhiMoment;
225      float etaPhiMoment;
217    bool l1Match;
218    bool hltMatch;
226      //double rawEta;
227      //double rawPhi;
228    };
# Line 240 | Line 247 | namespace HbbAnalysis {
247    struct JPTJetVars{
248      float zspCorrection;
249      int elecMultiplicity;
250 <    std::vector<TrkVars> pionsInCone;
251 <    std::vector<TrkVars> pionsCurledOut;
252 <    std::vector<TrkVars> pionsCurledIn;
253 <    std::vector<TrkVars> elecsInCone;
254 <    std::vector<TrkVars> elecsCurledOut;
255 <    std::vector<TrkVars> elecsCurledIn;
256 <    std::vector<TrkVars> muonsInCone;
257 <    std::vector<TrkVars> muonsCurledOut;
258 <    std::vector<TrkVars> muonsCurledIn;
250 >    float calopT;
251 >    float caloEta;
252 >    //std::vector<TrkVars> pionsInCone;
253 >    //std::vector<TrkVars> pionsCurledOut;
254 >    //std::vector<TrkVars> pionsCurledIn;
255 >    //std::vector<TrkVars> elecsInCone;
256 >    //std::vector<TrkVars> elecsCurledOut;
257 >    //std::vector<TrkVars> elecsCurledIn;
258 >    //std::vector<TrkVars> muonsInCone;
259 >    //std::vector<TrkVars> muonsCurledOut;
260 >    //std::vector<TrkVars> muonsCurledIn;
261 >    std::vector< std::pair<unsigned int,double> > particleStatusPt;
262    };
263  
264    struct JPTPFJetVars{
# Line 268 | Line 278 | namespace HbbAnalysis {
278      double chargedMuEnergy;
279      double chargedMuEnergyFraction;
280      double neutralMultiplicity;
281 +    unsigned numberOfDaughters;
282 +    double HFHadronEnergy;
283    };
284  
285    struct JetBtagVars{
# Line 308 | Line 320 | namespace HbbAnalysis {
320      //int numberOfHitsRPC;
321    };
322  
323 +  struct JetECorVars{
324 +    std::vector<std::pair<std::string,double> > Levels;
325 +  };
326 +
327  
328    struct MetVars{
329      double mET;
# Line 327 | Line 343 | namespace HbbAnalysis {
343  
344    struct VertexVars{
345      std::vector<float> trackWeights;
346 +    std::vector<float> trackpT;
347      double chi2;
348      double ndof;
349      double x;
350      double y;
351      double z;
352 +    double rho;
353      double xError;
354      double yError;
355      double zError;
# Line 340 | Line 358 | namespace HbbAnalysis {
358      double cov12;
359    };
360  
361 +  struct BeamSpotVars{
362 +    double x0;
363 +    double y0;
364 +    double z0;
365 +    double sigmaZ;
366 +    double BeamWidthX;
367 +    double BeamWidthY;
368 +    double x0Error;
369 +    double y0Error;
370 +    double z0Error;
371 +    double sigmaZ0Error;
372 +    double BeamWidthXError;
373 +    double BeamWidthYError;    
374 +    //double dxdz;
375 +    //double dydz;
376 +    //double dxdzError;
377 +    //double dydzError;
378 +    //BeamType type();
379 +    //enum BeamType { Unknown=-1, Fake=0, LHC=1, Tracker=2 };
380 +    //double emittanceX() const { return emittanceX_; }
381 +    //double emittanceY() const { return emittanceY_; }
382 +    //double betaStar() const { return betaStar_; }
383 +  };
384 +
385 +
386 +
387 +
388    double DeltaPhi(const double phi1, const double phi2);
389  
390    double DeltaR(const BaseVars & v1, const BaseVars & v2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines