|
|
Go to the documentation of this file.
32 _analysisname(analysisname),
34 _hltProcessName(
pset.getParameter<
std::
string>(
"hltProcessName")),
35 _genParticleLabel(
pset.getParameter<
std::
string>(
"genParticleLabel")),
36 _trigResultsLabel(
"TriggerResults",
"", _hltProcessName),
37 _beamSpotLabel(
pset.getParameter<
std::
string>(
"beamSpotLabel")),
38 _parametersEta(
pset.getParameter<
std::
vector<double>>(
"parametersEta")),
39 _parametersPhi(
pset.getParameter<
std::
vector<double>>(
"parametersPhi")),
40 _parametersTurnOn(
pset.getParameter<
std::
vector<double>>(
"parametersTurnOn")),
41 _parametersTurnOnSumEt(
pset.getParameter<
std::
vector<double>>(
"parametersTurnOnSumEt")),
42 _parametersDxy(
pset.getParameter<
std::
vector<double>>(
"parametersDxy")),
45 _recMuonSelector(nullptr),
46 _recMuonTrkSelector(nullptr),
47 _recTrackSelector(nullptr),
48 _recElecSelector(nullptr),
49 _recMETSelector(nullptr),
50 _recPFMETSelector(nullptr),
51 _recPFMHTSelector(nullptr),
52 _genMETSelector(nullptr),
53 _recCaloMETSelector(nullptr),
54 _recCaloMHTSelector(nullptr),
55 _l1METSelector(nullptr),
56 _recPFTauSelector(nullptr),
57 _recPhotonSelector(nullptr),
58 _recPFJetSelector(nullptr),
59 _recCaloJetSelector(nullptr) {
60 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::constructor()";
69 if (anpset.
exists(
"parametersTurnOn")) {
73 if (anpset.
exists(
"parametersEta")) {
77 if (anpset.
exists(
"parametersPhi")) {
81 if (anpset.
exists(
"parametersDxy")) {
85 if (anpset.
exists(
"parametersTurnOnSumEt")) {
89 if (anpset.
exists(
"dropPt2")) {
93 if (anpset.
exists(
"dropPt3")) {
107 for (std::map<unsigned int, edm::InputTag>::const_iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
111 auto const genCutParam = objStr +
"_genCut_leading";
112 if (
pset.exists(genCutParam)) {
117 auto const recCutParam = objStr +
"_recCut_leading";
118 if (
pset.exists(recCutParam)) {
127 for (std::map<unsigned int, edm::InputTag>::const_iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
130 auto const genCutParam = objStr +
"_genCut";
135 auto const recCutParam = objStr +
"_recCut";
153 it->second =
nullptr;
198 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::subAnalysisBookHistos()";
205 for (std::map<unsigned int, edm::InputTag>::const_iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
207 std::vector<std::string>
sources(2);
215 if (TString(objStr).Contains(
"MET") || TString(objStr).Contains(
"MHT") || TString(objStr).Contains(
"Jet")) {
234 if (TString(objStr).Contains(
"MET") || TString(objStr).Contains(
"MHT")) {
260 for (std::vector<HLTExoticaPlotter>::iterator it =
_plotters.begin(); it !=
_plotters.end(); ++it) {
261 it->plotterBookHistos(iBooker, iRun, iSetup);
266 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::beginRun()";
272 bool changedConfig(
true);
274 edm::LogError(
"ExoticaValidation") <<
"HLTExoticaSubAnalysis::constructor(): "
275 <<
"Initialization of HLTConfigProvider failed!";
288 if (TString(thetriggername).Contains(
pattern)) {
293 LogDebug(
"ExoticaValidation") <<
"--- TRIGGER PATH : " << thetriggername;
305 LogTrace(
"ExoticaValidation") <<
"SubAnalysis: " <<
_analysisname <<
"\nHLT Trigger Paths found >>>";
306 for (std::set<std::string>::const_iterator iter =
_hltPaths.begin(); iter !=
_hltPaths.end(); ++iter) {
307 LogTrace(
"ExoticaValidation") << (*iter) <<
"\n";
312 for (std::set<std::string>::iterator iPath =
_hltPaths.begin(); iPath !=
_hltPaths.end(); ++iPath) {
316 if (
path.rfind(
"_v") <
path.length()) {
317 shortpath =
path.substr(0,
path.rfind(
"_v"));
326 std::vector<unsigned int> objsNeedHLT;
327 for (std::map<unsigned int, edm::InputTag>::iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
328 objsNeedHLT.push_back(it->first);
359 LogTrace(
"ExoticaValidation") <<
" --- " << shortpath;
371 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::analyze()";
394 std::vector<reco::LeafCandidate> matchesGen;
396 std::vector<reco::LeafCandidate> matchesReco;
398 std::map<int, double> theSumEt;
399 std::map<int, std::vector<const reco::Track *>> trkObjs;
406 for (std::map<unsigned int, edm::InputTag>::iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
420 if (TString(objTypeStr).Contains(
"MET") || TString(objTypeStr).Contains(
"MHT") ||
421 TString(objTypeStr).Contains(
"Jet"))
439 matchesGen.push_back(
v);
456 LogDebug(
"ExoticaValidation") <<
"-- enter loop over recLabels";
457 for (std::map<unsigned int, edm::InputTag>::iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
469 <<
" sumEt=" << theSumEt[it->first];
480 for (std::vector<HLTExoticaPlotter>::iterator an =
_plotters.begin(); an !=
_plotters.end(); ++an) {
514 std::map<unsigned int, int> countobjects;
517 countobjects.insert(std::pair<unsigned int, int>(
co->first, 0));
523 int totalobjectssize = 1;
528 totalobjectssize *= countobjects.size();
530 bool isPassedLeadingCut =
true;
532 for (
size_t j = 0;
j != matchesGen.size(); ++
j) {
533 const unsigned int objType = matchesGen[
j].pdgId();
537 isPassedLeadingCut =
false;
543 std::vector<float> dxys;
546 for (
size_t j = 0; (
j != matchesGen.size()) && isPassedLeadingCut; ++
j) {
547 const unsigned int objType = matchesGen[
j].pdgId();
551 float pt = matchesGen[
j].pt();
553 if (countobjects[
objType] == 0) {
554 this->
fillHist(
"gen", objTypeStr,
"MaxPt1",
pt);
558 this->
fillHist(
"gen", objTypeStr,
"MaxPt2",
pt);
562 this->
fillHist(
"gen", objTypeStr,
"MaxPt3",
pt);
567 if (counttotal == totalobjectssize) {
568 size_t max_size = matchesGen.size();
569 for (
size_t jj =
j;
jj < max_size;
jj++) {
570 matchesGen.erase(matchesGen.end());
576 float eta = matchesGen[
j].eta();
577 float phi = matchesGen[
j].phi();
586 float momphi = matchesGen[
j].momentum().phi();
587 float dxyGen = (-(
vtx.x() - cols->
bs->
x0()) *
sin(momphi) + (
vtx.y() - cols->
bs->
y0()) *
cos(momphi));
588 dxys.push_back(dxyGen);
589 this->
fillHist(
"gen", objTypeStr,
"Dxy", dxyGen);
597 for (std::vector<HLTExoticaPlotter>::iterator an =
_plotters.begin(); an !=
_plotters.end(); ++an) {
600 LogDebug(
"ExoticaValidation") <<
" preparing to call the plotters analysis";
601 an->analyze(ispassTrigger,
"gen", matchesGen, theSumEt, dxys);
602 LogDebug(
"ExoticaValidation") <<
" called the plotter";
627 std::map<unsigned int, int> countobjects;
629 countobjects.insert(std::pair<unsigned int, int>(
co->first, 0));
635 int totalobjectssize = 1;
640 totalobjectssize *= countobjects.size();
646 std::vector<float> dxys;
649 bool isPassedLeadingCut =
true;
651 for (
size_t j = 0;
j != matchesReco.size(); ++
j) {
652 const unsigned int objType = matchesReco[
j].pdgId();
656 isPassedLeadingCut =
false;
662 for (
size_t j = 0; (
j != matchesReco.size()) && isPassedLeadingCut; ++
j) {
663 const unsigned int objType = matchesReco[
j].pdgId();
667 float pt = matchesReco[
j].pt();
669 if (countobjects[
objType] == 0) {
670 this->
fillHist(
"rec", objTypeStr,
"MaxPt1",
pt);
674 if (!(TString(objTypeStr).Contains(
"MET") || TString(objTypeStr).Contains(
"MHT"))) {
675 this->
fillHist(
"rec", objTypeStr,
"MaxPt2",
pt);
680 if (!(TString(objTypeStr).Contains(
"MET") || TString(objTypeStr).Contains(
"MHT"))) {
681 this->
fillHist(
"rec", objTypeStr,
"MaxPt3",
pt);
687 if (counttotal == totalobjectssize) {
688 size_t max_size = matchesReco.size();
689 for (
size_t jj =
j;
jj < max_size;
jj++) {
690 matchesReco.erase(matchesReco.end());
696 float eta = matchesReco[
j].eta();
697 float phi = matchesReco[
j].phi();
699 if (!(TString(objTypeStr).Contains(
"MET") || TString(objTypeStr).Contains(
"MHT"))) {
708 this->
fillHist(
"rec", objTypeStr,
"Dxy", dxyRec);
709 dxys.push_back(dxyRec);
720 for (std::vector<HLTExoticaPlotter>::iterator an =
_plotters.begin(); an !=
_plotters.end(); ++an) {
723 LogDebug(
"ExoticaValidation") <<
" preparing to call the plotters analysis";
724 an->analyze(ispassTrigger,
"rec", matchesReco, theSumEt, dxys);
725 LogDebug(
"ExoticaValidation") <<
" called the plotter";
733 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::getObjectsType()";
735 static const unsigned int objSize = 15;
752 std::set<unsigned int> objsType;
754 for (
unsigned int i = 0;
i < objSize; ++
i) {
758 if (!TString(
hltPath).Contains(objTypeStr)) {
762 objsType.insert(objtriggernames[
i]);
765 return std::vector<unsigned int>(objsType.begin(), objsType.end());
770 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::getNamesOfObjects()";
772 if (anpset.
exists(
"recMuonLabel")) {
776 if (anpset.
exists(
"recMuonTrkLabel")) {
780 if (anpset.
exists(
"recTrackLabel")) {
784 if (anpset.
exists(
"recElecLabel")) {
788 if (anpset.
exists(
"recPhotonLabel")) {
792 if (anpset.
exists(
"recMETLabel")) {
796 if (anpset.
exists(
"recPFMETLabel")) {
800 if (anpset.
exists(
"recPFMHTLabel")) {
804 if (anpset.
exists(
"genMETLabel")) {
808 if (anpset.
exists(
"recCaloMETLabel")) {
812 if (anpset.
exists(
"recCaloMHTLabel")) {
816 if (anpset.
exists(
"hltMETLabel")) {
820 if (anpset.
exists(
"l1METLabel")) {
824 if (anpset.
exists(
"recPFTauLabel")) {
828 if (anpset.
exists(
"recPFJetLabel")) {
832 if (anpset.
exists(
"recCaloJetLabel")) {
838 edm::LogError(
"ExoticaValidation") <<
"HLTExoticaSubAnalysis::getNamesOfObjects, "
839 <<
"Not included any object (recMuonLabel, recElecLabel, ...) "
862 for (std::map<unsigned int, edm::InputTag>::iterator it =
_recLabels.begin(); it !=
_recLabels.end(); ++it) {
926 edm::LogError(
"ExoticaValidation") <<
"HLTExoticaSubAnalysis::registerConsumes"
927 <<
" NOT IMPLEMENTED (yet) ERROR: '" << it->second.label() <<
"'";
934 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::getHandlesToObjects()";
936 if (!
col->isCommonInit()) {
942 LogDebug(
"ExoticaValidation") <<
"Added handle to triggerResults";
950 LogDebug(
"ExoticaValidation") <<
"Added handle to genParticles";
962 LogDebug(
"ExoticaValidation") <<
"We have got " <<
_tokens.size() <<
"tokens";
963 for (std::map<unsigned int, edm::EDGetToken>::iterator it =
_tokens.begin(); it !=
_tokens.end(); ++it) {
966 iEvent.getByToken(it->second, theHandle);
971 iEvent.getByToken(it->second, theHandle);
976 iEvent.getByToken(it->second, theHandle);
981 iEvent.getByToken(it->second, theHandle);
986 iEvent.getByToken(it->second, theHandle);
991 iEvent.getByToken(it->second, theHandle);
996 iEvent.getByToken(it->second, theHandle);
1001 iEvent.getByToken(it->second, theHandle);
1006 iEvent.getByToken(it->second, theHandle);
1011 iEvent.getByToken(it->second, theHandle);
1016 iEvent.getByToken(it->second, theHandle);
1021 iEvent.getByToken(it->second, theHandle);
1026 iEvent.getByToken(it->second, theHandle);
1031 iEvent.getByToken(it->second, theHandle);
1036 iEvent.getByToken(it->second, theHandle);
1040 edm::LogError(
"ExoticaValidation") <<
"HLTExoticaSubAnalysis::getHandlesToObjects "
1041 <<
" NOT IMPLEMENTED (yet) ERROR: '" << it->first <<
"'";
1051 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::bookHist()";
1053 sourceUpper[0] = std::toupper(sourceUpper[0]);
1057 if (
variable.find(
"SumEt") != std::string::npos) {
1061 for (
size_t i = 0;
i <
nBins + 1;
i++) {
1068 else if (
variable.find(
"Dxy") != std::string::npos) {
1076 else if (
variable.find(
"MaxPt") != std::string::npos) {
1081 for (
size_t i = 0;
i <
nBins + 1;
i++) {
1110 const float &
value) {
1112 sourceUpper[0] = toupper(sourceUpper[0]);
1115 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::fillHist() " <<
name <<
" " <<
value;
1117 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::fillHist() " <<
name <<
" worked";
1122 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::initSelector()";
1164 std::vector<reco::LeafCandidate> *
matches,
1165 std::map<int, double> &theSumEt,
1166 std::map<
int, std::vector<const reco::Track *>> &trkObjs) {
1167 LogDebug(
"ExoticaValidation") <<
"In HLTExoticaSubAnalysis::insertCandidates()";
1172 for (
size_t i = 0;
i < cols->
muons->size();
i++) {
1173 LogDebug(
"ExoticaValidation") <<
"Inserting muon " <<
i;
1183 for (
size_t i = 0;
i < cols->
tracks->size();
i++) {
1184 LogDebug(
"ExoticaValidation") <<
"Inserting muonTrack " <<
i;
1186 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>> mom4;
1188 mom4.SetXYZT(mom3.x(), mom3.y(), mom3.z(), mom3.r());
1197 for (
size_t i = 0;
i < cols->
tracks->size();
i++) {
1198 LogDebug(
"ExoticaValidation") <<
"Inserting Track " <<
i;
1200 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>> mom4;
1202 mom4.SetXYZT(mom3.x(), mom3.y(), mom3.z(), mom3.r());
1209 LogDebug(
"ExoticaValidation") <<
"Inserting electron " <<
i;
1219 for (
size_t i = 0;
i < cols->
photons->size();
i++) {
1220 LogDebug(
"ExoticaValidation") <<
"Inserting photon " <<
i;
1230 for (
size_t i = 0;
i < cols->
pfMETs->size();
i++) {
1231 LogDebug(
"ExoticaValidation") <<
"Inserting PFMET " <<
i;
1240 for (
size_t i = 0;
i < cols->
pfMHTs->size();
i++) {
1241 LogDebug(
"ExoticaValidation") <<
"Inserting PFMHT " <<
i;
1250 for (
size_t i = 0;
i < cols->
genMETs->size();
i++) {
1251 LogDebug(
"ExoticaValidation") <<
"Inserting GENMET " <<
i;
1260 for (
size_t i = 0;
i < cols->
caloMETs->size();
i++) {
1261 LogDebug(
"ExoticaValidation") <<
"Inserting CALOMET " <<
i;
1270 for (
size_t i = 0;
i < cols->
caloMHTs->size();
i++) {
1271 LogDebug(
"ExoticaValidation") <<
"Inserting CaloMHT " <<
i;
1280 for (
size_t i = 0;
i < cols->
l1METs->size();
i++) {
1281 LogDebug(
"ExoticaValidation") <<
"Inserting L1MET " <<
i;
1290 for (
size_t i = 0;
i < cols->
pfTaus->size();
i++) {
1291 LogDebug(
"ExoticaValidation") <<
"Inserting PFtau " <<
i;
1298 for (
size_t i = 0;
i < cols->
pfJets->size();
i++) {
1299 LogDebug(
"ExoticaValidation") <<
"Inserting jet " <<
i;
1306 for (
size_t i = 0;
i < cols->
caloJets->size();
i++) {
1307 LogDebug(
"ExoticaValidation") <<
"Inserting jet " <<
i;
1323 std::stringstream
log;
1325 log <<
"====================================================================="
1329 log <<
"====================================================================="
1332 log << std::setw(18) <<
"# of passed events : HLT path names" << std::endl;
1333 log <<
"-------------------:-------------------------------------------------"
1337 log << std::setw(18) << it->second <<
" : " << it->first << std::endl;
1339 log <<
"====================================================================="
1342 LogDebug(
"ExoticaValidation") <<
log.str().data();
std::map< unsigned int, std::string > _recCut_leading
const static std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
std::map< unsigned int, std::string > _recCut
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
edm::EDGetTokenT< reco::GenParticleCollection > _genParticleToken
And also the tokens to get the object collections.
StringCutObjectSelector< reco::CaloMET > * _recCaloMETSelector
~HLTExoticaSubAnalysis()
End Constructor.
std::string _hltProcessName
The labels of the object collections to be used in this analysis.
const std::vector< reco::GsfElectron > * electrons
Entry const & retrieve(char const *) const
void initSelector(const unsigned int &objtype)
Initializes the selectors of the objects based on which object it is.
T const * product() const
std::vector< std::string > _hltPathsToCheck
The hlt paths to check for.
static const char *const trigNames[]
std::vector< double > _parametersTurnOnSumEt
edm::EDGetTokenT< edm::TriggerResults > _trigResultsToken
std::map< unsigned int, std::string > _genCut_leading
gen/rec pt-leading objects cuts
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::vector< double > _parametersDxy
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
virtual void setCurrentFolder(std::string const &fullpath)
StringCutObjectSelector< reco::Track > * _recMuonTrkSelector
U second(std::pair< T, U > const &p)
const std::vector< reco::Track > * tracks
void insertCandidates(const unsigned int &objtype, const EVTColContainer *col, std::vector< reco::LeafCandidate > *matches, std::map< int, double > &theSumEt, std::map< int, std::vector< const reco::Track * >> &trkObjs)
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
StringCutObjectSelector< l1extra::L1EtMissParticle > * _l1METSelector
T getUntrackedParameter(std::string const &, T const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
const reco::BeamSpot * bs
std::map< unsigned int, std::string > _genCut
gen/rec objects cuts
Log< level::Warning, false > LogWarning
Sin< T >::type sin(const T &t)
StringCutObjectSelector< reco::GsfElectron > * _recElecSelector
std::vector< reco::MET > METCollection
collection of MET objects
const edm::TriggerResults * triggerResults
Cos< T >::type cos(const T &t)
std::vector< reco::GenMET > GenMETCollection
collection of GenMET objects
std::map< std::string, std::string > _shortpath2long
Relation between the short and long versions of the path.
StringCutObjectSelector< reco::PFMET > * _recPFMHTSelector
std::vector< double > _parametersTurnOn
const std::vector< reco::CaloMET > * caloMHTs
void insert(bool ok_to_replace, char const *, Entry const &)
std::vector< Muon > MuonCollection
collection of Muon objects
std::map< std::string, MonitorElement * > _elements
Structure of the MonitorElements.
std::vector< PFTau > PFTauCollection
collection of PFTau objects
static const std::string source
void getHandlesToObjects(const edm::Event &iEvent, EVTColContainer *col)
Gets the collections themselves.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
static constexpr int verbose
void fillHist(const std::string &source, const std::string &objType, const std::string &variable, const float &value)
const reco::GenParticleCollection * genParticles
const Point & position() const
position
const std::vector< reco::PFMET > * pfMETs
HLTExoticaSubAnalysis(const edm::ParameterSet &pset, const std::string &analysisname, edm::ConsumesCollector &&consCollector)
Constructor.
StringCutObjectSelector< reco::Photon > * _recPhotonSelector
edm::EDGetTokenT< reco::BeamSpot > _bsToken
HLTConfigProvider _hltConfig
Interface to the HLT information.
std::map< unsigned int, edm::EDGetToken > _tokens
bool exists(std::string const ¶meterName) const
checks if a parameter exists
const std::vector< l1extra::L1EtMissParticle > * l1METs
void subAnalysisBookHistos(DQMStore::IBooker &iBooker, const edm::Run &iRun, const edm::EventSetup &iSetup)
edm::InputTag _genParticleLabel
XYZPointD XYZPoint
point in space with cartesian internal representation
const std::vector< reco::CaloJet > * caloJets
StringCutObjectSelector< reco::PFJet > * _recPFJetSelector
std::vector< double > _parametersEta
Some kinematical parameters.
const std::vector< reco::CaloMET > * caloMETs
std::map< std::string, int > _triggerCounter
counting HLT passed events
const std::vector< reco::Muon > * muons
edm::ParameterSet _pset
Internal, working copy of the PSet passed from above.
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
const std::vector< unsigned int > getObjectsType(const std::string &hltpath) const
closes analyze method
std::string _analysisname
The name of this sub-analysis.
StringCutObjectSelector< reco::GenMET > * _genMETSelector
StringCutObjectSelector< reco::MET > * _recMETSelector
Container::value_type value_type
StringCutObjectSelector< reco::CaloJet > * _recCaloJetSelector
Log< level::Error, false > LogError
const std::vector< reco::GenMET > * genMETs
StringCutObjectSelector< reco::CaloMET > * _recCaloMHTSelector
unsigned int _minCandidates
The minimum number of reco/gen candidates needed by the analysis.
std::vector< HLTExoticaPlotter > _plotters
The plotters: managers of each hlt path where the plots are done.
double x0() const
x coordinate
const std::vector< reco::PFJet > * pfJets
edm::InputTag _beamSpotLabel
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
const std::vector< reco::PFTau > * pfTaus
std::vector< PFJet > PFJetCollection
collection of PFJet objects
const std::vector< reco::Photon > * photons
void getNamesOfObjects(const edm::ParameterSet &anpset)
Creates the maps that map which collection should come from which label.
StringCutObjectSelector< reco::Muon > * _recMuonSelector
T getParameter(std::string const &) const
Transform3DPJ::Vector XYZVector
std::vector< double > _parametersPhi
std::set< std::string > _hltPaths
The hlt paths found in the hltConfig.
bool accept() const
Has at least one path accepted the event?
std::vector< Photon > PhotonCollection
collectin of Photon objects
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
const std::vector< reco::PFMET > * pfMHTs
std::map< unsigned int, edm::InputTag > _recLabels
const std::vector< std::string > & triggerNames() const
names of trigger paths
StringCutObjectSelector< reco::PFMET > * _recPFMETSelector
void analyze(const edm::Event &iEvent, const edm::EventSetup &iEventSetup, EVTColContainer *cols)
double y0() const
y coordinate
edm::InputTag _trigResultsLabel
StringCutObjectSelector< reco::Track > * _recTrackSelector
container with all the objects needed
void registerConsumes(edm::ConsumesCollector &consCollector)
Registers consumption of objects.
void bookHist(DQMStore::IBooker &iBooker, const std::string &source, const std::string &objType, const std::string &variable)
The internal functions to book and fill histograms.
void beginRun(const edm::Run &iRun, const edm::EventSetup &iEventSetup)
std::vector< Track > TrackCollection
collection of Tracks
StringCutObjectSelector< reco::PFTau > * _recPFTauSelector
std::map< unsigned int, StringCutObjectSelector< reco::GenParticle > * > _genSelectorMap
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())