CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
DTTrigTest Class Reference

#include <DTTrigTest.h>

Inheritance diagram for DTTrigTest:
edm::one::EDAnalyzer< edm::one::WatchRuns > edm::one::EDAnalyzerBase edm::EDConsumerBase

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...
 
void endRun (const edm::Run &iRun, const edm::EventSetup &iEventSetup) override
 
 ~DTTrigTest () override
 Destructor. More...
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices 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
 
DTTrigmy_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::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

EDAnalyzer that generates a rootfile useful for L1-DTTrigger debugging and performance studies

Author
C. Battilana

Definition at line 32 of file DTTrigTest.h.

Constructor & Destructor Documentation

◆ DTTrigTest()

DTTrigTest::DTTrigTest ( const edm::ParameterSet pset)

Constructor.

Definition at line 51 of file DTTrigTest.cc.

References edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, my_debug, my_params, my_rootfile, my_tree, my_trig, writedatasetfile::outputfile, and muonDTDigis_cfi::pset.

51  : my_trig(nullptr) {
52  my_debug = pset.getUntrackedParameter<bool>("debug");
53  string outputfile = pset.getUntrackedParameter<string>("outputFileName");
54  if (my_debug)
55  cout << "[DTTrigTest] Creating rootfile " << outputfile << endl;
56  my_rootfile = new TFile(outputfile.c_str(), "RECREATE");
57  my_tree = new TTree("h1", "GMT", 0);
58  my_params = pset;
59  if (my_debug)
60  cout << "[DTTrigTest] Constructor executed!!!" << endl;
62 }
edm::ParameterSet my_params
Definition: DTTrigTest.h:65
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
TTree * my_tree
Definition: DTTrigTest.h:68
Definition: DTTrig.h:59
TFile * my_rootfile
Definition: DTTrigTest.h:70
bool my_debug
Definition: DTTrigTest.h:62
DTTrig * my_trig
Definition: DTTrigTest.h:59

◆ ~DTTrigTest()

DTTrigTest::~DTTrigTest ( )
override

Destructor.

Definition at line 64 of file DTTrigTest.cc.

References gather_cfg::cout, my_debug, my_rootfile, and my_trig.

64  {
65  if (my_trig != nullptr)
66  delete my_trig;
67  delete my_rootfile;
68  if (my_debug)
69  cout << "[DTTrigTest] Destructor executed!!!" << endl;
70 }
TFile * my_rootfile
Definition: DTTrigTest.h:70
bool my_debug
Definition: DTTrigTest.h:62
DTTrig * my_trig
Definition: DTTrigTest.h:59

Member Function Documentation

◆ analyze()

void DTTrigTest::analyze ( const edm::Event iEvent,
const edm::EventSetup iEventSetup 
)
overridevirtual

Analyze function executed on all the events.

Implements edm::one::EDAnalyzerBase.

Definition at line 202 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, my_debug, my_tree, my_trig, nbti, ngen, nscphi, nsctheta, ntraco, ntsphi, ntstheta, phi, phigen, DiDispStaMuonMonitor_cfi::pt, submitPVValidationJobs::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.

