Fork me on GitHub

Changeset fbad4c7 in git for classes


Ignore:
Timestamp:
May 24, 2018, 9:12:31 PM (7 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
4689481
Parents:
4fd4f01 (diff), 792092a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into photonId

Conflicts:

cards/CMS_PhaseII/CMS_PhaseII_200PU_v03.tcl

Location:
classes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r4fd4f01 rfbad4c7  
    125125  Flavor(0), FlavorAlgo(0), FlavorPhys(0),
    126126  BTag(0), BTagAlgo(0), BTagPhys(0),
    127   TauTag(0), Eem(0.0), Ehad(0.0),
     127  TauTag(0), TauWeight(0.0), Eem(0.0), Ehad(0.0),
    128128  DeltaEta(0.0), DeltaPhi(0.0),
    129129  Momentum(0.0, 0.0, 0.0, 0.0),
     
    280280  object.BTagPhys = BTagPhys;
    281281  object.TauTag = TauTag;
     282  object.TauWeight = TauWeight;
    282283  object.Eem = Eem;
    283284  object.Ehad = Ehad;
     
    404405  BTagPhys = 0;
    405406  TauTag = 0;
     407  TauWeight = 0.0;
    406408  Eem = 0.0;
    407409  Ehad = 0.0;
  • classes/DelphesClasses.h

    r4fd4f01 rfbad4c7  
    375375
    376376  UInt_t TauTag; // 0 or 1 for a jet that has been tagged as a tau
     377  Float_t TauWeight; // probability for jet to be identified as tau
    377378
    378379  Int_t Charge; // tau charge
     
    563564
    564565  UInt_t TauTag;
     566  Float_t TauWeight;
    565567
    566568  Float_t Eem;
  • classes/DelphesHepMCReader.cc

    r4fd4f01 rfbad4c7  
    333333//---------------------------------------------------------------------------
    334334
     335void DelphesHepMCReader::AnalyzeWeight(ExRootTreeBranch *branch)
     336{
     337  Weight *element;
     338  vector< double >::const_iterator itWeight;
     339
     340  for(itWeight = fWeight.begin(); itWeight != fWeight.end(); ++itWeight)
     341  {
     342    element = static_cast<Weight *>(branch->NewEntry());
     343
     344    element->Weight = *itWeight;
     345  }
     346}
     347
     348//---------------------------------------------------------------------------
     349
    335350void DelphesHepMCReader::AnalyzeParticle(DelphesFactory *factory,
    336351  TObjArray *allParticleOutputArray,
  • classes/DelphesHepMCReader.h

    r4fd4f01 rfbad4c7  
    5959    TStopwatch *readStopWatch, TStopwatch *procStopWatch);
    6060
     61  void AnalyzeWeight(ExRootTreeBranch *branch);
     62
    6163private:
    6264
Note: See TracChangeset for help on using the changeset viewer.