#include <memory>
#include <string>
#include <vector>
#include <sstream>
#include <fstream>
#include <iostream>
#include <TH1F.h>
#include <TROOT.h>
#include <TFile.h>
#include <TSystem.h>
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/FWLite/interface/Event.h"
#include "DataFormats/PatCandidates/interface/Muon.h"
#include "FWCore/FWLite/interface/FWLiteEnabler.h"
#include "DataFormats/FWLite/interface/Handle.h"
#include "PhysicsTools/FWLite/interface/TFileService.h"
#include "MuonAnalysis/MomentumScaleCalibration/interface/RootTreeHandler.h"
Go to the source code of this file.
Functions | |
lorentzVector | fromPtEtaPhiToPxPyPz (const double *ptEtaPhiE) |
int | main (int argc, char *argv[]) |
lorentzVector fromPtEtaPhiToPxPyPz | ( | const double * | ptEtaPhiE | ) |
Definition at line 24 of file ZntupleToTreeConverter.cc.
References funct::cos(), JetChargeProducer_cfi::exp, fastsim::Constants::muMass, funct::sin(), mathSSE::sqrt(), and tmp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 40 of file ZntupleToTreeConverter.cc.
References fwlite::Event::atEnd(), gather_cfg::cout, FWLiteEnabler::enable(), ev, cmsRelvalreport::exit, MillePedeFileConverter_cfg::fileName, fromPtEtaPhiToPxPyPz(), fwlite::Handle< T >::getByLabel(), mps_fire::i, iEvent, fwlite::Handle< T >::isValid(), TFileDirectory::make(), TFileDirectory::mkdir(), AlCaHLTBitMon_QueryRunRegistry::string, align_cfg::TFileService, and fwlite::Event::toBegin().