202  {
203  const int MAXGEN = 10;
204  const float ptcut = 1.0;
205  const float etacut = 2.4;
206  my_trig->triggerReco(iEvent, iEventSetup);
207  if (my_debug)
208  cout << "[DTTrigTest] Trigger algorithm executed for run " << iEvent.id().run() << " event " << iEvent.id().event()
209  << endl;
210 
211  // GENERAL Block
212  runn = iEvent.id().run();
213  eventn = iEvent.id().event();
214  weight = 1; // FIXME what to do with this varable?
215 
216  // GEANT Block
217  Handle<vector<SimTrack> > MyTracks;
218  Handle<vector<SimVertex> > MyVertexes;
219  iEvent.getByLabel("g4SimHits", MyTracks);
220  iEvent.getByLabel("g4SimHits", MyVertexes);
221  vector<SimTrack>::const_iterator itrack;
222  ngen = 0;
223  if (my_debug)
224  cout << "[DTTrigTest] Tracks found in the detector (not only muons) " << MyTracks->size() << endl;
225 
226  for (itrack = MyTracks->begin(); itrack != MyTracks->end(); itrack++) {
227  if (abs(itrack->type()) == 13) {
228  math::XYZTLorentzVectorD momentum = itrack->momentum();
229  float pt = momentum.Pt();
230  float eta = momentum.eta();
231  if (pt > ptcut && fabs(eta) < etacut) {
232  float phi = momentum.phi();
233  int charge = static_cast<int>(-itrack->type() / 13); //static_cast<int> (itrack->charge());
234  if (phi < 0)
235  phi = 2 * M_PI + phi;
236  int vtxindex = itrack->vertIndex();
237  float gvx = 0, gvy = 0, gvz = 0;
238  if (vtxindex > -1) {
239  gvx = MyVertexes->at(vtxindex).position().x();
240  gvy = MyVertexes->at(vtxindex).position().y();
241  gvz = MyVertexes->at(vtxindex).position().z();
242  }
243  if (ngen < MAXGEN) {
244  pxgen[ngen] = momentum.x();
245  pygen[ngen] = momentum.y();
246  pzgen[ngen] = momentum.z();
247  ptgen[ngen] = pt;
248  etagen[ngen] = eta;
249  phigen[ngen] = phi;
250  chagen[ngen] = charge;
251  vxgen[ngen] = gvx;
252  vygen[ngen] = gvy;
253  vzgen[ngen] = gvz;
254  ngen++;
255  }
256  }
257  }
258  }
259 
260  // L1 Local Trigger Block
261  // BTI
262  vector<DTBtiTrigData> btitrigs = my_trig->BtiTrigs();
263  vector<DTBtiTrigData>::const_iterator pbti;
264  int ibti = 0;
265  if (my_debug)
266  cout << "[DTTrigTest] " << btitrigs.size() << " BTI triggers found" << endl;
267 
268  for (pbti = btitrigs.begin(); pbti != btitrigs.end(); pbti++) {
269  if (ibti < 100) {
270  bwh[ibti] = pbti->wheel();
271  bstat[ibti] = pbti->station();
272  bsect[ibti] = pbti->sector();
273  bsl[ibti] = pbti->btiSL();
274  bnum[ibti] = pbti->btiNumber();
275  bbx[ibti] = pbti->step();
276  bcod[ibti] = pbti->code();
277  bk[ibti] = pbti->K();
278  bx[ibti] = pbti->X();
279  GlobalPoint pos = my_trig->CMSPosition(&(*pbti));
280  GlobalVector dir = my_trig->CMSDirection(&(*pbti));
281  bposx[ibti] = pos.x();
282  bposy[ibti] = pos.y();
283  bposz[ibti] = pos.z();
284  bdirx[ibti] = dir.x();
285  bdiry[ibti] = dir.y();
286  bdirz[ibti] = dir.z();
287  ibti++;
288  }
289  }
290  nbti = ibti;
291 
292  //TRACO
293  vector<DTTracoTrigData> tracotrigs = my_trig->TracoTrigs();
294  vector<DTTracoTrigData>::const_iterator ptc;
295  int itraco = 0;
296  if (my_debug)
297  cout << "[DTTrigTest] " << tracotrigs.size() << " TRACO triggers found" << endl;
298 
299  for (ptc = tracotrigs.begin(); ptc != tracotrigs.end(); ptc++) {
300  if (itraco < 80) {
301  twh[itraco] = ptc->wheel();
302  tstat[itraco] = ptc->station();
303  tsect[itraco] = ptc->sector();
304  tnum[itraco] = ptc->tracoNumber();
305  tbx[itraco] = ptc->step();
306  tcod[itraco] = ptc->code();
307  tk[itraco] = ptc->K();
308  tx[itraco] = ptc->X();
309  GlobalPoint pos = my_trig->CMSPosition(&(*ptc));
310  GlobalVector dir = my_trig->CMSDirection(&(*ptc));
311  tposx[itraco] = pos.x();
312  tposy[itraco] = pos.y();
313  tposz[itraco] = pos.z();
314  tdirx[itraco] = dir.x();
315  tdiry[itraco] = dir.y();
316  tdirz[itraco] = dir.z();
317  itraco++;
318  }
319  }
320  ntraco = itraco;
321 
322  //TSPHI
323  vector<DTChambPhSegm> tsphtrigs = my_trig->TSPhTrigs();
324  vector<DTChambPhSegm>::const_iterator ptsph;
325  int itsphi = 0;
326  if (my_debug)
327  cout << "[DTTrigTest] " << tsphtrigs.size() << " TSPhi triggers found" << endl;
328 
329  for (ptsph = tsphtrigs.begin(); ptsph != tsphtrigs.end(); ptsph++) {
330  if (itsphi < 40) {
331  swh[itsphi] = ptsph->wheel();
332  sstat[itsphi] = ptsph->station();
333  ssect[itsphi] = ptsph->sector();
334  sbx[itsphi] = ptsph->step();
335  scod[itsphi] = ptsph->oldCode();
336  sphi[itsphi] = ptsph->phi();
337  sphib[itsphi] = ptsph->phiB();
338  GlobalPoint pos = my_trig->CMSPosition(&(*ptsph));
339  GlobalVector dir = my_trig->CMSDirection(&(*ptsph));
340  sposx[itsphi] = pos.x();
341  sposy[itsphi] = pos.y();
342  sposz[itsphi] = pos.z();
343  sdirx[itsphi] = dir.x();
344  sdiry[itsphi] = dir.y();
345  sdirz[itsphi] = dir.z();
346  itsphi++;
347  }
348  }
349  ntsphi = itsphi;
350 
351  //TSTHETA
352  vector<DTChambThSegm> tsthtrigs = my_trig->TSThTrigs();
353  vector<DTChambThSegm>::const_iterator ptsth;
354  int itstheta = 0;
355  if (my_debug)
356  cout << "[DTTrigTest] " << tsthtrigs.size() << " TSTheta triggers found" << endl;
357 
358  for (ptsth = tsthtrigs.begin(); ptsth != tsthtrigs.end(); ptsth++) {
359  if (itstheta < 40) {
360  thwh[itstheta] = ptsth->ChamberId().wheel();
361  thstat[itstheta] = ptsth->ChamberId().station();
362  thsect[itstheta] = ptsth->ChamberId().sector();
363  thbx[itstheta] = ptsth->step();
364  for (int i = 0; i < 7; i++) {
365  thcode[itstheta][i] = ptsth->code(i);
366  thpos[itstheta][i] = ptsth->position(i);
367  thqual[itstheta][i] = ptsth->quality(i);
368  }
369  itstheta++;
370  }
371  }
372  ntstheta = itstheta;
373 
374  //SCPHI
375  vector<DTSectCollPhSegm> scphtrigs = my_trig->SCPhTrigs();
376  vector<DTSectCollPhSegm>::const_iterator pscph;
377  int iscphi = 0;
378  if (my_debug)
379  cout << "[DTTrigTest] " << scphtrigs.size() << " SectCollPhi triggers found" << endl;
380 
381  for (pscph = scphtrigs.begin(); pscph != scphtrigs.end(); pscph++) {
382  if (iscphi < 40) {
383  const DTChambPhSegm* seg = (*pscph).tsPhiTrig();
384  scphwh[iscphi] = pscph->wheel();
385  scphstat[iscphi] = pscph->station();
386  scphsect[iscphi] = pscph->sector();
387  scphbx[iscphi] = pscph->step();
388  scphcod[iscphi] = pscph->oldCode();
389  scphphi[iscphi] = pscph->phi();
390  scphphib[iscphi] = pscph->phiB();
393  scphposx[iscphi] = pos.x();
394  scphposy[iscphi] = pos.y();
395  scphposz[iscphi] = pos.z();
396  scphdirx[iscphi] = dir.x();
397  scphdiry[iscphi] = dir.y();
398  scphdirz[iscphi] = dir.z();
399  iscphi++;
400  }
401  }
402  nscphi = iscphi;
403 
404  //SCTHETA
405  vector<DTSectCollThSegm> scthtrigs = my_trig->SCThTrigs();
406  vector<DTSectCollThSegm>::const_iterator pscth;
407  int isctheta = 0;
408  if (my_debug)
409  cout << "[DTTrigTest] " << scthtrigs.size() << " SectCollTheta triggers found" << endl;
410 
411  for (pscth = scthtrigs.begin(); pscth != scthtrigs.end(); pscth++) {
412  if (isctheta < 40) {
413  scthwh[isctheta] = pscth->ChamberId().wheel();
414  scthstat[isctheta] = pscth->ChamberId().station();
415  scthsect[isctheta] = pscth->ChamberId().sector();
416  scthbx[isctheta] = pscth->step();
417  for (int i = 0; i < 7; i++) {
418  scthcode[isctheta][i] = pscth->code(i);
419  scthpos[isctheta][i] = pscth->position(i);
420  scthqual[isctheta][i] = pscth->quality(i);
421  }
422  isctheta++;
423  }
424  }
425  nsctheta = isctheta;
426 
427  //Fill the tree
428  my_tree->Fill();
429 }
std::vector< DTBtiTrigData > BtiTrigs() const
Return a copy of all the BTI triggers.
Definition: DTTrig.cc:414
float scphdirx[100]
Definition: DTTrigTest.h:163
int thpos[40][7]
Definition: DTTrigTest.h:148
int tstat[80]
Definition: DTTrigTest.h:111
int sbx[40]
Definition: DTTrigTest.h:130
int scphbx[40]
Definition: DTTrigTest.h:156
int scthsect[40]
Definition: DTTrigTest.h:171
float scphposz[100]
Definition: DTTrigTest.h:162
float etagen[10]
Definition: DTTrigTest.h:83
float tdirz[100]
Definition: DTTrigTest.h:123
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
int bstat[100]
Definition: DTTrigTest.h:93
int bsl[100]
Definition: DTTrigTest.h:95
int bnum[100]
Definition: DTTrigTest.h:96
int thstat[40]
Definition: DTTrigTest.h:144
int twh[80]
Definition: DTTrigTest.h:110
float vygen[10]
Definition: DTTrigTest.h:87
int scod[40]
Definition: DTTrigTest.h:131
float tdiry[100]
Definition: DTTrigTest.h:122
int scthbx[40]
Definition: DTTrigTest.h:172
int ssect[40]
Definition: DTTrigTest.h:129
int sphib[40]
Definition: DTTrigTest.h:133
float bdirz[100]
Definition: DTTrigTest.h:106
int tcod[80]
Definition: DTTrigTest.h:115
float vxgen[10]
Definition: DTTrigTest.h:86
int scthpos[40][7]
Definition: DTTrigTest.h:174
int scphphib[40]
Definition: DTTrigTest.h:159
float pxgen[10]
Definition: DTTrigTest.h:79
float scphdirz[100]
Definition: DTTrigTest.h:165
int scphcod[40]
Definition: DTTrigTest.h:157
float scphposx[100]
Definition: DTTrigTest.h:160
int bx[100]
Definition: DTTrigTest.h:100
float scphposy[100]
Definition: DTTrigTest.h:161
Definition: weight.py:1
std::vector< DTChambThSegm > TSThTrigs() const
Return a copy of all the Trigger Server (Theta) triggers.
Definition: DTTrig.cc:453
int scphwh[40]
Definition: DTTrigTest.h:153
GlobalPoint CMSPosition(const DTTrigData *trig) const
Coordinate of a trigger-data object in CMS frame.
Definition: DTTrig.h:229
int bwh[100]
Definition: DTTrigTest.h:92
float sposx[100]
Definition: DTTrigTest.h:134
int sstat[40]
Definition: DTTrigTest.h:128
float ptgen[10]
Definition: DTTrigTest.h:82
int bcod[100]
Definition: DTTrigTest.h:98
int bsect[100]
Definition: DTTrigTest.h:94
float sposy[100]
Definition: DTTrigTest.h:135
int tnum[80]
Definition: DTTrigTest.h:113
int thbx[40]
Definition: DTTrigTest.h:146
int iEvent
Definition: GenABIO.cc:224
std::vector< DTSectCollPhSegm > SCPhTrigs() const
Return a copy of all the Sector Collector (Phi) triggers.
Definition: DTTrig.cc:466
float sposz[100]
Definition: DTTrigTest.h:136
std::vector< DTTracoTrigData > TracoTrigs() const
Return a copy of all the TRACO triggers.
Definition: DTTrig.cc:427
float tposz[100]
Definition: DTTrigTest.h:120
std::vector< DTSectCollThSegm > SCThTrigs() const
Return a copy of all the Sector Collector (Theta) triggers.
Definition: DTTrig.cc:489
int thwh[40]
Definition: DTTrigTest.h:143
int scphphi[40]
Definition: DTTrigTest.h:158
float scphdiry[100]
Definition: DTTrigTest.h:164
int scthwh[40]
Definition: DTTrigTest.h:169
int scthqual[40][7]
Definition: DTTrigTest.h:175
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
int tk[80]
Definition: DTTrigTest.h:116
int scphsect[40]
Definition: DTTrigTest.h:155
int swh[40]
Definition: DTTrigTest.h:127
TTree * my_tree
Definition: DTTrigTest.h:68
int tx[80]
Definition: DTTrigTest.h:117
int bbx[100]
Definition: DTTrigTest.h:97
float sdirz[100]
Definition: DTTrigTest.h:139
void triggerReco(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Run the whole trigger reconstruction chain.
Definition: DTTrig.cc:132
int nsctheta
Definition: DTTrigTest.h:168
std::vector< DTChambPhSegm > TSPhTrigs() const
Return a copy of all the Trigger Server (Phi) triggers.
Definition: DTTrig.cc:440
int thcode[40][7]
Definition: DTTrigTest.h:147
int ntstheta
Definition: DTTrigTest.h:142
#define M_PI
float bdirx[100]
Definition: DTTrigTest.h:104
float tdirx[100]
Definition: DTTrigTest.h:121
int scphstat[40]
Definition: DTTrigTest.h:154
float tposx[100]
Definition: DTTrigTest.h:118
float sdiry[100]
Definition: DTTrigTest.h:138
float pygen[10]
Definition: DTTrigTest.h:80
float bposx[100]
Definition: DTTrigTest.h:101
GlobalVector CMSDirection(const DTTrigData *trig) const
Direction of a trigger-data object in CMS frame.
Definition: DTTrig.h:237
int tsect[80]
Definition: DTTrigTest.h:112
float phigen[10]
Definition: DTTrigTest.h:84
int scthstat[40]
Definition: DTTrigTest.h:170
int sphi[40]
Definition: DTTrigTest.h:132
float bdiry[100]
Definition: DTTrigTest.h:105
int thsect[40]
Definition: DTTrigTest.h:145
float sdirx[100]
Definition: DTTrigTest.h:137
int scthcode[40][7]
Definition: DTTrigTest.h:173
float pzgen[10]
Definition: DTTrigTest.h:81
int eventn
Definition: DTTrigTest.h:74
float bposz[100]
Definition: DTTrigTest.h:103
float tposy[100]
Definition: DTTrigTest.h:119
int chagen[10]
Definition: DTTrigTest.h:85
float bposy[100]
Definition: DTTrigTest.h:102
float vzgen[10]
Definition: DTTrigTest.h:88
bool my_debug
Definition: DTTrigTest.h:62
DTTrig * my_trig
Definition: DTTrigTest.h:59
int thqual[40][7]
Definition: DTTrigTest.h:149
int tbx[80]
Definition: DTTrigTest.h:114

◆ beginJob()

void DTTrigTest::beginJob ( void  )
overridevirtual

Create tree and Branches.

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 81 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.

81  {
82  // get DTConfigManager
83  // ESHandle< DTConfigManager > confManager ;
84  // iEventSetup.get< DTConfigManagerRcd >().get( confManager ) ;
85 
86  //for testing purpose....
87  //DTBtiId btiid(1,1,1,1,1);
88  //confManager->getDTConfigBti(btiid)->print();
89 
90  // my_trig = new DTTrig(my_params);
91 
92  // my_trig->createTUs(iEventSetup);
93  // if (my_debug)
94  // cout << "[DTTrigTest] TU's Created" << endl;
95 
96  // BOOKING of the tree's varables
97  // GENERAL block branches
98  my_tree->Branch("Run", &runn, "Run/I");
99  my_tree->Branch("Event", &eventn, "Event/I");
100  my_tree->Branch("Weight", &weight, "Weight/F");
101  // GEANT block branches
102  my_tree->Branch("Ngen", &ngen, "Ngen/I");
103  my_tree->Branch("Pxgen", pxgen, "Pxgen[Ngen]/F");
104  my_tree->Branch("Pygen", pygen, "Pygen[Ngen]/F");
105  my_tree->Branch("Pzgen", pzgen, "Pzgen[Ngen]/F");
106  my_tree->Branch("Ptgen", ptgen, "Ptgen[Ngen]/F");
107  my_tree->Branch("Etagen", etagen, "Etagen[Ngen]/F");
108  my_tree->Branch("Phigen", phigen, "Phigen[Ngen]/F");
109  my_tree->Branch("Chagen", chagen, "Chagen[Ngen]/I");
110  my_tree->Branch("Vxgen", vxgen, "Vxgen[Ngen]/F");
111  my_tree->Branch("Vygen", vygen, "Vygen[Ngen]/F");
112  my_tree->Branch("Vzgen", vzgen, "Vzgen[Ngen]/F");
113  // L1MuDTBtiChipS block
114  my_tree->Branch("Nbti", &nbti, "Nbti/I");
115  my_tree->Branch("bwh", bwh, "bwh[Nbti]/I");
116  my_tree->Branch("bstat", bstat, "bstat[Nbti]/I");
117  my_tree->Branch("bsect", bsect, "bsect[Nbti]/I");
118  my_tree->Branch("bsl", bsl, "bsl[Nbti]/I");
119  my_tree->Branch("bnum", bnum, "bnum[Nbti]/I");
120  my_tree->Branch("bbx", bbx, "bbx[Nbti]/I");
121  my_tree->Branch("bcod", bcod, "bcod[Nbti]/I");
122  my_tree->Branch("bk", bk, "bk[Nbti]/I");
123  my_tree->Branch("bx", bx, "bx[Nbti]/I");
124  my_tree->Branch("bposx", bposx, "bposx[Nbti]/F");
125  my_tree->Branch("bposy", bposy, "bposy[Nbti]/F");
126  my_tree->Branch("bposz", bposz, "bposz[Nbti]/F");
127  my_tree->Branch("bdirx", bdirx, "bdirx[Nbti]/F");
128  my_tree->Branch("bdiry", bdiry, "bdiry[Nbti]/F");
129  my_tree->Branch("bdirz", bdirz, "bdirz[Nbti]/F");
130  // L1MuDTTracoChipS block
131  my_tree->Branch("Ntraco", &ntraco, "Ntraco/I");
132  my_tree->Branch("twh", twh, "twh[Ntraco]/I");
133  my_tree->Branch("tstat", tstat, "tstat[Ntraco]/I");
134  my_tree->Branch("tsect", tsect, "tsect[Ntraco]/I");
135  my_tree->Branch("tnum", tnum, "tnum[Ntraco]/I");
136  my_tree->Branch("tbx", tbx, "tbx[Ntraco]/I");
137  my_tree->Branch("tcod", tcod, "tcod[Ntraco]/I");
138  my_tree->Branch("tk", tk, "tk[Ntraco]/I");
139  my_tree->Branch("tx", tx, "tx[Ntraco]/I");
140  my_tree->Branch("tposx", tposx, "tposx[Ntraco]/F");
141  my_tree->Branch("tposy", tposy, "tposy[Ntraco]/F");
142  my_tree->Branch("tposz", tposz, "tposz[Ntraco]/F");
143  my_tree->Branch("tdirx", tdirx, "tdirx[Ntraco]/F");
144  my_tree->Branch("tdiry", tdiry, "tdiry[Ntraco]/F");
145  my_tree->Branch("tdirz", tdirz, "tdirz[Ntraco]/F");
146  // TSPHI block
147  my_tree->Branch("Ntsphi", &ntsphi, "Ntsphi/I");
148  my_tree->Branch("swh", swh, "swh[Ntsphi]/I");
149  my_tree->Branch("sstat", sstat, "sstat[Ntsphi]/I");
150  my_tree->Branch("ssect", ssect, "ssect[Ntsphi]/I");
151  my_tree->Branch("sbx", sbx, "sbx[Ntsphi]/I");
152  my_tree->Branch("scod", scod, "scod[Ntsphi]/I");
153  my_tree->Branch("sphi", sphi, "sphi[Ntsphi]/I");
154  my_tree->Branch("sphib", sphib, "sphib[Ntsphi]/I");
155  my_tree->Branch("sposx", sposx, "sposx[Ntsphi]/F");
156  my_tree->Branch("sposy", sposy, "sposy[Ntsphi]/F");
157  my_tree->Branch("sposz", sposz, "sposz[Ntsphi]/F");
158  my_tree->Branch("sdirx", sdirx, "sdirx[Ntsphi]/F");
159  my_tree->Branch("sdiry", sdiry, "sdiry[Ntsphi]/F");
160  my_tree->Branch("sdirz", sdirz, "sdirz[Ntsphi]/F");
161  // TSTHETA block
162  my_tree->Branch("Ntstheta", &ntstheta, "Ntstheta/I");
163  my_tree->Branch("thwh", thwh, "thwh[Ntstheta]/I");
164  my_tree->Branch("thstat", thstat, "thstat[Ntstheta]/I");
165  my_tree->Branch("thsect", thsect, "thsect[Ntstheta]/I");
166  my_tree->Branch("thbx", thbx, "thbx[Ntstheta]/I");
167  my_tree->Branch("thcode", thcode, "thcode[Ntstheta][7]/I");
168  my_tree->Branch("thpos", thpos, "thpos[Ntstheta][7]/I");
169  my_tree->Branch("thqual", thqual, "thqual[Ntstheta][7]/I");
170  // SC PHI block
171  my_tree->Branch("Nscphi", &nscphi, "Nscphi/I");
172  my_tree->Branch("scphwh", scphwh, "scphwh[Nscphi]/I");
173  my_tree->Branch("scphstat", scphstat, "scphstat[Nscphi]/I");
174  my_tree->Branch("scphsect", scphsect, "scphsect[Nscphi]/I");
175  my_tree->Branch("scphbx", scphbx, "scphbx[Nscphi]/I");
176  my_tree->Branch("scphcod", scphcod, "scphcod[Nscphi]/I");
177  my_tree->Branch("scphphi", scphphi, "scphphi[Nscphi]/I");
178  my_tree->Branch("scphphib", scphphib, "scphphib[Nscphi]/I");
179  my_tree->Branch("scphposx", scphposx, "scphposx[Nscphi]/F");
180  my_tree->Branch("scphposy", scphposy, "scphposy[Nscphi]/F");
181  my_tree->Branch("scphposz", scphposz, "scphposz[Nscphi]/F");
182  my_tree->Branch("scphdirx", scphdirx, "scphdirx[Nscphi]/F");
183  my_tree->Branch("scphdiry", scphdiry, "scphdiry[Nscphi]/F");
184  my_tree->Branch("scphdirz", scphdirz, "scphdirz[Nscphi]/F");
185  // SC THETA block
186  my_tree->Branch("Nsctheta", &nsctheta, "Nsctheta/I");
187  my_tree->Branch("scthwh", scthwh, "scthwh[Nsctheta]/I");
188  my_tree->Branch("scthstat", scthstat, "scthstat[Nsctheta]/I");
189  my_tree->Branch("scthsect", scthsect, "scthsect[Nsctheta]/I");
190  my_tree->Branch("scthbx", scthbx, "scthbx[Nsctheta]/I");
191  my_tree->Branch("scthcode", scthcode, "scthcode[Nsctheta][7]/I");
192  my_tree->Branch("scthpos", scthpos, "scthpos[Nsctheta][7]/I");
193  my_tree->Branch("scthqual", scthqual, "scthqual[Nsctheta][7]/I");
194 }
float scphdirx[100]
Definition: DTTrigTest.h:163
int thpos[40][7]
Definition: DTTrigTest.h:148
int tstat[80]
Definition: DTTrigTest.h:111
int sbx[40]
Definition: DTTrigTest.h:130
int scphbx[40]
Definition: DTTrigTest.h:156
int scthsect[40]
Definition: DTTrigTest.h:171
float scphposz[100]
Definition: DTTrigTest.h:162
float etagen[10]
Definition: DTTrigTest.h:83
float tdirz[100]
Definition: DTTrigTest.h:123
int bstat[100]
Definition: DTTrigTest.h:93
int bsl[100]
Definition: DTTrigTest.h:95
int bnum[100]
Definition: DTTrigTest.h:96
int thstat[40]
Definition: DTTrigTest.h:144
int twh[80]
Definition: DTTrigTest.h:110
float vygen[10]
Definition: DTTrigTest.h:87
int scod[40]
Definition: DTTrigTest.h:131
float tdiry[100]
Definition: DTTrigTest.h:122
int scthbx[40]
Definition: DTTrigTest.h:172
int ssect[40]
Definition: DTTrigTest.h:129
int sphib[40]
Definition: DTTrigTest.h:133
float bdirz[100]
Definition: DTTrigTest.h:106
int tcod[80]
Definition: DTTrigTest.h:115
float vxgen[10]
Definition: DTTrigTest.h:86
int scthpos[40][7]
Definition: DTTrigTest.h:174
int scphphib[40]
Definition: DTTrigTest.h:159
float pxgen[10]
Definition: DTTrigTest.h:79
float scphdirz[100]
Definition: DTTrigTest.h:165
int scphcod[40]
Definition: DTTrigTest.h:157
float scphposx[100]
Definition: DTTrigTest.h:160
int bx[100]
Definition: DTTrigTest.h:100
float scphposy[100]
Definition: DTTrigTest.h:161
Definition: weight.py:1
int scphwh[40]
Definition: DTTrigTest.h:153
int bwh[100]
Definition: DTTrigTest.h:92
float sposx[100]
Definition: DTTrigTest.h:134
int sstat[40]
Definition: DTTrigTest.h:128
float ptgen[10]
Definition: DTTrigTest.h:82
int bcod[100]
Definition: DTTrigTest.h:98
int bsect[100]
Definition: DTTrigTest.h:94
float sposy[100]
Definition: DTTrigTest.h:135
int tnum[80]
Definition: DTTrigTest.h:113
int thbx[40]
Definition: DTTrigTest.h:146
float sposz[100]
Definition: DTTrigTest.h:136
float tposz[100]
Definition: DTTrigTest.h:120
int thwh[40]
Definition: DTTrigTest.h:143
int scphphi[40]
Definition: DTTrigTest.h:158
float scphdiry[100]
Definition: DTTrigTest.h:164
int scthwh[40]
Definition: DTTrigTest.h:169
int scthqual[40][7]
Definition: DTTrigTest.h:175
int tk[80]
Definition: DTTrigTest.h:116
int scphsect[40]
Definition: DTTrigTest.h:155
int swh[40]
Definition: DTTrigTest.h:127
TTree * my_tree
Definition: DTTrigTest.h:68
int tx[80]
Definition: DTTrigTest.h:117
int bbx[100]
Definition: DTTrigTest.h:97
float sdirz[100]
Definition: DTTrigTest.h:139
int nsctheta
Definition: DTTrigTest.h:168
int thcode[40][7]
Definition: DTTrigTest.h:147
int ntstheta
Definition: DTTrigTest.h:142
float bdirx[100]
Definition: DTTrigTest.h:104
float tdirx[100]
Definition: DTTrigTest.h:121
int scphstat[40]
Definition: DTTrigTest.h:154
float tposx[100]
Definition: DTTrigTest.h:118
float sdiry[100]
Definition: DTTrigTest.h:138
float pygen[10]
Definition: DTTrigTest.h:80
float bposx[100]
Definition: DTTrigTest.h:101
int tsect[80]
Definition: DTTrigTest.h:112
float phigen[10]
Definition: DTTrigTest.h:84
int scthstat[40]
Definition: DTTrigTest.h:170
int sphi[40]
Definition: DTTrigTest.h:132
float bdiry[100]
Definition: DTTrigTest.h:105
int thsect[40]
Definition: DTTrigTest.h:145
float sdirx[100]
Definition: DTTrigTest.h:137
int scthcode[40][7]
Definition: DTTrigTest.h:173
float pzgen[10]
Definition: DTTrigTest.h:81
int eventn
Definition: DTTrigTest.h:74
float bposz[100]
Definition: DTTrigTest.h:103
float tposy[100]
Definition: DTTrigTest.h:119
int chagen[10]
Definition: DTTrigTest.h:85
float bposy[100]
Definition: DTTrigTest.h:102
float vzgen[10]
Definition: DTTrigTest.h:88
int thqual[40][7]
Definition: DTTrigTest.h:149
int tbx[80]
Definition: DTTrigTest.h:114

◆ beginRun()

void DTTrigTest::beginRun ( const edm::Run iRun,
const edm::EventSetup iEventSetup 
)
override

Create DTTrig instance and TUs.

Definition at line 196 of file DTTrigTest.cc.

References gather_cfg::cout, DTTrig::createTUs(), my_debug, and my_trig.

196  {
197  my_trig->createTUs(iEventSetup);
198  if (my_debug)
199  cout << "[DTTrigTest] TU's Created" << endl;
200 }
void createTUs(const edm::EventSetup &iSetup)
Create the trigger units and store them in the cache.
Definition: DTTrig.cc:63
bool my_debug
Definition: DTTrigTest.h:62
DTTrig * my_trig
Definition: DTTrigTest.h:59

◆ endJob()

void DTTrigTest::endJob ( void  )
overridevirtual

Close Tree and write File.

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 72 of file DTTrigTest.cc.

References gather_cfg::cout, my_debug, my_rootfile, and my_tree.

72  {
73  if (my_debug)
74  cout << "[DTTrigTest] Writing Tree and Closing File" << endl;
75  my_tree->Write();
76  delete my_tree;
77  my_rootfile->Close();
78 }
TTree * my_tree
Definition: DTTrigTest.h:68
TFile * my_rootfile
Definition: DTTrigTest.h:70
bool my_debug
Definition: DTTrigTest.h:62

◆ endRun()

void DTTrigTest::endRun ( const edm::Run iRun,
const edm::EventSetup iEventSetup 
)
inlineoverride

Definition at line 49 of file DTTrigTest.h.

49 {}

Member Data Documentation

◆ bbx

int DTTrigTest::bbx[100]
private

Definition at line 97 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bcod

int DTTrigTest::bcod[100]
private

Definition at line 98 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdirx

float DTTrigTest::bdirx[100]
private

Definition at line 104 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdiry

float DTTrigTest::bdiry[100]
private

Definition at line 105 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdirz

float DTTrigTest::bdirz[100]
private

Definition at line 106 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bk

int DTTrigTest::bk[100]
private

Definition at line 99 of file DTTrigTest.h.

◆ bnum

int DTTrigTest::bnum[100]
private

Definition at line 96 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposx

float DTTrigTest::bposx[100]
private

Definition at line 101 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposy

float DTTrigTest::bposy[100]
private

Definition at line 102 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposz

float DTTrigTest::bposz[100]
private

Definition at line 103 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bsect

int DTTrigTest::bsect[100]
private

Definition at line 94 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bsl

int DTTrigTest::bsl[100]
private

Definition at line 95 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bstat

int DTTrigTest::bstat[100]
private

Definition at line 93 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bwh

int DTTrigTest::bwh[100]
private

Definition at line 92 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bx

int DTTrigTest::bx[100]
private

Definition at line 100 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ chagen

int DTTrigTest::chagen[10]
private

Definition at line 85 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ etagen

float DTTrigTest::etagen[10]
private

Definition at line 83 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ eventn

int DTTrigTest::eventn
private

Definition at line 74 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ my_debug

bool DTTrigTest::my_debug
private

Definition at line 62 of file DTTrigTest.h.

Referenced by analyze(), beginRun(), DTTrigTest(), endJob(), and ~DTTrigTest().

◆ my_params

edm::ParameterSet DTTrigTest::my_params
private

Definition at line 65 of file DTTrigTest.h.

Referenced by DTTrigTest().

◆ my_rootfile

TFile* DTTrigTest::my_rootfile
private

Definition at line 70 of file DTTrigTest.h.

Referenced by DTTrigTest(), endJob(), and ~DTTrigTest().

◆ my_tree

TTree* DTTrigTest::my_tree
private

Definition at line 68 of file DTTrigTest.h.

Referenced by analyze(), beginJob(), DTTrigTest(), and endJob().

◆ my_trig

DTTrig* DTTrigTest::my_trig
private

Definition at line 59 of file DTTrigTest.h.

Referenced by analyze(), beginRun(), DTTrigTest(), and ~DTTrigTest().

◆ my_TtoTDC

const double DTTrigTest::my_TtoTDC = 32. / 25.
staticprivate

Definition at line 56 of file DTTrigTest.h.

◆ nbti

int DTTrigTest::nbti
private

Definition at line 91 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ngen

int DTTrigTest::ngen
private

Definition at line 78 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ nscphi

int DTTrigTest::nscphi
private

Definition at line 152 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ nsctheta

int DTTrigTest::nsctheta
private

Definition at line 168 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntraco

int DTTrigTest::ntraco
private

Definition at line 109 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntsphi

int DTTrigTest::ntsphi
private

Definition at line 126 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntstheta

int DTTrigTest::ntstheta
private

Definition at line 142 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ phigen

float DTTrigTest::phigen[10]
private

Definition at line 84 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ptgen

float DTTrigTest::ptgen[10]
private

Definition at line 82 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pxgen

float DTTrigTest::pxgen[10]
private

Definition at line 79 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pygen

float DTTrigTest::pygen[10]
private

Definition at line 80 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pzgen

float DTTrigTest::pzgen[10]
private

Definition at line 81 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ runn

int DTTrigTest::runn
private

Definition at line 73 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sbx

int DTTrigTest::sbx[40]
private

Definition at line 130 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scod

int DTTrigTest::scod[40]
private

Definition at line 131 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphbx

int DTTrigTest::scphbx[40]
private

Definition at line 156 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphcod

int DTTrigTest::scphcod[40]
private

Definition at line 157 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdirx

float DTTrigTest::scphdirx[100]
private

Definition at line 163 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdiry

float DTTrigTest::scphdiry[100]
private

Definition at line 164 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdirz

float DTTrigTest::scphdirz[100]
private

Definition at line 165 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphphi

int DTTrigTest::scphphi[40]
private

Definition at line 158 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphphib

int DTTrigTest::scphphib[40]
private

Definition at line 159 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposx

float DTTrigTest::scphposx[100]
private

Definition at line 160 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposy

float DTTrigTest::scphposy[100]
private

Definition at line 161 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposz

float DTTrigTest::scphposz[100]
private

Definition at line 162 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphsect

int DTTrigTest::scphsect[40]
private

Definition at line 155 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphstat

int DTTrigTest::scphstat[40]
private

Definition at line 154 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphwh

int DTTrigTest::scphwh[40]
private

Definition at line 153 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthbx

int DTTrigTest::scthbx[40]
private

Definition at line 172 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthcode

int DTTrigTest::scthcode[40][7]
private

Definition at line 173 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthpos

int DTTrigTest::scthpos[40][7]
private

Definition at line 174 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthqual

int DTTrigTest::scthqual[40][7]
private

Definition at line 175 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthsect

int DTTrigTest::scthsect[40]
private

Definition at line 171 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthstat

int DTTrigTest::scthstat[40]
private

Definition at line 170 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthwh

int DTTrigTest::scthwh[40]
private

Definition at line 169 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdirx

float DTTrigTest::sdirx[100]
private

Definition at line 137 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdiry

float DTTrigTest::sdiry[100]
private

Definition at line 138 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdirz

float DTTrigTest::sdirz[100]
private

Definition at line 139 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sphi

int DTTrigTest::sphi[40]
private

Definition at line 132 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sphib

int DTTrigTest::sphib[40]
private

Definition at line 133 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposx

float DTTrigTest::sposx[100]
private

Definition at line 134 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposy

float DTTrigTest::sposy[100]
private

Definition at line 135 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposz

float DTTrigTest::sposz[100]
private

Definition at line 136 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ssect

int DTTrigTest::ssect[40]
private

Definition at line 129 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sstat

int DTTrigTest::sstat[40]
private

Definition at line 128 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ swh

int DTTrigTest::swh[40]
private

Definition at line 127 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tbx

int DTTrigTest::tbx[80]
private

Definition at line 114 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tcod

int DTTrigTest::tcod[80]
private

Definition at line 115 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdirx

float DTTrigTest::tdirx[100]
private

Definition at line 121 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdiry

float DTTrigTest::tdiry[100]
private

Definition at line 122 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdirz

float DTTrigTest::tdirz[100]
private

Definition at line 123 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thbx

int DTTrigTest::thbx[40]
private

Definition at line 146 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thcode

int DTTrigTest::thcode[40][7]
private

Definition at line 147 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thpos

int DTTrigTest::thpos[40][7]
private

Definition at line 148 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thqual

int DTTrigTest::thqual[40][7]
private

Definition at line 149 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thsect

int DTTrigTest::thsect[40]
private

Definition at line 145 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thstat

int DTTrigTest::thstat[40]
private

Definition at line 144 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thwh

int DTTrigTest::thwh[40]
private

Definition at line 143 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tk

int DTTrigTest::tk[80]
private

Definition at line 116 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tnum

int DTTrigTest::tnum[80]
private

Definition at line 113 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposx

float DTTrigTest::tposx[100]
private

Definition at line 118 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposy

float DTTrigTest::tposy[100]
private

Definition at line 119 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposz

float DTTrigTest::tposz[100]
private

Definition at line 120 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tsect

int DTTrigTest::tsect[80]
private

Definition at line 112 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tstat

int DTTrigTest::tstat[80]
private

Definition at line 111 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ twh

int DTTrigTest::twh[80]
private

Definition at line 110 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tx

int DTTrigTest::tx[80]
private

Definition at line 117 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vxgen

float DTTrigTest::vxgen[10]
private

Definition at line 86 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vygen

float DTTrigTest::vygen[10]
private

Definition at line 87 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vzgen

float DTTrigTest::vzgen[10]
private

Definition at line 88 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ weight

float DTTrigTest::weight
private