Definition at line 37 of file ZMuMuSaMassHistogram.cc.
Implements edm::EDAnalyzer.
Definition at line 76 of file ZMuMuSaMassHistogram.cc.
References counter, reco::Candidate::daughter(), WZMuSkim_cff::dimuons, reco::Candidate::get(), i, reco::Candidate::mass(), reco::Candidate::polarP4(), src_muons, and ZMassSa.
79 for(
unsigned int i=0;
i< dimuons->size(); ++
i ) {
89 mu_mass = dau0->
mass();
94 mu_mass = dau1->
mass();
97 Vector momentum = stAloneTrack->momentum();
99 double mass = (p4_0+p4_1).mass();
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual float mass() const =0
mass
stand alone muon component tag
virtual const PolarLorentzVector & polarP4() const =0
four-momentum Lorentz vector
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
T get() const
get a component
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
void ZMuMuSaMassHistogram::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
void ZMuMuSaMassHistogram::histo |
( |
const TH1F * |
hist, |
|
|
char * |
cx, |
|
|
char * |
cy |
|
) |
| const |
|
private |
Definition at line 52 of file ZMuMuSaMassHistogram.cc.
53 hist->GetXaxis()->SetTitle(cx);
54 hist->GetYaxis()->SetTitle(cy);
55 hist->GetXaxis()->SetTitleOffset(1);
56 hist->GetYaxis()->SetTitleOffset(1.2);
57 hist->GetXaxis()->SetTitleSize(0.04);
58 hist->GetYaxis()->SetTitleSize(0.04);
59 hist->GetXaxis()->SetLabelSize(0.03);
60 hist->GetYaxis()->SetLabelSize(0.03);
int ZMuMuSaMassHistogram::counter |
|
private |
double ZMuMuSaMassHistogram::max |
|
private |
double ZMuMuSaMassHistogram::min |
|
private |
int ZMuMuSaMassHistogram::Nbin |
|
private |
InputTag ZMuMuSaMassHistogram::src_muons |
|
private |
TH1F* ZMuMuSaMassHistogram::ZMassSa |
|
private |