|
| 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 () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector
< ProductResolverIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 37 of file ZMuMuSaMassHistogram.cc.
Definition at line 64 of file ZMuMuSaMassHistogram.cc.
References fs, 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_
edm::Service< TFileService > fs
Implements edm::EDAnalyzer.
Definition at line 76 of file ZMuMuSaMassHistogram.cc.
References counter, reco::Candidate::daughter(), hotlineSkims_cff::dimuons, reco::Candidate::get(), i, ResonanceBuilder::mass, 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();
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual double 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 |
( |
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 |