|
DAS
3.0
Das Analysis System
|
#include <MjjYmax.h>
◆ MjjYmaxFiller()
◆ fillMC()
See Observable::fillMC
Reimplemented from Filler.
106 BOOST_THROW_EXCEPTION( runtime_error(__func__ +
" should only be called for MC"s) );
118 if (igen > 0) v.
gen->Fill(igen, genW);
121 if (irec > 0 && igen > 0) { v.
RM->Fill(igen, irec, genW * recW );
123 else if (irec == 0 && igen > 0) v.
missOut->Fill(igen, genW );
124 else if (irec > 0 && igen == 0) v.
fakeOut->Fill( irec, genW * recW );
128 if (irec > 0) v.
fakeNoMatch->Fill(irec, genW * recW);
◆ fillRec()
See Observable::fillRec
Reimplemented from Filler.
88 if (!dijet)
return {};
91 if (i == 0)
return {};
◆ match()
Match the two pairs of leading jets (if any) and set matched
member.
Reimplemented from Filler.
31 auto match = [
this](
size_t i,
size_t j) {
34 using ROOT::Math::VectorUtil::DeltaR;
35 auto DR = DeltaR(g, r);
◆ genJets
◆ gEv
◆ matched
std::optional<bool> matched |
◆ obs
Backreference to the observable.
◆ recJets
◆ rEv
The documentation for this struct was generated from the following files:
- /builds/cms-analysis/general/DasAnalysisSystem/Core/Installer/Core/Unfolding/interface/MjjYmax.h
- /builds/cms-analysis/general/DasAnalysisSystem/Core/Installer/Core/Unfolding/src/MjjYmax.cc
double getBinNumber(const Di< Jet, Jet > &MNjets, const Uncertainties::Variation &v, TUnfoldBinning *bng)
Definition: MNjets.cc:47
Di< const Jet, const Jet > selection(const vector< Jet > &jets, const Uncertainties::Variation &v=Uncertainties::nominal)
Mueller-Navelet jet selection.
Definition: MNjets.cc:24
double Weight(const Uncertainties::Variation &v=Uncertainties::nominal) const override
Definition: Di.h:73
std::unique_ptr< TH1 > rec
reconstructed-level distribution
Definition: DistVariation.h:32
std::optional< bool > matched
Definition: MjjYmax.h:67
RecEvent * rEv
Definition: MjjYmax.h:57
static const float w
Definition: common.h:51
MjjYmax obs
Backreference to the observable.
Definition: MjjYmax.h:52
TUnfoldBinning * genBinning
particle-level binning
Definition: Observable.h:125
void match() override
Match the two pairs of leading jets (if any) and set matched member.
Definition: MjjYmax.cc:27
std::vector< GenJet > * genJets
Definition: MjjYmax.h:54
std::vector< RecJet > * recJets
Definition: MjjYmax.h:55
static bool isMC
Definition: Observable.h:119
GenEvent * gEv
Definition: MjjYmax.h:56
double Weight(const Uncertainties::Variation &v) const
< weight
Definition: Event.h:25
DAS::RecDijet recdijet
Definition: classes.h:34
std::unique_ptr< TH1 > gen
generated-level distribution
Definition: DistVariation.h:34
std::unique_ptr< TH1 > tmp
temporary histogram help fill the covariance matrix
Definition: DistVariation.h:33
std::unique_ptr< TH1 > missNoMatch
losses (unmatched entries)
Definition: DistVariation.h:35
std::unique_ptr< TH2 > RM
response matrix
Definition: DistVariation.h:42
std::unique_ptr< TH1 > missOut
losses (migration out of phase space)
Definition: DistVariation.h:36
std::unique_ptr< TH1 > fakeNoMatch
background (unmatched entries)
Definition: DistVariation.h:37
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: PhysicsObject.h:15
TUnfoldBinning * recBinning
detector-level binning
Definition: Observable.h:124
std::unique_ptr< TH1 > fakeOut
Definition: DistVariation.h:38
DAS::GenDijet gendijet
Definition: classes.h:31
static double maxDR
max Delta R
Definition: Observable.h:121