#include <DTTrigTest.h>
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iEventSetup) override |
Analyze function executed on all the events. More... | |
void | beginJob () override |
Create tree and Branches. More... | |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iEventSetup) override |
Create DTTrig instance and TUs. More... | |
DTTrigTest (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () override |
Close Tree and write File. More... | |
~DTTrigTest () override | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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, my_debug, my_params, my_rootfile, my_tree, writedatasetfile::outputfile, and muonDTDigis_cfi::pset.
|
override |
Destructor.
Definition at line 63 of file DTTrigTest.cc.
References gather_cfg::cout, my_debug, my_rootfile, and my_trig.
|
overridevirtual |
Analyze function executed on all the events.
Implements edm::EDAnalyzer.
Definition at line 204 of file DTTrigTest.cc.
References funct::abs(), bbx, bcod, bdirx, bdiry, bdirz, bnum, bposx, bposy, bposz, bsect, bsl, bstat, DTTrig::BtiTrigs(), bwh, bx, chagen, ALCARECOTkAlJpsiMuMu_cff::charge, DTTrig::CMSDirection(), DTTrig::CMSPosition(), gather_cfg::cout, DeadROC_duringRun::dir, PVValHelper::eta, etagen, eventn, mps_fire::i, iEvent, M_PI, MAXGEN, my_debug, my_tree, my_trig, nbti, ngen, nscphi, nsctheta, ntraco, ntsphi, ntstheta, phi, phigen, DiDispStaMuonMonitor_cfi::pt, B2GMonitoring_cff::ptcut, ptgen, pxgen, pygen, pzgen, 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, and vzgen.
|
overridevirtual |
Create tree and Branches.
Reimplemented from edm::EDAnalyzer.
Definition at line 80 of file DTTrigTest.cc.
References bbx, bcod, bdirx, bdiry, bdirz, 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, and vzgen.
|
overridevirtual |
Create DTTrig instance and TUs.
Reimplemented from edm::EDAnalyzer.
Definition at line 195 of file DTTrigTest.cc.
References edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, DTTrig::createTUs(), my_debug, my_params, and my_trig.
|
overridevirtual |
Close Tree and write File.
Reimplemented from edm::EDAnalyzer.
Definition at line 71 of file DTTrigTest.cc.
References gather_cfg::cout, my_debug, my_rootfile, and my_tree.
|
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 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 98 of file DTTrigTest.h.
|
private |
Definition at line 95 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 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 93 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 92 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 99 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 82 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 61 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 64 of file DTTrigTest.h.
Referenced by beginRun(), and DTTrigTest().
|
private |
Definition at line 69 of file DTTrigTest.h.
Referenced by DTTrigTest(), endJob(), and ~DTTrigTest().
|
private |
Definition at line 67 of file DTTrigTest.h.
Referenced by analyze(), beginJob(), DTTrigTest(), and endJob().
|
private |
Definition at line 58 of file DTTrigTest.h.
Referenced by analyze(), beginRun(), and ~DTTrigTest().
|
staticprivate |
Definition at line 55 of file DTTrigTest.h.
|
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 analyze(), and beginJob().
|
private |
Definition at line 151 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 108 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 141 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 81 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 79 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 72 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 130 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 156 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 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 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 154 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 152 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 172 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 174 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 169 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 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 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 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 128 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 126 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 114 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 145 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 147 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 144 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 142 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 112 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 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 111 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 109 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 85 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 87 of file DTTrigTest.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file DTTrigTest.h.
Referenced by 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().