#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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
EDAnalyzer that generates a rootfile useful for L1-DTTrigger debugging and performance studies
Definition at line 32 of file DTTrigTest.h.
DTTrigTest::DTTrigTest | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 51 of file DTTrigTest.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), my_debug, my_params, my_rootfile, my_tree, estimatePileup_makeJSON::outputfile, and TrackValidation_cff::pset.
DTTrigTest::~DTTrigTest | ( | ) |
Destructor.
Definition at line 64 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 213 of file DTTrigTest.cc.
References funct::abs(), bbx, bcod, bdirx, bdiry, bdirz, bk, bnum, bposx, bposy, bposz, bsect, bsl, bstat, DTTrig::BtiTrigs(), bwh, bx, chagen, RecoTauCleanerPlugins::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, EnergyCorrector::pt, 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 84 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 200 of file DTTrigTest.cc.
References edm::EDConsumerBase::consumesCollector(), 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 73 of file DTTrigTest.cc.
References gather_cfg::cout, my_debug, my_rootfile, and my_tree.
|
private |
Definition at line 99 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 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 108 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 101 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 103 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 105 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 97 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 94 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 87 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 76 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 63 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 66 of file DTTrigTest.h.
Referenced by beginRun(), and DTTrigTest().
|
private |
Definition at line 71 of file DTTrigTest.h.
Referenced by DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 69 of file DTTrigTest.h.
Referenced by analyze(), beginJob(), DTTrigTest(), and endJob().
|
private |
Definition at line 60 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), and ~DTTrigTest().
|
staticprivate |
Definition at line 57 of file DTTrigTest.h.
|
private |
Definition at line 93 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 154 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 170 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 111 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 128 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 144 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 84 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 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 83 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 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 133 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 159 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 167 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 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 157 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 155 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 175 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 173 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 171 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 141 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 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 131 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 129 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 117 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 125 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 149 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 147 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 145 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 115 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 121 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 114 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 112 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 88 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 90 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file DTTrigTest.h.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), 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().