9 genEventInfoProductTag_(iConfig.getParameter<edm::
InputTag>(
"genEventInfoProductTag"))
38 weight = evt_info->weight() ;
54 antitop = genEvt->topBar();
56 antibottom = genEvt->bBar();
57 Wplus = genEvt->wPlus();
58 Wmin = genEvt->wMinus();
60 tlv_Top = TLorentzVector(0,0,0,0) ;
68 if(top)
tlv_Top.SetPxPyPzE(top->
p4().px(),top->
p4().py(),top->
p4().pz(),top->
p4().e());
69 if(antitop)
tlv_TopBar.SetPxPyPzE(antitop->
p4().px(),antitop->
p4().py(),antitop->
p4().pz(),antitop->
p4().e());
70 if(bottom)
tlv_Bottom.SetPxPyPzE(bottom->
p4().px(),bottom->
p4().py(),bottom->
p4().pz(),bottom->
p4().e());
71 if(antibottom)
tlv_BottomBar.SetPxPyPzE(antibottom->
p4().px(),antibottom->
p4().py(),antibottom->
p4().pz(),antibottom->
p4().e());
72 if(Wplus)
tlv_Wplus.SetPxPyPzE(Wplus->
p4().px(),Wplus->
p4().py(),Wplus->
p4().pz(),Wplus->
p4().e());
73 if(Wmin)
tlv_Wmin.SetPxPyPzE(Wmin->
p4().px(),Wmin->
p4().py(),Wmin->
p4().pz(),Wmin->
p4().e());
98 if(bottom && antibottom){
MonitorElement * hBottomYPz
TLorentzVector tlv_Bottom
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * hBottomMass
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
MonitorElement * hBottomPtPz
virtual void endRun(edm::Run const &, edm::EventSetup const &)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
MonitorElement * hTTbarMass
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * hBottomMassY
MonitorElement * hBottomEtaPt
MonitorElement * hBottomEta
TLorentzVector tlv_TopBar
void addDefault(ParameterSetDescription const &psetDescription)
MonitorElement * hTopMass
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TLorentzVector tlv_BottomBar
MonitorElement * hBottomMassPz
MonitorElement * hBottomMassEta
edm::InputTag genEventInfoProductTag_
MonitorElement * hBottomPz
MonitorElement * hTTbarPt
MonitorElement * hBottomMassDeltaY
MonitorElement * hBottomPt
MonitorElement * hBottomE
MonitorElement * hWplusPz
DQMStore * dbe
ME's "container".
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * hBottomEtaPz
TTbar_Kinematics(const edm::ParameterSet &)
void setCurrentFolder(const std::string &fullpath)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * hBottomY