36 #define PI 3.141592654 50 return (a.pt() > b.pt());
68 double x1,
double x2,
bool sumw2 = 1,
bool sbox = 1);
71 double x1,
double x2,
double y1,
double y2,
bool sumw2 = 1,
73 void fill1D(std::vector<TH1F *> &hs,
double val,
double w = 1.);
74 void fill1D(std::vector<MonitorElement *> &mes,
double val,
double w = 1.);
75 void fill2D(std::vector<TH2F *> &hs,
double valx,
double valy,
double w = 1.);
76 void fill2D(std::vector<MonitorElement *> &mes,
double valx,
double valy,
78 void fillProfile(std::vector<TProfile *> &hs,
double valx,
double valy,
80 void fillProfile(std::vector<MonitorElement *> &mes,
double valx,
double valy,
82 void fill3D(std::vector<TH3F *> &hs,
int gbin,
double w = 1.);
83 void setLabel1D(std::vector<MonitorElement *> &mes);
90 void fillpTMaxRelated(
const std::vector<const reco::Track *> &
track);
91 void fillChargedJetSpectra(
93 void fillUE_with_ChargedJets(
94 const std::vector<const reco::Track *> &
track,
96 void fillUE_with_MaxpTtrack(
const std::vector<const reco::Track *> &
track);
98 template <
typename TYPE>
101 template <
typename TYPE>
230 std::vector<MonitorElement *>
248 std::vector<MonitorElement *>
276 std::vector<MonitorElement *>
320 std::vector<MonitorElement *>
338 std::vector<MonitorElement *>
366 std::vector<MonitorElement *>
400 std::vector<reco::TrackBase::TrackQuality>
quality_;
408 template <
typename TYPE>
419 <<
"Collection with label " << name <<
" is not valid" << std::endl;
423 template <
typename TYPE>
431 if (name.size() == 0)
return false;
435 if (!prod.
isValid())
return false;
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
bool operator()(const T &a, const T &b)
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
std::vector< MonitorElement * > hTrkNdof_
std::vector< MonitorElement * > hGoodTrkPhi500_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
def analyze(function, filename, filter=None)
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
std::vector< MonitorElement * > hTrkChi2_
std::vector< MonitorElement * > hVertex_z_bs_
std::vector< MonitorElement * > hGoodTrkEta900_
std::vector< MonitorElement * > hGoodTrkPt900_
std::string hltUsedResName_
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
T const * getProduct(RefCore const &ref)
std::vector< std::string > hltTrgUsedNames_
std::vector< MonitorElement * > hTrkEta_
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
std::vector< MonitorElement * > hGoodTrkPhi900_
void bookHistograms(fwlite::EventContainer &eventCont)
bool isHltConfigSuccessful_
std::vector< std::string > hltTrgNames_
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
MonitorElement * repSumMap_
std::vector< MonitorElement * > hVertex_ndof_
std::vector< MonitorElement * > hVertex_rho_
std::vector< MonitorElement * > hNtrackerLayer_
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
std::vector< std::string > hltProcNames_
MonitorElement * h2TrigCorr_
std::vector< MonitorElement * > hVertex_y_
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
std::vector< int > hltTrgBits_
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
HLTConfigProvider hltConfig
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
std::vector< MonitorElement * > hVertex_x_
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
std::vector< MonitorElement * > hChargedJetMulti_
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
std::vector< MonitorElement * > hGoodTrkPt500_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
std::vector< const reco::Track * > container
std::vector< MonitorElement * > hTrkPhi_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
std::vector< MonitorElement * > hNvertices_
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
std::vector< MonitorElement * > hNgoodTrk_
MonitorElement * repSummary_
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
std::vector< MonitorElement * > hBeamSpot_y_
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
std::vector< MonitorElement * > hNevts_
std::vector< MonitorElement * > hChargedJetConstituent_
std::vector< MonitorElement * > hBeamSpot_x_
bool getProductSafe(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
std::vector< MonitorElement * > hTrkPt_
std::vector< MonitorElement * > hGoodTrkEta500_
std::vector< reco::TrackBase::TrackQuality > quality_
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
std::vector< MonitorElement * > hVertex_z_
const TrackerGeometry * tgeo_
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
std::vector< MonitorElement * > hRatioPtErrorPt_
std::vector< MonitorElement * > hNtrackerPixelLayer_
std::vector< MonitorElement * > hBeamSpot_z_
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
std::vector< bool > hltTrgDeci_