33 using namespace isodeposit;
43 virtual 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();
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) ...
void histo(TH1F *hist, char *cx, char *cy) const
#define DEFINE_FWK_MODULE(type)
virtual double mass() const =0
mass
stand alone muon component tag
T * make(const Args &...args) const
make new ROOT object
virtual const PolarLorentzVector & polarP4() const =0
four-momentum Lorentz vector
EDGetTokenT< CandidateView > srcToken_
virtual void endJob() override
EventID const & min(EventID const &lh, EventID const &rh)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
ZMuMuSaMassHistogram(const edm::ParameterSet &pset)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup) override
static std::atomic< unsigned int > counter
T get() const
get a component
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
EventID const & max(EventID const &lh, EventID const &rh)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.