Fork me on GitHub

Changeset 63178fb in git


Ignore:
Timestamp:
Apr 17, 2014, 12:05:05 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c2d6ea2
Parents:
41376ac
Message:

fix Candidate and add comments to new Jet variables

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r41376ac r63178fb  
    112112  Position(0.0, 0.0, 0.0, 0.0),
    113113  Dxy(0),SDxy(0),Xd(0),Yd(0),Zd(0),
    114   Tau1(0.0), Tau2(0.0), Tau3(0.0), Tau4(0.0), Tau5(0.0),
    115114  Area(0.0, 0.0, 0.0, 0.0),
    116115  NCharged(0),
     
    132131  FracPt[3] = 0.0;
    133132  FracPt[4] = 0.0;
     133  Tau[0] = 0.0;
     134  Tau[1] = 0.0;
     135  Tau[2] = 0.0;
     136  Tau[3] = 0.0;
     137  Tau[4] = 0.0;
    134138}
    135139
     
    236240  object.FracPt[3] = FracPt[3];
    237241  object.FracPt[4] = FracPt[4];
    238   object.Tau1 = Tau1;
    239   object.Tau2 = Tau2;
    240   object.Tau3 = Tau3;
    241   object.Tau4 = Tau4;
    242   object.Tau5 = Tau5;
     242  object.Tau[0] = Tau[0];
     243  object.Tau[1] = Tau[1];
     244  object.Tau[2] = Tau[2];
     245  object.Tau[3] = Tau[3];
     246  object.Tau[4] = Tau[4];
    243247
    244248  object.fFactory = fFactory;
     
    298302  FracPt[3] = 0.0;
    299303  FracPt[4] = 0.0;
    300   Tau1 = 0.0;
    301   Tau2 = 0.0;
    302   Tau3 = 0.0;
    303   Tau4 = 0.0;
    304   Tau5 = 0.0;
     304  Tau[0] = 0.0;
     305  Tau[1] = 0.0;
     306  Tau[2] = 0.0;
     307  Tau[3] = 0.0;
     308  Tau[4] = 0.0;
    305309
    306310  fArray = 0;
  • classes/DelphesClasses.h

    r41376ac r63178fb  
    299299  Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
    300300
    301   // -- PileUpJetID variables ---
     301  Int_t    NCharged; // number of charged constituents
     302  Int_t    NNeutrals; // number of neutral constituents
     303  Float_t  Beta; // (sum pt of charged pile-up constituents)/(sum pt of charged constituents)
     304  Float_t  BetaStar; // (sum pt of charged constituents coming from hard interaction)/(sum pt of charged constituents)
     305  Float_t  MeanSqDeltaR; // average distance (squared) between constituent and jet weighted by pt (squared) of constituent
     306  Float_t  PTD; // average pt between constituent and jet weighted by pt of constituent
     307  Float_t  FracPt[5]; // (sum pt of constituents within a ring 0.1*i < DeltaR < 0.1*(i+1))/(sum pt of constituents)
     308
     309  Float_t Tau1; // 1-subjettiness
     310  Float_t Tau2; // 2-subjettiness
     311  Float_t Tau3; // 3-subjettiness
     312  Float_t Tau4; // 4-subjettiness
     313  Float_t Tau5; // 5-subjettiness
     314
     315  TRefArray Constituents; // references to constituents
     316  TRefArray Particles; // references to generated particles
     317
     318  static CompBase *fgCompare; //!
     319  const CompBase *GetCompare() const { return fgCompare; }
     320
     321  TLorentzVector P4();
     322
     323  ClassDef(Jet, 2)
     324};
     325
     326//---------------------------------------------------------------------------
     327
     328class Track: public SortableObject
     329{
     330public:
     331  Int_t PID; // HEP ID number
     332
     333  Int_t Charge; // track charge
     334
     335  Float_t PT; // track transverse momentum
     336
     337  Float_t Eta; // track pseudorapidity
     338  Float_t Phi; // track azimuthal angle
     339
     340  Float_t EtaOuter; // track pseudorapidity at the tracker edge
     341  Float_t PhiOuter; // track azimuthal angle at the tracker edge
     342
     343  Float_t X; // track vertex position (x component)
     344  Float_t Y; // track vertex position (y component)
     345  Float_t Z; // track vertex position (z component)
     346  Float_t T; // track vertex position (z component)
     347
     348  Float_t XOuter; // track position (x component) at the tracker edge
     349  Float_t YOuter; // track position (y component) at the tracker edge
     350  Float_t ZOuter; // track position (z component) at the tracker edge
     351  Float_t TOuter; // track position (z component) at the tracker edge
     352
     353  Float_t Dxy;     // track signed transverse impact parameter
     354  Float_t SDxy;    // signed error on the track signed transverse impact parameter
     355  Float_t Xd;      // X coordinate of point of closest approach to vertex
     356  Float_t Yd;      // Y coordinate of point of closest approach to vertex
     357  Float_t Zd;      // Z coordinate of point of closest approach to vertex
     358
     359  TRef Particle; // reference to generated particle
     360
     361  static CompBase *fgCompare; //!
     362  const CompBase *GetCompare() const { return fgCompare; }
     363
     364  TLorentzVector P4();
     365
     366  ClassDef(Track, 2)
     367};
     368
     369//---------------------------------------------------------------------------
     370
     371class Tower: public SortableObject
     372{
     373public:
     374  Float_t ET; // calorimeter tower transverse energy
     375  Float_t Eta; // calorimeter tower pseudorapidity
     376  Float_t Phi; // calorimeter tower azimuthal angle
     377
     378  Float_t E; // calorimeter tower energy
     379
     380  Float_t T; //particle arrival time of flight
     381
     382  Float_t Eem; // calorimeter tower electromagnetic energy
     383  Float_t Ehad; // calorimeter tower hadronic energy
     384
     385  Float_t Edges[4]; // calorimeter tower edges
     386
     387  TRefArray Particles; // references to generated particles
     388
     389  static CompBase *fgCompare; //!
     390  const CompBase *GetCompare() const { return fgCompare; }
     391
     392  TLorentzVector P4();
     393
     394  ClassDef(Tower, 1)
     395};
     396
     397//---------------------------------------------------------------------------
     398
     399class HectorHit: public SortableObject
     400{
     401public:
     402  Float_t E; // reconstructed energy [GeV]
     403
     404  Float_t Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
     405  Float_t Ty; // angle of the momentum in the verical (y,z) plane [urad]
     406
     407  Float_t T; // time of flight to the detector [s]
     408
     409  Float_t X; // horizontal distance to the beam [um]
     410  Float_t Y; // vertical distance to the beam [um]
     411  Float_t S; // distance to the interaction point [m]
     412
     413  TRef Particle; // reference to generated particle
     414
     415  static CompBase *fgCompare; //!
     416  const CompBase *GetCompare() const { return fgCompare; }
     417
     418  ClassDef(HectorHit, 1)
     419};
     420
     421//---------------------------------------------------------------------------
     422
     423class Candidate: public SortableObject
     424{
     425  friend class DelphesFactory;
     426
     427public:
     428  Candidate();
     429
     430  Int_t PID;
     431
     432  Int_t Status;
     433  Int_t M1, M2, D1, D2;
     434
     435  Int_t Charge;
     436
     437  Float_t Mass;
     438
     439  Int_t IsPU;
     440  Int_t IsConstituent;
     441
     442  UInt_t BTag;
     443  UInt_t TauTag;
     444
     445  Float_t Eem;
     446  Float_t Ehad;
     447
     448  Float_t Edges[4];
     449  Float_t DeltaEta;
     450  Float_t DeltaPhi;
     451
     452  TLorentzVector Momentum, Position, Area;
     453
     454  Float_t  Dxy;
     455  Float_t  SDxy;
     456  Float_t  Xd;
     457  Float_t  Yd;
     458  Float_t  Zd;
     459
     460  // PileUpJetID variables
    302461
    303462  Int_t    NCharged;
     
    309468  Float_t  FracPt[5];
    310469
    311  // -- Nsubjettiness variables ---
    312 
    313   Float_t Tau1;
    314   Float_t Tau2;
    315   Float_t Tau3;
    316   Float_t Tau4;
    317   Float_t Tau5;
    318 
    319   TRefArray Constituents; // references to constituents
    320   TRefArray Particles; // references to generated particles
    321 
    322   static CompBase *fgCompare; //!
    323   const CompBase *GetCompare() const { return fgCompare; }
    324 
    325   TLorentzVector P4();
    326 
    327   ClassDef(Jet, 2)
    328 };
    329 
    330 //---------------------------------------------------------------------------
    331 
    332 class Track: public SortableObject
    333 {
    334 public:
    335   Int_t PID; // HEP ID number
    336 
    337   Int_t Charge; // track charge
    338 
    339   Float_t PT; // track transverse momentum
    340 
    341   Float_t Eta; // track pseudorapidity
    342   Float_t Phi; // track azimuthal angle
    343 
    344   Float_t EtaOuter; // track pseudorapidity at the tracker edge
    345   Float_t PhiOuter; // track azimuthal angle at the tracker edge
    346 
    347   Float_t X; // track vertex position (x component)
    348   Float_t Y; // track vertex position (y component)
    349   Float_t Z; // track vertex position (z component)
    350   Float_t T; // track vertex position (z component)
    351 
    352   Float_t XOuter; // track position (x component) at the tracker edge
    353   Float_t YOuter; // track position (y component) at the tracker edge
    354   Float_t ZOuter; // track position (z component) at the tracker edge
    355   Float_t TOuter; // track position (z component) at the tracker edge
    356 
    357   Float_t Dxy;     // track signed transverse impact parameter
    358   Float_t SDxy;    // signed error on the track signed transverse impact parameter
    359   Float_t Xd;      // X coordinate of point of closest approach to vertex
    360   Float_t Yd;      // Y coordinate of point of closest approach to vertex
    361   Float_t Zd;      // Z coordinate of point of closest approach to vertex
    362 
    363   TRef Particle; // reference to generated particle
    364 
    365   static CompBase *fgCompare; //!
    366   const CompBase *GetCompare() const { return fgCompare; }
    367 
    368   TLorentzVector P4();
    369 
    370   ClassDef(Track, 2)
    371 };
    372 
    373 //---------------------------------------------------------------------------
    374 
    375 class Tower: public SortableObject
    376 {
    377 public:
    378   Float_t ET; // calorimeter tower transverse energy
    379   Float_t Eta; // calorimeter tower pseudorapidity
    380   Float_t Phi; // calorimeter tower azimuthal angle
    381 
    382   Float_t E; // calorimeter tower energy
    383 
    384   Float_t T; //particle arrival time of flight
    385 
    386   Float_t Eem; // calorimeter tower electromagnetic energy
    387   Float_t Ehad; // calorimeter tower hadronic energy
    388 
    389   Float_t Edges[4]; // calorimeter tower edges
    390 
    391   TRefArray Particles; // references to generated particles
    392 
    393   static CompBase *fgCompare; //!
    394   const CompBase *GetCompare() const { return fgCompare; }
    395 
    396   TLorentzVector P4();
    397 
    398   ClassDef(Tower, 1)
    399 };
    400 
    401 //---------------------------------------------------------------------------
    402 
    403 class HectorHit: public SortableObject
    404 {
    405 public:
    406   Float_t E; // reconstructed energy [GeV]
    407 
    408   Float_t Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
    409   Float_t Ty; // angle of the momentum in the verical (y,z) plane [urad]
    410 
    411   Float_t T; // time of flight to the detector [s]
    412 
    413   Float_t X; // horizontal distance to the beam [um]
    414   Float_t Y; // vertical distance to the beam [um]
    415   Float_t S; // distance to the interaction point [m]
    416 
    417   TRef Particle; // reference to generated particle
    418 
    419   static CompBase *fgCompare; //!
    420   const CompBase *GetCompare() const { return fgCompare; }
    421 
    422   ClassDef(HectorHit, 1)
    423 };
    424 
    425 //---------------------------------------------------------------------------
    426 
    427 class Candidate: public SortableObject
    428 {
    429   friend class DelphesFactory;
    430 
    431 public:
    432   Candidate();
    433 
    434   Int_t PID;
    435 
    436   Int_t Status;
    437   Int_t M1, M2, D1, D2;
    438 
    439   Int_t Charge;
    440 
    441   Float_t Mass;
    442 
    443   Int_t IsPU;
    444   Int_t IsConstituent;
    445 
    446   UInt_t BTag;
    447   UInt_t TauTag;
    448 
    449   Float_t Eem;
    450   Float_t Ehad;
    451 
    452   Float_t Edges[4];
    453   Float_t DeltaEta;
    454   Float_t DeltaPhi;
    455 
    456   TLorentzVector Momentum, Position, Area;
    457 
    458   Float_t  Dxy;
    459   Float_t  SDxy;
    460   Float_t  Xd;
    461   Float_t  Yd;
    462   Float_t  Zd;
    463 
    464   // PileUpJetID variables
    465 
    466   Int_t    NCharged;
    467   Int_t    NNeutrals;
    468   Float_t  Beta;
    469   Float_t  BetaStar;
    470   Float_t  MeanSqDeltaR;
    471   Float_t  PTD;
    472   Float_t  FracPt[5];
    473 
    474   // -- Nsubjettiness variables ---
     470  // N-subjettiness variables
    475471
    476472  Float_t Tau[5];
Note: See TracChangeset for help on using the changeset viewer.