CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetFileSaver.cc
Go to the documentation of this file.
2 
5 
8 
12 
13 #include <vector>
14 #include <utility>
15 #include <ostream>
16 #include <fstream>
17 #include <iostream>
18 #include <algorithm>
19 #include <cmath>
20 #include <memory>
22 
24 {
25  outputFile_ = iConfig.getUntrackedParameter<std::string>("OutputFile");
26  if (outputFile_.size() > 0)
27  edm::LogInfo("OutputInfo") << " Jet Task histograms will be saved to '" << outputFile_.c_str() << "'";
28  else edm::LogInfo("OutputInfo") << " Jet Task histograms will NOT be saved";
29 
30 }
31 
33 {
34  // get ahold of back-end interface
36 
37 }
38 
40 {
41 }
42 
44 {
45  // Store the DAQ Histograms
46  if (outputFile_.size() > 0 && dbe_)
48 }
T getUntrackedParameter(std::string const &, T const &) const
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: JetFileSaver.cc:39
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:1883
std::string outputFile_
Definition: JetFileSaver.h:29
int iEvent
Definition: GenABIO.cc:243
virtual void beginJob()
Definition: JetFileSaver.cc:32
JetFileSaver(const edm::ParameterSet &)
Definition: JetFileSaver.cc:23
DQMStore * dbe_
Definition: JetFileSaver.h:25
virtual void endJob()
Definition: JetFileSaver.cc:43