|
3 | 3 | * Class to fill dqm monitor elements from existing EDM file
|
4 | 4 | *
|
5 | 5 | */
|
6 |
| - |
7 | 6 | #include "Validation/EventGenerator/interface/TauValidation.h"
|
8 | 7 |
|
9 | 8 | #include "CLHEP/Units/defs.h"
|
@@ -100,6 +99,9 @@ void TauValidation::beginJob()
|
100 | 99 | TauSpinEffectsZ_Zs = dbe->book1D("TauSpinEffectsZZs","Z_{s}", zsbins ,zsmin,zsmax); TauSpinEffectsZ_Zs->setAxisTitle("Z_{s}");
|
101 | 100 | TauSpinEffectsH_Zs = dbe->book1D("TauSpinEffectsHZs","Z_{s}", zsbins ,zsmin,zsmax); TauSpinEffectsZ_Zs->setAxisTitle("Z_{s}");
|
102 | 101 |
|
| 102 | + TauSpinEffectsZ_X= dbe->book1D("TauSpinEffectsZX","X of #tau^{-}", 25 ,0,1.0); TauSpinEffectsZ_X->setAxisTitle("X"); |
| 103 | + TauSpinEffectsH_X= dbe->book1D("TauSpinEffectsH_X","X of #tau^{-}", 25 ,0,1.0); TauSpinEffectsH_X->setAxisTitle("X"); |
| 104 | + |
103 | 105 | TauSpinEffectsZ_Xf = dbe->book1D("TauSpinEffectsZXf","X of forward emitted #tau^{-}", 25 ,0,1.0); TauSpinEffectsZ_Xf->setAxisTitle("X_{f}");
|
104 | 106 | TauSpinEffectsH_Xf = dbe->book1D("TauSpinEffectsHXf","X of forward emitted #tau^{-}", 25 ,0,1.0); TauSpinEffectsZ_Xf->setAxisTitle("X_{f}");
|
105 | 107 |
|
@@ -548,6 +550,10 @@ void TauValidation::spinEffectsZ(const HepMC::GenParticle* boson, double weight)
|
548 | 550 | int charge = (int) pd->charge();
|
549 | 551 | LVtau.Boost(-1*Zboson.BoostVector());
|
550 | 552 | LVpi.Boost(-1*Zboson.BoostVector());
|
| 553 | + if(tauDecayChannel(*des) == pi){ |
| 554 | + if(abs(boson->pdg_id())==PdtPdgMini::Z0) TauSpinEffectsZ_X->Fill(LVpi.P()/LVtau.E(),weight); |
| 555 | + if(abs(boson->pdg_id())==PdtPdgMini::Higgs0) TauSpinEffectsH_X->Fill(LVpi.P()/LVtau.E(),weight); |
| 556 | + } |
551 | 557 | if(charge<0){x1=LVpi.P()/LVtau.E(); taum=LVtau;}
|
552 | 558 | else{ x2=LVpi.P()/LVtau.E();}
|
553 | 559 | }
|
|
0 commit comments