|
| ZMuMuSaMassHistogram (const edm::ParameterSet &pset) |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 37 of file ZMuMuSaMassHistogram.cc.
Definition at line 64 of file ZMuMuSaMassHistogram.cc.
References TFileService::make(), max, min, Nbin, and ZMassSa.
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
T * make(const Args &...args) const
make new ROOT object
EDGetTokenT< CandidateView > srcToken_
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(), srcToken_, 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
EDGetTokenT< CandidateView > srcToken_
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 |
TH1F* ZMuMuSaMassHistogram::ZMassSa |
|
private |