12 #include "Math/VectorUtil.h"
61 if (
muon->genParticleById(0, 1).isNonnull()) {
66 if (
muon->genParticleById(0, 3).isNonnull()) {
71 if (
muon->genParticleById(0, -1).isNonnull()) {
76 if (
muon->genParticleById(0, 1).isNull() &&
muon->genParticleById(0, 3).isNull() &&
77 muon->genParticleById(0, -1).isNull())
79 if (
muon->genParticleById(0, 1).isNull() &&
muon->genParticleById(0, 3).isNull() &&
80 muon->genParticleById(0, -1).isNonnull())
83 if (
muon->genParticleById(-13, 0, 1).isNonnull()) {
85 std::cout <<
" DIFF CHARGE!!! charge gen: " <<
muon->genParticleById(-13, 0,
true)->charge()
86 <<
" charge reco: " <<
muon->charge() << std::endl;
98 histContainer_[
"DR_defaultMatch"] = fs->
make<TH1F>(
"DR_defaultMatch",
"DR_defaultMatch", 100, 0, 0.02);
99 histContainer_[
"DR_status1Match"] = fs->
make<TH1F>(
"DR_status1Match",
"DR_status1Match", 100, 0, 0.02);
100 histContainer_[
"DR_status3Match"] = fs->
make<TH1F>(
"DR_status3Match",
"DR_status3Match", 100, 0, 0.02);
102 histContainer_[
"DPt_defaultMatch"] = fs->
make<TH1F>(
"DPt_defaultMatch",
"DPt_defaultMatch", 10, 0, 1.2);
103 histContainer_[
"DPt_status1Match"] = fs->
make<TH1F>(
"DPt_status1Match",
"DPt_status1Match", 10, 0, 1.2);
104 histContainer_[
"DPt_status3Match"] = fs->
make<TH1F>(
"DPt_status3Match",
"DPt_status3Match", 10, 0, 1.2);