Fork me on GitHub

Changeset de6d698 in git for classes


Ignore:
Timestamp:
Mar 16, 2015, 4:39:51 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
986d9d5
Parents:
666d795
Message:

added Trimming, Pruning and SoftDrop in FastJetFinder

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r666d795 rde6d698  
    129129  NCharged(0),
    130130  NNeutrals(0),
     131  NSubJetsTrimmed(0),
     132  NSubJetsPruned(0),
     133  NSubJetsSoftDropped(0),
    131134  Beta(0),
    132135  BetaStar(0),
     
    157160  Tau[3] = 0.0;
    158161  Tau[4] = 0.0;
     162  TrimmedP4[0] = 0.0;
     163  TrimmedP4[1] = 0.0;
     164  TrimmedP4[2] = 0.0;
     165  TrimmedP4[3] = 0.0;
     166  TrimmedP4[4] = 0.0;
     167  PrunedP4[0] = 0.0;
     168  PrunedP4[1] = 0.0;
     169  PrunedP4[2] = 0.0;
     170  PrunedP4[3] = 0.0;
     171  PrunedP4[4] = 0.0;
     172  SoftDroppedP4[0] = 0.0;
     173  SoftDroppedP4[1] = 0.0;
     174  SoftDroppedP4[2] = 0.0;
     175  SoftDroppedP4[3] = 0.0;
     176  SoftDroppedP4[4] = 0.0;
    159177}
    160178
     
    274292  object.Tau[3] = Tau[3];
    275293  object.Tau[4] = Tau[4];
     294 
     295  object.TrimmedP4[0] = TrimmedP4[0];
     296  object.TrimmedP4[1] = TrimmedP4[1];
     297  object.TrimmedP4[2] = TrimmedP4[2];
     298  object.TrimmedP4[3] = TrimmedP4[3];
     299  object.TrimmedP4[4] = TrimmedP4[4];
     300  object.PrunedP4[0] = PrunedP4[0];
     301  object.PrunedP4[1] = PrunedP4[1];
     302  object.PrunedP4[2] = PrunedP4[2];
     303  object.PrunedP4[3] = PrunedP4[3];
     304  object.PrunedP4[4] = PrunedP4[4];
     305  object.SoftDroppedP4[0] = SoftDroppedP4[0];
     306  object.SoftDroppedP4[1] = SoftDroppedP4[1];
     307  object.SoftDroppedP4[2] = SoftDroppedP4[2];
     308  object.SoftDroppedP4[3] = SoftDroppedP4[3];
     309  object.SoftDroppedP4[4] = SoftDroppedP4[4];
     310
     311  object.NSubJetsTrimmed     = NSubJetsTrimmed;
     312  object.NSubJetsPruned      = NSubJetsPruned;
     313  object.NSubJetsSoftDropped = NSubJetsSoftDropped;
    276314
    277315  object.fFactory = fFactory;
    278316  object.fArray = 0;
    279 
    280317
    281318  // Copy cluster timing info
     
    351388  Tau[3] = 0.0;
    352389  Tau[4] = 0.0;
    353 
     390 
     391  TrimmedP4[0]= 0.0;
     392  TrimmedP4[1]= 0.0;
     393  TrimmedP4[2]= 0.0;
     394  TrimmedP4[3]= 0.0;
     395  TrimmedP4[4]= 0.0;
     396  PrunedP4[0]= 0.0;
     397  PrunedP4[1]= 0.0;
     398  PrunedP4[2]= 0.0;
     399  PrunedP4[3]= 0.0;
     400  PrunedP4[4]= 0.0;
     401  SoftDroppedP4[0]= 0.0;
     402  SoftDroppedP4[1]= 0.0;
     403  SoftDroppedP4[2]= 0.0;
     404  SoftDroppedP4[3]= 0.0;
     405  SoftDroppedP4[4]= 0.0;
     406  NSubJetsTrimmed     = 0;
     407  NSubJetsPruned      = 0;
     408  NSubJetsSoftDropped = 0;
     409 
    354410  fArray = 0;
    355411}
  • classes/DelphesClasses.h

    r666d795 rde6d698  
    349349
    350350  Float_t Tau[5]; // N-subjettiness
    351  
     351 
     352  TLorentzVector TrimmedP4[5]; //first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
     353  TLorentzVector PrunedP4[5]; //first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
     354  TLorentzVector SoftDroppedP4[5]; //first entry (i = 0) is the total SoftDropped Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
     355 
     356  Int_t    NSubJetsTrimmed; // number of subjets trimmed
     357  Int_t    NSubJetsPruned; // number of subjets pruned
     358  Int_t    NSubJetsSoftDropped; // number of subjets soft-dropped
     359   
    352360  TRefArray Constituents; // references to constituents
    353361  TRefArray Particles; // references to generated particles
     
    527535  Float_t Tau[5];
    528536 
    529  
    530  
     537  // Other Substructure variables
     538 
     539  TLorentzVector TrimmedP4[5]; //first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
     540  TLorentzVector PrunedP4[5]; //first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
     541  TLorentzVector SoftDroppedP4[5]; //first entry (i = 0) is the total SoftDropped Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
     542 
     543  Int_t    NSubJetsTrimmed; // number of subjets trimmed
     544  Int_t    NSubJetsPruned; // number of subjets pruned
     545  Int_t    NSubJetsSoftDropped; // number of subjets soft-dropped
     546
    531547
    532548  static CompBase *fgCompare; //!
     
    548564  void SetFactory(DelphesFactory *factory) { fFactory = factory; }
    549565
    550   ClassDef(Candidate, 2)
     566  ClassDef(Candidate, 3)
    551567};
    552568
Note: See TracChangeset for help on using the changeset viewer.