33 using namespace isodeposit;
43 void endJob()
override;
49 void histo(TH1F*
hist,
char* cx,
char* cy)
const;
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);
67 min(pset.getUntrackedParameter<double>(
"min")),
68 max(pset.getUntrackedParameter<double>(
"max")),
69 Nbin(pset.getUntrackedParameter<
int>(
"nbin")) {
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 example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
virtual const PolarLorentzVector & polarP4() const =0
four-momentum Lorentz vector
void histo(TH1F *hist, char *cx, char *cy) const
#define DEFINE_FWK_MODULE(type)
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
stand alone muon component tag
def setup(process, global_tag, zero_tesla=False)
T * make(const Args &...args) const
make new ROOT object
EDGetTokenT< CandidateView > srcToken_
EventID const & min(EventID const &lh, EventID const &rh)
ZMuMuSaMassHistogram(const edm::ParameterSet &pset)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
virtual double mass() const =0
mass
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
T get() const
get a component
EventID const & max(EventID const &lh, EventID const &rh)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.