ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/SelectionFuncs.h
(Generate patch)

Comparing UserCode/MitHzz4l/Selection/interface/SelectionFuncs.h (file contents):
Revision 1.2 by dkralph, Tue Jun 19 08:35:52 2012 UTC vs.
Revision 1.9 by anlevin, Sat Oct 13 19:48:23 2012 UTC

# Line 25 | Line 25 | using namespace std;
25   #include "MuonTools.h"
26   #include "ElectronTools.h"
27   #include "RunLumiRangeMap.h"
28 #include "TriggerObjectsTable.h"
29 #include "TriggerObject.h"
30 #include "TriggerObjectRel.h"
28  
29   //
30   // ntuple format headers
# Line 52 | Line 49 | void writeEntries(ControlFlags ctrl, uns
49   void writeEntries(FOFlags foctrl, unsigned total_unskimmed);
50   void getEATargets(ControlFlags &ctrl, mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle);
51   void getEATargets(FOFlags foctrl, mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle);
52 < unsigned makePFnoPUArray(mithep::Array<PFCandidate> * fPFCandidates,
52 > unsigned makePFnoPUArray(const mithep::Array<PFCandidate> * fPFCandidates,
53                           vector<bool> &pfNoPileUpFlag,
54                           const mithep::Array<mithep::Vertex>     * vtxArr );
55 < void setEffiencyWeights(EventData&, WeightStruct& );
55 > void setEffiencyWeights(unsigned era,
56 >                        EventData & evtdat,
57 >                        std::bitset<1024> triggerBits,
58 >                        mithep::TriggerTable *hltTable,
59 >                        mithep::Array<mithep::TriggerObject> *hltObjArr,
60 >                        mithep::TriggerObjectsTable *fTrigObjs,
61 >                        WeightStruct & weights ) ;
62   void initEvtRhoMap(map<unsigned,float> &);
63   void setEra(string, ControlFlags&);
64 < int getNPU(mithep::Array<mithep::PileupInfo> *puArr, int bx=0);
65 < void setHLTObjectRelations( mithep::Array<mithep::TriggerObject>        *hltObjArr,
66 <                            mithep::Array<mithep::TriggerObjectRel>     *hltRelsArr,
67 <                            vector<string> * fHLTTab,
65 <                            vector<string> * fHLTLab,
66 <                            TriggerObjectsTable *fTrigObjs);
67 < void printTriggerObjs( mithep::TriggerTable *hltTable, mithep::TriggerObjectsTable *fTrigObjs);
64 > unsigned getNPU(mithep::Array<mithep::PileupInfo> *puArr, int bx=0);
65 > void initPUWeights();
66 > double getPUWeight(unsigned era, unsigned npu);
67 > TString getChannel(int z1type, int z2type);
68   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines