- Timestamp:
- Dec 19, 2014, 3:15:11 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- df35033
- Parents:
- a190d94
- Location:
- modules
- Files:
-
- 68 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/AngularSmearing.cc
ra190d94 rcab38f6 21 21 * 22 22 * Performs transverse angular resolution smearing. 23 *24 * $Date: 2014-06-17 16:58:53 +0100 $25 *26 *27 23 * 28 24 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/AngularSmearing.h
ra190d94 rcab38f6 23 23 * 24 24 * Performs transverse angular resolution smearing. 25 *26 * $Date: 2014-06-17 16:58:53 +0100 $27 *28 *29 25 * 30 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/BTagging.cc
ra190d94 rcab38f6 23 23 * applies b-tagging efficiency (miss identification rate) formulas 24 24 * and sets b-tagging flags 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/BTagging.h
ra190d94 rcab38f6 25 25 * applies b-tagging efficiency (miss identification rate) formulas 26 26 * and sets b-tagging flags 27 *28 * $Date$29 * $Revision$30 *31 27 * 32 28 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Calorimeter.cc
ra190d94 rcab38f6 23 23 * and creates energy flow objects (tracks, photons, and neutral hadrons). 24 24 * 25 * $Date$26 * $Revision$27 *28 *29 25 * \author P. Demin - UCL, Louvain-la-Neuve 30 26 * -
modules/Calorimeter.h
ra190d94 rcab38f6 24 24 * Fills calorimeter towers, performs calorimeter resolution smearing, 25 25 * and creates energy flow objects (tracks, photons, and neutral hadrons). 26 *27 * $Date$28 * $Revision$29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Cloner.cc
ra190d94 rcab38f6 21 21 * 22 22 * Clone candidate array 23 *24 * $Date$25 * $Revision$26 23 * 27 24 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/Cloner.h
ra190d94 rcab38f6 23 23 * 24 24 * Clone candidate array 25 *26 * $Date$27 * $Revision$28 25 * 29 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/ConstituentFilter.cc
ra190d94 rcab38f6 21 21 * 22 22 * Drops all input objects that are not constituents of any jet. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ConstituentFilter.h
ra190d94 rcab38f6 23 23 * 24 24 * Drops all input objects that are not constituents of any jet. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Delphes.cc
ra190d94 rcab38f6 22 22 * Main Delphes module. 23 23 * Controls execution of all other modules. 24 *25 * $Date$26 * $Revision$27 *28 24 * 29 25 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Delphes.h
ra190d94 rcab38f6 24 24 * Main Delphes module. 25 25 * Controls execution of all other modules. 26 *27 * $Date$28 * $Revision$29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Efficiency.cc
ra190d94 rcab38f6 21 21 * 22 22 * Selects candidates from the InputArray according to the efficiency formula. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Efficiency.h
ra190d94 rcab38f6 23 23 * 24 24 * Selects candidates from the InputArray according to the efficiency formula. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/EnergyScale.cc
ra190d94 rcab38f6 21 21 * 22 22 * Applies energy scale. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/EnergyScale.h
ra190d94 rcab38f6 23 23 * 24 24 * Applies energy scale. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/EnergySmearing.cc
ra190d94 rcab38f6 21 21 * 22 22 * Performs energy resolution smearing. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/EnergySmearing.h
ra190d94 rcab38f6 23 23 * 24 24 * Performs energy resolution smearing. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ExampleModule.cc
ra190d94 rcab38f6 21 21 * 22 22 * Selects candidates from the InputArray according to the efficiency formula. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ExampleModule.h
ra190d94 rcab38f6 23 23 * 24 24 * Selects candidates from the InputArray according to the efficiency formula. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/FastJetFinder.cc
ra190d94 rcab38f6 21 21 * 22 22 * Finds jets using FastJet library. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/FastJetFinder.h
ra190d94 rcab38f6 23 23 * 24 24 * Finds jets using FastJet library. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/FastJetGridMedianEstimator.cc
ra190d94 rcab38f6 19 19 20 20 /** \class FastJetGridMedianEstimator 21 *22 21 * 23 22 * Computes median energy density per event using a fixed grid. -
modules/FastJetLinkDef.h
ra190d94 rcab38f6 22 22 * Lists classes to be included in cint dicitonary 23 23 * 24 * $Date: 2014-04-16 17:17:35 +0200 (Wed, 16 Apr 2014) $25 * $Revision: 1369 $26 *27 *28 24 * \author P. Demin - UCL, Louvain-la-Neuve 29 25 * -
modules/Hector.cc
ra190d94 rcab38f6 21 21 * 22 22 * Propagates candidates using Hector library. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Hector.h
ra190d94 rcab38f6 23 23 * 24 24 * Propagates candidates using Hector library. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/IdentificationMap.cc
ra190d94 rcab38f6 20 20 /** \class IdentificationMap 21 21 * 22 * Converts particles with some PDG code into another particle, according to parametrized probability as function of pt eta 23 given by user. 24 * 25 * $Date: 2014-08-07 14:57:44 +0100 (Thu, 07 Aug 2014) $ 26 * $Revision: 905 $ 27 * 22 * Converts particles with some PDG code into another particle, 23 * according to parametrized probability. 28 24 * 29 25 * \author M. Selvaggi - UCL, Louvain-la-Neuve … … 49 45 #include "TLorentzVector.h" 50 46 51 #include <algorithm> 47 #include <algorithm> 52 48 #include <stdexcept> 53 49 #include <iostream> … … 75 71 // read efficiency formula 76 72 77 73 78 74 TMisIDMap::iterator itEfficiencyMap; 79 75 ExRootConfParam param; 80 76 DelphesFormula *formula; 81 77 Int_t i, size, pdg; 82 78 83 79 // read efficiency formulas 84 80 param = GetParam("EfficiencyFormula"); 85 81 size = param.GetSize(); 86 82 87 83 fEfficiencyMap.clear(); 88 84 for(i = 0; i < size/3; ++i) … … 92 88 pdg = param[i*3].GetInt(); 93 89 fEfficiencyMap.insert(make_pair(pdg,make_pair(param[i*3 + 1].GetInt(),formula))); 94 90 95 91 // cout<<param[i*3].GetInt()<<","<<param[i*3+1].GetInt()<<","<<param[i*3 + 2].GetString()<<endl; 96 92 97 93 } 98 94 … … 106 102 fEfficiencyMap.insert(make_pair(0,make_pair(0,formula))); 107 103 } 108 104 109 105 // import input array 110 106 … … 122 118 { 123 119 if(fItInputArray) delete fItInputArray; 124 120 125 121 TMisIDMap::iterator itEfficiencyMap; 126 122 DelphesFormula *formula; … … 136 132 137 133 void IdentificationMap::Process() 138 { 134 { 139 135 Candidate *candidate; 140 136 Double_t pt, eta, phi; … … 145 141 146 142 Double_t P, Pi; 147 143 148 144 // cout<<"------------ New Event ------------"<<endl; 149 145 150 146 fItInputArray->Reset(); 151 147 while((candidate = static_cast<Candidate*>(fItInputArray->Next()))) … … 158 154 pdgIn = candidate->PID; 159 155 charge = candidate->Charge; 160 156 161 157 // cout<<"------------ New Candidate ------------"<<endl; 162 158 // cout<<candidate->PID<<" "<<pt<<","<<eta<<","<<phi<<endl; 163 159 164 160 P = 1.0; 165 161 166 162 //first check that PID of this particle is specified in cfg, if not set look for PID=0 167 163 168 164 itEfficiencyMap = fEfficiencyMap.find(pdgIn); 169 170 range = fEfficiencyMap.equal_range(pdgIn); 165 166 range = fEfficiencyMap.equal_range(pdgIn); 171 167 if(range.first == range.second) range = fEfficiencyMap.equal_range(-pdgIn); 172 168 if(range.first == range.second) range = fEfficiencyMap.equal_range(0); 173 169 174 170 //loop over submap for this pid 175 171 for (TMisIDMap::iterator it=range.first; it!=range.second; ++it) 176 { 177 172 { 173 178 174 formula = (it->second).second; 179 175 pdgOut = (it->second).first; 180 176 181 177 Pi = formula->Eval(pt, eta); 182 178 183 179 // check that sum of probabilities does not exceed 1. 184 180 P = (P - Pi)/P; 185 181 186 182 if( P < 0.0 ) continue; 187 183 else 188 184 { 189 185 190 186 //randomly assign a PID to particle according to map 191 187 Double_t rndm = gRandom->Uniform(); 192 188 193 189 if(rndm > P) 194 190 { … … 198 194 break; 199 195 } 200 } 201 196 } 197 202 198 } 203 199 204 200 } 205 201 -
modules/IdentificationMap.h
ra190d94 rcab38f6 23 23 /** \class IdentificationMap 24 24 * 25 * Converts particles with some PDG code into another particle, according to parametrized probability as function of pt eta 26 given by user. 27 * 28 * $Date: 2014-08-07 14:57:44 +0100 (Thu, 07 Aug 2014) $ 29 * $Revision: 905 $ 30 * 25 * Converts particles with some PDG code into another particle, 26 * according to parametrized probability. 31 27 * 32 28 * \author M. Selvaggi - UCL, Louvain-la-Neuve … … 52 48 53 49 private: 54 50 55 51 typedef std::multimap< Int_t, std::pair<Int_t , DelphesFormula * > > TMisIDMap; //! 56 52 57 53 TMisIDMap fEfficiencyMap; 58 54 59 55 TIterator *fItInputArray; //! 60 56 -
modules/ImpactParameterSmearing.cc
ra190d94 rcab38f6 20 20 * 21 21 * Performs transverse impact parameter smearing. 22 *23 * $Date: 2014-16-03 14:57:44 +010024 *25 22 * 26 23 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/ImpactParameterSmearing.h
ra190d94 rcab38f6 23 23 * 24 24 * Performs transverse impact parameter smearing. 25 *26 * $Date: 2014-16-03 14:57:44 +010027 *28 25 * 29 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/Isolation.cc
ra190d94 rcab38f6 24 24 * to the candidate's transverse momentum. outputs candidates that have 25 25 * the transverse momenta fraction within (PTRatioMin, PTRatioMax]. 26 *27 * $Date$28 * $Revision$29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Isolation.h
ra190d94 rcab38f6 26 26 * to the candidate's transverse momentum. outputs candidates that have 27 27 * the transverse momenta fraction within (PTRatioMin, PTRatioMax]. 28 *29 * $Date$30 * $Revision$31 *32 28 * 33 29 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/JetPileUpSubtractor.cc
ra190d94 rcab38f6 21 21 * 22 22 * Subtract pile-up contribution from jets using the fastjet area method 23 *24 * $Date: 2012-11-18 15:57:08 +0100 (Sun, 18 Nov 2012) $25 * $Revision: 814 $26 23 * 27 24 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/JetPileUpSubtractor.h
ra190d94 rcab38f6 23 23 * 24 24 * Subtract pile-up contribution from jets using the fastjet area method 25 *26 * $Date: 2012-11-18 15:57:08 +0100 (Sun, 18 Nov 2012) $27 * $Revision: 814 $28 25 * 29 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/LeptonDressing.cc
ra190d94 rcab38f6 19 19 20 20 /** \class LeptonDressing 21 *22 *23 21 * 24 22 * -
modules/LeptonDressing.h
ra190d94 rcab38f6 21 21 22 22 /** \class LeptonDressing 23 *24 23 * 25 24 * \author P. Demin && A. Mertens - UCL, Louvain-la-Neuve -
modules/Merger.cc
ra190d94 rcab38f6 22 22 * Merges multiple input arrays into one output array 23 23 * and sums transverse momenta of all input objects. 24 *25 * $Date$26 * $Revision$27 *28 24 * 29 25 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Merger.h
ra190d94 rcab38f6 24 24 * Merges multiple input arrays into one output array 25 25 * and sums transverse momenta of all input objects. 26 *27 * $Date$28 * $Revision$29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ModulesLinkDef.h
ra190d94 rcab38f6 21 21 * 22 22 * Lists classes to be included in cint dicitonary 23 *24 * $Date: 2014-04-16 17:17:35 +0200 (Wed, 16 Apr 2014) $25 * $Revision: 1369 $26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/MomentumSmearing.cc
ra190d94 rcab38f6 21 21 * 22 22 * Performs transverse momentum resolution smearing. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/MomentumSmearing.h
ra190d94 rcab38f6 23 23 * 24 24 * Performs transverse momentum resolution smearing. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ParticlePropagator.cc
ra190d94 rcab38f6 24 24 * its half-length, centered at (0,0,0) and with its axis 25 25 * oriented along the z-axis. 26 *27 * $Date$28 * $Revision$29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/ParticlePropagator.h
ra190d94 rcab38f6 26 26 * its half-length, centered at (0,0,0) and with its axis 27 27 * oriented along the z-axis. 28 *29 * $Date$30 * $Revision$31 *32 28 * 33 29 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/PileUpJetID.cc
ra190d94 rcab38f6 22 22 * 23 23 * \author S. Zenz, December 2013 24 *25 24 * 26 25 */ -
modules/PileUpJetID.h
ra190d94 rcab38f6 25 25 * 26 26 * \author S. Zenz, December 2013 27 *28 27 * 29 28 */ -
modules/PileUpMerger.cc
ra190d94 rcab38f6 20 20 * 21 21 * Merges particles from pile-up sample into event 22 *23 *24 * $Date: 2013-02-12 15:13:59 +0100 (Tue, 12 Feb 2013) $25 * $Revision: 907 $26 *27 22 * 28 23 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/PileUpMerger.h
ra190d94 rcab38f6 23 23 * 24 24 * Merges particles from pile-up sample into event 25 *26 *27 * $Date: 2013-02-12 15:13:59 +0100 (Tue, 12 Feb 2013) $28 * $Revision: 907 $29 *30 25 * 31 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/PileUpMergerPythia8.cc
ra190d94 rcab38f6 20 20 * 21 21 * Merges particles from pile-up sample into event 22 *23 *24 * $Date$25 * $Revision$26 *27 22 * 28 23 * \author P. Selvaggi - UCL, Louvain-la-Neuve -
modules/PileUpMergerPythia8.h
ra190d94 rcab38f6 23 23 * 24 24 * Merges particles from pile-up sample into event 25 *26 *27 * $Date$28 * $Revision$29 *30 25 * 31 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/Pythia8LinkDef.h
ra190d94 rcab38f6 22 22 * Lists classes to be included in cint dicitonary 23 23 * 24 * $Date$25 * $Revision$26 *27 *28 24 * \author P. Demin - UCL, Louvain-la-Neuve 29 25 * -
modules/SimpleCalorimeter.cc
ra190d94 rcab38f6 22 22 * Fills SimpleCalorimeter towers, performs SimpleCalorimeter resolution smearing, 23 23 * and creates energy flow objects (tracks, photons, and neutral hadrons). 24 *25 * $Date: 2014-04-16 15:29:31 +0200 (Wed, 16 Apr 2014) $26 * $Revision: 1364 $27 *28 24 * 29 25 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/SimpleCalorimeter.h
ra190d94 rcab38f6 24 24 * Fills SimpleCalorimeter towers, performs SimpleCalorimeter resolution smearing, 25 25 * and creates energy flow objects (tracks, photons, and neutral hadrons). 26 *27 * $Date: 2014-04-16 15:29:31 +0200 (Wed, 16 Apr 2014) $28 * $Revision: 1364 $29 *30 26 * 31 27 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/StatusPidFilter.cc
ra190d94 rcab38f6 21 21 * Removes all generated particles except electrons, muons, taus, 22 22 * and particles with status == 3. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author J. Hirschauer - FNAL -
modules/StatusPidFilter.h
ra190d94 rcab38f6 26 26 * Removes all generated particles except electrons, muons, taus, 27 27 * and particles with status == 3. 28 *29 * $Date$30 * $Revision$31 *32 28 * 33 29 * \author J. Hirschauer - FNAL -
modules/TauTagging.cc
ra190d94 rcab38f6 23 23 * applies b-tagging efficiency (miss identification rate) formulas 24 24 * and sets b-tagging flags 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TauTagging.h
ra190d94 rcab38f6 25 25 * applies b-tagging efficiency (miss identification rate) formulas 26 26 * and sets b-tagging flags 27 *28 * $Date$29 * $Revision$30 *31 27 * 32 28 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TimeSmearing.cc
ra190d94 rcab38f6 21 21 * 22 22 * Performs transverse momentum resolution smearing. 23 *24 * $Date: 2013-02-13 16:58:53 +0100 (Wed, 13 Feb 2013) $25 * $Revision: 911 $26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TimeSmearing.h
ra190d94 rcab38f6 23 23 * 24 24 * Performs transverse time smearing. 25 *26 * $Date: 2013-12-12 14:57:44 +0100 (Tue, 12 Dec 2013) $27 25 * 28 26 * \author Michele Selvaggi - UCL, Louvain-la-Neuve -
modules/TrackCountingBTagging.cc
ra190d94 rcab38f6 21 21 * 22 22 * b-tagging algorithm based on counting tracks with large impact parameter 23 *24 * $Date: 2014-03-27 12:39:14 +0200 (Fri, 27 March 2014) $25 * $Revision: 1099 $26 *27 23 * 28 24 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/TrackCountingBTagging.h
ra190d94 rcab38f6 23 23 * 24 24 * b-tagging algorithm based on counting tracks with large impact parameter 25 *26 * $Date: 2014-03-27 12:39:14 +0200 (Fri, 27 March 2014) $27 * $Revision: 1099 $28 *29 25 * 30 26 * \author M. Selvaggi - UCL, Louvain-la-Neuve -
modules/TrackPileUpSubtractor.cc
ra190d94 rcab38f6 21 21 * 22 22 * Subtract pile-up contribution from tracks. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TrackPileUpSubtractor.h
ra190d94 rcab38f6 23 23 * 24 24 * Subtract pile-up contribution from tracks. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TreeWriter.cc
ra190d94 rcab38f6 21 21 * 22 22 * Fills ROOT tree branches. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/TreeWriter.h
ra190d94 rcab38f6 23 23 * 24 24 * Fills ROOT tree branches. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/UniqueObjectFinder.cc
ra190d94 rcab38f6 21 21 * 22 22 * Finds uniquely identified photons, electrons and jets. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/UniqueObjectFinder.h
ra190d94 rcab38f6 23 23 * 24 24 * Finds uniquely identified photons, electrons, taus and jets. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Weighter.cc
ra190d94 rcab38f6 21 21 * 22 22 * Apply a weight depending on PDG code. 23 *24 * $Date$25 * $Revision$26 *27 23 * 28 24 * \author P. Demin - UCL, Louvain-la-Neuve -
modules/Weighter.h
ra190d94 rcab38f6 23 23 * 24 24 * Apply a weight depending on PDG code. 25 *26 * $Date$27 * $Revision$28 *29 25 * 30 26 * \author P. Demin - UCL, Louvain-la-Neuve
Note:
See TracChangeset
for help on using the changeset viewer.