Fork me on GitHub

Changeset 319 in svn for trunk/interface


Ignore:
Timestamp:
Mar 10, 2009, 11:59:08 PM (16 years ago)
Author:
Xavier Rouby
Message:

from TRootGenParticle to GenParticle in B-tag

Location:
trunk/interface
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/JetsUtil.h

    r311 r319  
    8383  vector<fastjet::PseudoJet> RunJetsResol(const vector<fastjet::PseudoJet>&  input_particles);
    8484 
    85   void RunJetBtagging(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchJet,const vector<fastjet::PseudoJet> & sorted_jets,const TSimpleArray<TRootGenParticle> & NFCentralQ, const vector<int> &NTrackJet, const vector<float> &EHADEEM);
     85  void RunJetBtagging(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchJet,const vector<fastjet::PseudoJet> & sorted_jets,const TSimpleArray<GenParticle> & NFCentralQ, const vector<int> &NTrackJet, const vector<float> &EHADEEM);
    8686 
    8787  void RunTauJets(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchTauJet,const vector<fastjet::PseudoJet> & sorted_jets,const vector<PhysicsTower> & towers, const vector<TRootTracks> & TrackCentral, const vector<int> &NTrackJet, const vector<float> &EHADEEM);
  • trunk/interface/SmearUtil.h

    r307 r319  
    225225
    226226  /// b-jets
    227   int Bjets(const TSimpleArray<TRootGenParticle> &subarray, const float eta, const float phi);
     227  int Bjets(const TSimpleArray<GenParticle> &subarray, const float& eta, const float& phi);
    228228 
    229229  /// b-tag efficiency and misidentification
    230   bool Btaggedjet(const TLorentzVector &JET, const TSimpleArray<TRootGenParticle> &subarray);
     230  bool Btaggedjet(const TLorentzVector &JET, const TSimpleArray<GenParticle> &subarray);
    231231
    232232  /// Lepton isolation
    233   //bool Isolation(const float phi, const float eta,const vector<TLorentzVector> &tracks,float PT_TRACK2);
    234   bool Isolation(const float phi, const float eta,const vector<TRootTracks> &tracks, const float PT_TRACK2, const float isolCone);
     233  bool Isolation(const float phi, const float eta,const vector<TRootTracks> &tracks, const float& pt_second_track, const float& isolCone);
    235234
    236235  //********************* returns a segmented value for eta and phi, for calo towers *****
Note: See TracChangeset for help on using the changeset viewer.