#include <DTTrigTest.h>
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iEventSetup) |
Analyze function executed on all the events. More... | |
void | beginJob () |
Create tree and Branches. More... | |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iEventSetup) |
Create DTTrig instance and TUs. More... | |
DTTrigTest (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () |
Close Tree and write File. More... | |
~DTTrigTest () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Attributes | |
int | bbx [100] |
int | bcod [100] |
float | bdirx [100] |
float | bdiry [100] |
float | bdirz [100] |
int | bk [100] |
int | bnum [100] |
float | bposx [100] |
float | bposy [100] |
float | bposz [100] |
int | bsect [100] |
int | bsl [100] |
int | bstat [100] |
int | bwh [100] |
int | bx [100] |
int | chagen [10] |
float | etagen [10] |
int | eventn |
bool | my_debug |
edm::ParameterSet | my_params |
TFile * | my_rootfile |
TTree * | my_tree |
DTTrig * | my_trig |
int | nbti |
int | ngen |
int | nscphi |
int | nsctheta |
int | ntraco |
int | ntsphi |
int | ntstheta |
float | phigen [10] |
float | ptgen [10] |
float | pxgen [10] |
float | pygen [10] |
float | pzgen [10] |
int | runn |
int | sbx [40] |
int | scod [40] |
int | scphbx [40] |
int | scphcod [40] |
float | scphdirx [100] |
float | scphdiry [100] |
float | scphdirz [100] |
int | scphphi [40] |
int | scphphib [40] |
float | scphposx [100] |
float | scphposy [100] |
float | scphposz [100] |
int | scphsect [40] |
int | scphstat [40] |
int | scphwh [40] |
int | scthbx [40] |
int | scthcode [40][7] |
int | scthpos [40][7] |
int | scthqual [40][7] |
int | scthsect [40] |
int | scthstat [40] |
int | scthwh [40] |
float | sdirx [100] |
float | sdiry [100] |
float | sdirz [100] |
int | sphi [40] |
int | sphib [40] |
float | sposx [100] |
float | sposy [100] |
float | sposz [100] |
int | ssect [40] |
int | sstat [40] |
int | swh [40] |
int | tbx [80] |
int | tcod [80] |
float | tdirx [100] |
float | tdiry [100] |
float | tdirz [100] |
int | thbx [40] |
int | thcode [40][7] |
int | thpos [40][7] |
int | thqual [40][7] |
int | thsect [40] |
int | thstat [40] |
int | thwh [40] |
int | tk [80] |
int | tnum [80] |
float | tposx [100] |
float | tposy [100] |
float | tposz [100] |
int | tsect [80] |
int | tstat [80] |
int | twh [80] |
int | tx [80] |
float | vxgen [10] |
float | vygen [10] |
float | vzgen [10] |
float | weight |
Static Private Attributes | |
static const double | my_TtoTDC = 32./25. |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
EDAnalyzer that generates a rootfile useful for L1-DTTrigger debugging and performance studies
EDAnalyzer that generates a rootfile useful for L1-DTTrigger debugging and performance studies
Definition at line 34 of file DTTrigTest.h.
DTTrigTest::DTTrigTest | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 53 of file DTTrigTest.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), my_debug, my_params, my_rootfile, my_tree, and estimatePileup_makeJSON::outputfile.
DTTrigTest::~DTTrigTest | ( | ) |
Destructor.
Definition at line 67 of file DTTrigTest.cc.
References gather_cfg::cout, my_debug, my_rootfile, and my_trig.
|
virtual |
Analyze function executed on all the events.
Implements edm::EDAnalyzer.
Definition at line 216 of file DTTrigTest.cc.
References abs, bbx, bcod, bdirx, bdiry, bdirz, bk, bnum, bposx, bposy, bposz, bsect, bsl, bstat, DTTrig::BtiTrigs(), bwh, bx, chagen, DeDxDiscriminatorTools::charge(), DTTrig::CMSDirection(), DTTrig::CMSPosition(), gather_cfg::cout, dir, eta(), etagen, edm::EventID::event(), eventn, edm::Event::getByLabel(), i, edm::EventBase::id(), M_PI, MAXGEN, my_debug, my_tree, my_trig, nbti, ngen, nscphi, nsctheta, ntraco, ntsphi, ntstheta, phi, phigen, pos, ptgen, pxgen, pygen, pzgen, edm::EventID::run(), runn, sbx, scod, scphbx, scphcod, scphdirx, scphdiry, scphdirz, scphphi, scphphib, scphposx, scphposy, scphposz, scphsect, scphstat, DTTrig::SCPhTrigs(), scphwh, scthbx, scthcode, scthpos, scthqual, scthsect, scthstat, DTTrig::SCThTrigs(), scthwh, sdirx, sdiry, sdirz, sphi, sphib, sposx, sposy, sposz, ssect, sstat, swh, tbx, tcod, tdirx, tdiry, tdirz, thbx, thcode, thpos, thqual, thsect, thstat, thwh, tk, tnum, tposx, tposy, tposz, DTTrig::TracoTrigs(), DTTrig::triggerReco(), tsect, DTTrig::TSPhTrigs(), tstat, DTTrig::TSThTrigs(), twh, tx, vxgen, vygen, vzgen, weight, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Create tree and Branches.
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file DTTrigTest.cc.
References bbx, bcod, bdirx, bdiry, bdirz, bk, bnum, bposx, bposy, bposz, bsect, bsl, bstat, bwh, bx, chagen, etagen, eventn, my_tree, nbti, ngen, nscphi, nsctheta, ntraco, ntsphi, ntstheta, phigen, ptgen, pxgen, pygen, pzgen, runn, sbx, scod, scphbx, scphcod, scphdirx, scphdiry, scphdirz, scphphi, scphphib, scphposx, scphposy, scphposz, scphsect, scphstat, scphwh, scthbx, scthcode, scthpos, scthqual, scthsect, scthstat, scthwh, sdirx, sdiry, sdirz, sphi, sphib, sposx, sposy, sposz, ssect, sstat, swh, tbx, tcod, tdirx, tdiry, tdirz, thbx, thcode, thpos, thqual, thsect, thstat, thwh, tk, tnum, tposx, tposy, tposz, tsect, tstat, twh, tx, vxgen, vygen, vzgen, and weight.
|
virtual |
Create DTTrig instance and TUs.
Reimplemented from edm::EDAnalyzer.
Definition at line 203 of file DTTrigTest.cc.
References gather_cfg::cout, DTTrig::createTUs(), my_debug, my_params, and my_trig.
|
virtual |
Close Tree and write File.
Reimplemented from edm::EDAnalyzer.
Definition at line 76 of file DTTrigTest.cc.
References gather_cfg::cout, my_debug, my_rootfile, and my_tree.
|
private |
Definition at line 101 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 102 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 108 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 110 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 103 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 105 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 106 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 107 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 99 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 97 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 96 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 104 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 68 of file DTTrigTest.h.
Referenced by beginRun(), and DTTrigTest().
|
private |
Definition at line 73 of file DTTrigTest.h.
Referenced by DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 71 of file DTTrigTest.h.
Referenced by analyze(), beginJob(), DTTrigTest(), and endJob().
|
private |
Definition at line 62 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), and ~DTTrigTest().
|
staticprivate |
Definition at line 59 of file DTTrigTest.h.
|
private |
Definition at line 95 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 156 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 172 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 113 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 130 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 146 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 161 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 167 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 168 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 169 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 162 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 163 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 164 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 165 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 166 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 159 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 158 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 157 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 176 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 177 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 178 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 179 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 175 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 174 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 173 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 141 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 142 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 143 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 136 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 137 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 140 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 133 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 131 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 125 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 127 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 151 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 153 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 148 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 147 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 117 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 123 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 124 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 116 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 115 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 114 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 121 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 90 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 92 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file DTTrigTest.h.
Referenced by analyze(), beginJob(), dirstructure.Directory::calcStats(), dirstructure.Directory::get_fail_rate(), dirstructure.Directory::get_null_rate(), dirstructure.Directory::get_skiped_rate(), dirstructure.Directory::get_success_rate(), and dirstructure.Directory::print_report().