test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
HLTanalyzers
interface
HLTMCtruth.h
Go to the documentation of this file.
1
#ifndef HLTMCTRUTH_H
2
#define HLTMCTRUTH_H
3
4
#include "TH1.h"
5
#include "TH2.h"
6
#include "TFile.h"
7
#include "TNamed.h"
8
#include <vector>
9
#include <map>
10
#include "TROOT.h"
11
#include "TChain.h"
12
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
15
#include "
SimDataFormats/Track/interface/SimTrack.h
"
16
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
17
#include "
DataFormats/Candidate/interface/Candidate.h
"
18
19
#include "
DataFormats/METReco/interface/CaloMETCollection.h
"
20
21
typedef
std::vector<std::string>
MyStrings
;
22
29
class
HLTMCtruth
{
30
public
:
31
HLTMCtruth
();
32
33
void
setup
(
const
edm::ParameterSet
& pSet, TTree*
tree
);
34
36
void
analyze
(
const
edm::Handle<reco::CandidateView>
& mctruth,
37
const
double
& pthat,
38
const
edm::Handle
<std::vector<SimTrack> > & simTracks,
39
const
edm::Handle
<std::vector<SimVertex> > & simVertices,
40
TTree* tree);
41
42
private
:
43
44
// Tree variables
45
float
*
mcvx
, *
mcvy
, *
mcvz
, *
mcpt
, *
mceta
, *
mcphi
;
46
int
*
mcpid
, *
mcstatus
;
47
int
nmcpart
,
nmu3
,
nel3
,
nab
,
nbb
,
nwenu
,
nwmunu
,
nzee
,
nzmumu
;
48
float
pthatf
;
49
float
ptEleMax
,
ptMuMax
;
50
// input variables
51
bool
_Monte
,
_Debug
;
52
53
};
54
55
#endif
HLTMCtruth::mcpid
int * mcpid
Definition:
HLTMCtruth.h:46
MainPageGenerator.tree
tuple tree
Definition:
MainPageGenerator.py:264
HLTMCtruth::mcpt
float * mcpt
Definition:
HLTMCtruth.h:45
SimTrack.h
HLTMCtruth::pthatf
float pthatf
Definition:
HLTMCtruth.h:48
HLTMCtruth::nzee
int nzee
Definition:
HLTMCtruth.h:47
edm::Handle
Definition:
AssociativeIterator.h:47
HLTMCtruth::nel3
int nel3
Definition:
HLTMCtruth.h:47
CaloMETCollection.h
HLTMCtruth::_Debug
bool _Debug
Definition:
HLTMCtruth.h:51
HLTMCtruth::mceta
float * mceta
Definition:
HLTMCtruth.h:45
HLTMCtruth::nbb
int nbb
Definition:
HLTMCtruth.h:47
ParameterSet.h
HLTMCtruth::nmcpart
int nmcpart
Definition:
HLTMCtruth.h:47
Candidate.h
HLTMCtruth::nzmumu
int nzmumu
Definition:
HLTMCtruth.h:47
HLTMCtruth::ptEleMax
float ptEleMax
Definition:
HLTMCtruth.h:49
HLTMCtruth::ptMuMax
float ptMuMax
Definition:
HLTMCtruth.h:49
HLTMCtruth::analyze
void analyze(const edm::Handle< reco::CandidateView > &mctruth, const double &pthat, const edm::Handle< std::vector< SimTrack > > &simTracks, const edm::Handle< std::vector< SimVertex > > &simVertices, TTree *tree)
Definition:
HLTMCtruth.cc:69
HLTMCtruth::mcvy
float * mcvy
Definition:
HLTMCtruth.h:45
HLTMCtruth::nmu3
int nmu3
Definition:
HLTMCtruth.h:47
HLTMCtruth::_Monte
bool _Monte
Definition:
HLTMCtruth.h:51
SimVertex.h
MyStrings
std::vector< std::string > MyStrings
EgammaCoreTools.
Definition:
HLTAlCa.h:39
HepMCProduct.h
HLTMCtruth
Definition:
HLTMCtruth.h:29
HLTMCtruth::mcvx
float * mcvx
Definition:
HLTMCtruth.h:45
HLTMCtruth::mcphi
float * mcphi
Definition:
HLTMCtruth.h:45
HLTMCtruth::nwenu
int nwenu
Definition:
HLTMCtruth.h:47
HLTMCtruth::mcvz
float * mcvz
Definition:
HLTMCtruth.h:45
HLTMCtruth::setup
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition:
HLTMCtruth.cc:23
HLTMCtruth::nwmunu
int nwmunu
Definition:
HLTMCtruth.h:47
edm::ParameterSet
Definition:
ParameterSet.h:36
HLTMCtruth::HLTMCtruth
HLTMCtruth()
Definition:
HLTMCtruth.cc:15
HLTMCtruth::nab
int nab
Definition:
HLTMCtruth.h:47
HLTMCtruth::mcstatus
int * mcstatus
Definition:
HLTMCtruth.h:46
Generated for CMSSW Reference Manual by
1.8.5