CMS 3D CMS Logo

Typedefs | Functions
PatAnalysisTasksExercise.cc File Reference
#include "PhysicsTools/PatExamples/interface/AnalysisTasksAnalyzerBTag.h"
#include "PhysicsTools/PatExamples/interface/AnalysisTasksAnalyzerJEC.h"
#include "FWCore/ParameterSetReader/interface/ParameterSetReader.h"
#include "PhysicsTools/FWLite/interface/FWLiteAnalyzerWrapper.h"

Go to the source code of this file.

Typedefs

typedef fwlite::AnalyzerWrapper< AnalysisTasksAnalyzerBTagWrappedFWLiteAnalysisTasksAnalyzerBTag
 
typedef fwlite::AnalyzerWrapper< AnalysisTasksAnalyzerJECWrappedFWLiteAnalysisTasksAnalyzerJEC
 

Functions

int main (int argc, char *argv[])
 

Typedef Documentation

◆ WrappedFWLiteAnalysisTasksAnalyzerBTag

Definition at line 6 of file PatAnalysisTasksExercise.cc.

◆ WrappedFWLiteAnalysisTasksAnalyzerJEC

Definition at line 7 of file PatAnalysisTasksExercise.cc.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

===============================================================================================================================================================================================


variant2: for each run define phi-averaged A for normalization channel (Dref,16) and then, divide Rijk on it, i.e. get RRijk




















































































eta=27

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=19

eta=17

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=20

eta=19

eta=18

eta=27 L1=1

eta=25 L1=1

eta=23 L1=1

eta=22 L1=1

eta=21 L1=1

eta=29 L1=1

eta=26 L1=1

eta=24 L1=1

eta=20 L1=1

eta=19 L1=1

eta=18 L1=1

eta=17 L1=1

eta=28 L7=1

eta=27 L7=1

eta=25 L7=1

eta=23 L7=1

eta=22 L7=1

eta=21 L7=1

eta=26 L7=1

eta=24 L7=1

eta=20 L7=1

eta=19 L7=1

eta=18 L7=1

eta=17 L7=1

eta=27

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=19

eta=17

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=20

eta=19

eta=18

eta=27 L1=1

eta=25 L1=1

eta=23 L1=1

eta=22 L1=1

eta=21 L1=1

eta=26 L1=1

eta=24 L1=1

eta=20 L1=1

eta=19 L1=1

eta=18 L1=1

eta=17 L1=1

eta=28 L7=1

eta=27 L7=1

eta=25 L7=1

eta=23 L7=1

eta=22 L7=1

eta=21 L7=1

eta=26 L7=1

eta=24 L7=1

eta=20 L7=1

eta=19 L7=1

eta=18 L7=1

eta=17 L7=1

eta=27

eta=28

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:







Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Sticking ADC counts in neughbouring TS for HB:

Sticking ADC counts in neughbouring TS for HE:

RBX:

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:





Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

RBX:

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:





Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

RBX:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Definition at line 9 of file PatAnalysisTasksExercise.cc.

References fwlite::AnalyzerWrapper< T >::analyze(), dir2webdir::argc, GCPpyPlots::argv, fwlite::AnalyzerWrapper< T >::beginJob(), gather_cfg::cout, FWLiteEnabler::enable(), fwlite::AnalyzerWrapper< T >::endJob(), beamvalidation::exit(), edm::readPSetsFrom(), and AlCaHLTBitMon_QueryRunRegistry::string.

9  {
10  // load framework libraries
11  gSystem->Load("libFWCoreFWLite");
13 
14  // only allow one argument for this simple example which should be the
15  // the python cfg file
16  if (argc < 2) {
17  std::cout << "Usage : " << argv[0] << " [parameters.py]" << std::endl;
18  return 0;
19  }
20  if (!edm::readPSetsFrom(argv[1])->existsAs<edm::ParameterSet>("process")) {
21  std::cout << " ERROR: ParametersSet 'plot' is missing in your configuration file" << std::endl;
22  exit(0);
23  }
24 
26  edm::readPSetsFrom(argv[1])->getParameter<edm::ParameterSet>("process"),
27  std::string("btagAnalyzer"),
28  std::string("analyzeBTag"));
29  WrappedFWLiteAnalysisTasksAnalyzerJEC anaJEC(edm::readPSetsFrom(argv[1])->getParameter<edm::ParameterSet>("process"),
30  std::string("jecAnalyzer"),
31  std::string("analyzeJEC"));
32  anaBTag.beginJob();
33  anaBTag.analyze();
34  anaBTag.endJob();
35  anaJEC.beginJob();
36  anaJEC.analyze();
37  anaJEC.endJob();
38  return 0;
39 }
static void enable()
enable automatic library loading
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)
def exit(msg="")