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::EDAnalyzer 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...
 
 ~DTTrigTest () override
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > 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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (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
 
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::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 wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 

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.

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 }

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

◆ ~DTTrigTest()

DTTrigTest::~DTTrigTest ( )
override

Destructor.

Definition at line 64 of file DTTrigTest.cc.

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 }

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

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::EDAnalyzer.

Definition at line 204 of file DTTrigTest.cc.

204  {
205  const int MAXGEN = 10;
206  const float ptcut = 1.0;
207  const float etacut = 2.4;
208  my_trig->triggerReco(iEvent, iEventSetup);
209  if (my_debug)
210  cout << "[DTTrigTest] Trigger algorithm executed for run " << iEvent.id().run() << " event " << iEvent.id().event()
211  << endl;
212 
213  // GENERAL Block
214  runn = iEvent.id().run();
215  eventn = iEvent.id().event();
216  weight = 1; // FIXME what to do with this varable?
217 
218  // GEANT Block
219  Handle<vector<SimTrack> > MyTracks;
220  Handle<vector<SimVertex> > MyVertexes;
221  iEvent.getByLabel("g4SimHits", MyTracks);
222  iEvent.getByLabel("g4SimHits", MyVertexes);
223  vector<SimTrack>::const_iterator itrack;
224  ngen = 0;
225  if (my_debug)
226  cout << "[DTTrigTest] Tracks found in the detector (not only muons) " << MyTracks->size() << endl;
227 
228  for (itrack = MyTracks->begin(); itrack != MyTracks->end(); itrack++) {
229  if (abs(itrack->type()) == 13) {
230  math::XYZTLorentzVectorD momentum = itrack->momentum();
231  float pt = momentum.Pt();
232  float eta = momentum.eta();
233  if (pt > ptcut && fabs(eta) < etacut) {
234  float phi = momentum.phi();
235  int charge = static_cast<int>(-itrack->type() / 13); //static_cast<int> (itrack->charge());
236  if (phi < 0)
237  phi = 2 * M_PI + phi;
238  int vtxindex = itrack->vertIndex();
239  float gvx = 0, gvy = 0, gvz = 0;
240  if (vtxindex > -1) {
241  gvx = MyVertexes->at(vtxindex).position().x();
242  gvy = MyVertexes->at(vtxindex).position().y();
243  gvz = MyVertexes->at(vtxindex).position().z();
244  }
245  if (ngen < MAXGEN) {
246  pxgen[ngen] = momentum.x();
247  pygen[ngen] = momentum.y();
248  pzgen[ngen] = momentum.z();
249  ptgen[ngen] = pt;
250  etagen[ngen] = eta;
251  phigen[ngen] = phi;
252  chagen[ngen] = charge;
253  vxgen[ngen] = gvx;
254  vygen[ngen] = gvy;
255  vzgen[ngen] = gvz;
256  ngen++;
257  }
258  }
259  }
260  }
261 
262  // L1 Local Trigger Block
263  // BTI
264  vector<DTBtiTrigData> btitrigs = my_trig->BtiTrigs();
265  vector<DTBtiTrigData>::const_iterator pbti;
266  int ibti = 0;
267  if (my_debug)
268  cout << "[DTTrigTest] " << btitrigs.size() << " BTI triggers found" << endl;
269 
270  for (pbti = btitrigs.begin(); pbti != btitrigs.end(); pbti++) {
271  if (ibti < 100) {
272  bwh[ibti] = pbti->wheel();
273  bstat[ibti] = pbti->station();
274  bsect[ibti] = pbti->sector();
275  bsl[ibti] = pbti->btiSL();
276  bnum[ibti] = pbti->btiNumber();
277  bbx[ibti] = pbti->step();
278  bcod[ibti] = pbti->code();
279  bk[ibti] = pbti->K();
280  bx[ibti] = pbti->X();
281  GlobalPoint pos = my_trig->CMSPosition(&(*pbti));
282  GlobalVector dir = my_trig->CMSDirection(&(*pbti));
283  bposx[ibti] = pos.x();
284  bposy[ibti] = pos.y();
285  bposz[ibti] = pos.z();
286  bdirx[ibti] = dir.x();
287  bdiry[ibti] = dir.y();
288  bdirz[ibti] = dir.z();
289  ibti++;
290  }
291  }
292  nbti = ibti;
293 
294  //TRACO
295  vector<DTTracoTrigData> tracotrigs = my_trig->TracoTrigs();
296  vector<DTTracoTrigData>::const_iterator ptc;
297  int itraco = 0;
298  if (my_debug)
299  cout << "[DTTrigTest] " << tracotrigs.size() << " TRACO triggers found" << endl;
300 
301  for (ptc = tracotrigs.begin(); ptc != tracotrigs.end(); ptc++) {
302  if (itraco < 80) {
303  twh[itraco] = ptc->wheel();
304  tstat[itraco] = ptc->station();
305  tsect[itraco] = ptc->sector();
306  tnum[itraco] = ptc->tracoNumber();
307  tbx[itraco] = ptc->step();
308  tcod[itraco] = ptc->code();
309  tk[itraco] = ptc->K();
310  tx[itraco] = ptc->X();
311  GlobalPoint pos = my_trig->CMSPosition(&(*ptc));
312  GlobalVector dir = my_trig->CMSDirection(&(*ptc));
313  tposx[itraco] = pos.x();
314  tposy[itraco] = pos.y();
315  tposz[itraco] = pos.z();
316  tdirx[itraco] = dir.x();
317  tdiry[itraco] = dir.y();
318  tdirz[itraco] = dir.z();
319  itraco++;
320  }
321  }
322  ntraco = itraco;
323 
324  //TSPHI
325  vector<DTChambPhSegm> tsphtrigs = my_trig->TSPhTrigs();
326  vector<DTChambPhSegm>::const_iterator ptsph;
327  int itsphi = 0;
328  if (my_debug)
329  cout << "[DTTrigTest] " << tsphtrigs.size() << " TSPhi triggers found" << endl;
330 
331  for (ptsph = tsphtrigs.begin(); ptsph != tsphtrigs.end(); ptsph++) {
332  if (itsphi < 40) {
333  swh[itsphi] = ptsph->wheel();
334  sstat[itsphi] = ptsph->station();
335  ssect[itsphi] = ptsph->sector();
336  sbx[itsphi] = ptsph->step();
337  scod[itsphi] = ptsph->oldCode();
338  sphi[itsphi] = ptsph->phi();
339  sphib[itsphi] = ptsph->phiB();
340  GlobalPoint pos = my_trig->CMSPosition(&(*ptsph));
341  GlobalVector dir = my_trig->CMSDirection(&(*ptsph));
342  sposx[itsphi] = pos.x();
343  sposy[itsphi] = pos.y();
344  sposz[itsphi] = pos.z();
345  sdirx[itsphi] = dir.x();
346  sdiry[itsphi] = dir.y();
347  sdirz[itsphi] = dir.z();
348  itsphi++;
349  }
350  }
351  ntsphi = itsphi;
352 
353  //TSTHETA
354  vector<DTChambThSegm> tsthtrigs = my_trig->TSThTrigs();
355  vector<DTChambThSegm>::const_iterator ptsth;
356  int itstheta = 0;
357  if (my_debug)
358  cout << "[DTTrigTest] " << tsthtrigs.size() << " TSTheta triggers found" << endl;
359 
360  for (ptsth = tsthtrigs.begin(); ptsth != tsthtrigs.end(); ptsth++) {
361  if (itstheta < 40) {
362  thwh[itstheta] = ptsth->ChamberId().wheel();
363  thstat[itstheta] = ptsth->ChamberId().station();
364  thsect[itstheta] = ptsth->ChamberId().sector();
365  thbx[itstheta] = ptsth->step();
366  for (int i = 0; i < 7; i++) {
367  thcode[itstheta][i] = ptsth->code(i);
368  thpos[itstheta][i] = ptsth->position(i);
369  thqual[itstheta][i] = ptsth->quality(i);
370  }
371  itstheta++;
372  }
373  }
374  ntstheta = itstheta;
375 
376  //SCPHI
377  vector<DTSectCollPhSegm> scphtrigs = my_trig->SCPhTrigs();
378  vector<DTSectCollPhSegm>::const_iterator pscph;
379  int iscphi = 0;
380  if (my_debug)
381  cout << "[DTTrigTest] " << scphtrigs.size() << " SectCollPhi triggers found" << endl;
382 
383  for (pscph = scphtrigs.begin(); pscph != scphtrigs.end(); pscph++) {
384  if (iscphi < 40) {
385  const DTChambPhSegm* seg = (*pscph).tsPhiTrig();
386  scphwh[iscphi] = pscph->wheel();
387  scphstat[iscphi] = pscph->station();
388  scphsect[iscphi] = pscph->sector();
389  scphbx[iscphi] = pscph->step();
390  scphcod[iscphi] = pscph->oldCode();
391  scphphi[iscphi] = pscph->phi();
392  scphphib[iscphi] = pscph->phiB();
395  scphposx[iscphi] = pos.x();
396  scphposy[iscphi] = pos.y();
397  scphposz[iscphi] = pos.z();
398  scphdirx[iscphi] = dir.x();
399  scphdiry[iscphi] = dir.y();
400  scphdirz[iscphi] = dir.z();
401  iscphi++;
402  }
403  }
404  nscphi = iscphi;
405 
406  //SCTHETA
407  vector<DTSectCollThSegm> scthtrigs = my_trig->SCThTrigs();
408  vector<DTSectCollThSegm>::const_iterator pscth;
409  int isctheta = 0;
410  if (my_debug)
411  cout << "[DTTrigTest] " << scthtrigs.size() << " SectCollTheta triggers found" << endl;
412 
413  for (pscth = scthtrigs.begin(); pscth != scthtrigs.end(); pscth++) {
414  if (isctheta < 40) {
415  scthwh[isctheta] = pscth->ChamberId().wheel();
416  scthstat[isctheta] = pscth->ChamberId().station();
417  scthsect[isctheta] = pscth->ChamberId().sector();
418  scthbx[isctheta] = pscth->step();
419  for (int i = 0; i < 7; i++) {
420  scthcode[isctheta][i] = pscth->code(i);
421  scthpos[isctheta][i] = pscth->position(i);
422  scthqual[isctheta][i] = pscth->quality(i);
423  }
424  isctheta++;
425  }
426  }
427  nsctheta = isctheta;
428 
429  //Fill the tree
430  my_tree->Fill();
431 }

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, 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.

◆ beginJob()

void DTTrigTest::beginJob ( void  )
overridevirtual

Create tree and Branches.

Reimplemented from edm::EDAnalyzer.

Definition at line 81 of file DTTrigTest.cc.

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 }

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.

◆ beginRun()

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

Create DTTrig instance and TUs.

Reimplemented from edm::EDAnalyzer.

Definition at line 196 of file DTTrigTest.cc.

196  {
197  if (!my_trig) {
198  my_trig->createTUs(iEventSetup);
199  if (my_debug)
200  cout << "[DTTrigTest] TU's Created" << endl;
201  }
202 }

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

◆ endJob()

void DTTrigTest::endJob ( void  )
overridevirtual

Close Tree and write File.

Reimplemented from edm::EDAnalyzer.

Definition at line 72 of file DTTrigTest.cc.

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 }

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

Member Data Documentation

◆ bbx

int DTTrigTest::bbx[100]
private

Definition at line 96 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bcod

int DTTrigTest::bcod[100]
private

Definition at line 97 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdirx

float DTTrigTest::bdirx[100]
private

Definition at line 103 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdiry

float DTTrigTest::bdiry[100]
private

Definition at line 104 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bdirz

float DTTrigTest::bdirz[100]
private

Definition at line 105 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bk

int DTTrigTest::bk[100]
private

Definition at line 98 of file DTTrigTest.h.

◆ bnum

int DTTrigTest::bnum[100]
private

Definition at line 95 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposx

float DTTrigTest::bposx[100]
private

Definition at line 100 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposy

float DTTrigTest::bposy[100]
private

Definition at line 101 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bposz

float DTTrigTest::bposz[100]
private

Definition at line 102 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bsect

int DTTrigTest::bsect[100]
private

Definition at line 93 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bsl

int DTTrigTest::bsl[100]
private

Definition at line 94 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bstat

int DTTrigTest::bstat[100]
private

Definition at line 92 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bwh

int DTTrigTest::bwh[100]
private

Definition at line 91 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ bx

int DTTrigTest::bx[100]
private

Definition at line 99 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ chagen

int DTTrigTest::chagen[10]
private

Definition at line 84 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ etagen

float DTTrigTest::etagen[10]
private

Definition at line 82 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ eventn

int DTTrigTest::eventn
private

Definition at line 73 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ my_debug

bool DTTrigTest::my_debug
private

Definition at line 61 of file DTTrigTest.h.

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

◆ my_params

edm::ParameterSet DTTrigTest::my_params
private

Definition at line 64 of file DTTrigTest.h.

Referenced by DTTrigTest().

◆ my_rootfile

TFile* DTTrigTest::my_rootfile
private

Definition at line 69 of file DTTrigTest.h.

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

◆ my_tree

TTree* DTTrigTest::my_tree
private

Definition at line 67 of file DTTrigTest.h.

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

◆ my_trig

DTTrig* DTTrigTest::my_trig
private

Definition at line 58 of file DTTrigTest.h.

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

◆ my_TtoTDC

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

Definition at line 55 of file DTTrigTest.h.

◆ nbti

int DTTrigTest::nbti
private

Definition at line 90 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ngen

int DTTrigTest::ngen
private

Definition at line 77 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ nscphi

int DTTrigTest::nscphi
private

Definition at line 151 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ nsctheta

int DTTrigTest::nsctheta
private

Definition at line 167 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntraco

int DTTrigTest::ntraco
private

Definition at line 108 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntsphi

int DTTrigTest::ntsphi
private

Definition at line 125 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ntstheta

int DTTrigTest::ntstheta
private

Definition at line 141 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ phigen

float DTTrigTest::phigen[10]
private

Definition at line 83 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ptgen

float DTTrigTest::ptgen[10]
private

Definition at line 81 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pxgen

float DTTrigTest::pxgen[10]
private

Definition at line 78 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pygen

float DTTrigTest::pygen[10]
private

Definition at line 79 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ pzgen

float DTTrigTest::pzgen[10]
private

Definition at line 80 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ runn

int DTTrigTest::runn
private

Definition at line 72 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sbx

int DTTrigTest::sbx[40]
private

Definition at line 129 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scod

int DTTrigTest::scod[40]
private

Definition at line 130 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphbx

int DTTrigTest::scphbx[40]
private

Definition at line 155 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphcod

int DTTrigTest::scphcod[40]
private

Definition at line 156 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdirx

float DTTrigTest::scphdirx[100]
private

Definition at line 162 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdiry

float DTTrigTest::scphdiry[100]
private

Definition at line 163 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphdirz

float DTTrigTest::scphdirz[100]
private

Definition at line 164 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphphi

int DTTrigTest::scphphi[40]
private

Definition at line 157 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphphib

int DTTrigTest::scphphib[40]
private

Definition at line 158 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposx

float DTTrigTest::scphposx[100]
private

Definition at line 159 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposy

float DTTrigTest::scphposy[100]
private

Definition at line 160 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphposz

float DTTrigTest::scphposz[100]
private

Definition at line 161 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphsect

int DTTrigTest::scphsect[40]
private

Definition at line 154 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphstat

int DTTrigTest::scphstat[40]
private

Definition at line 153 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scphwh

int DTTrigTest::scphwh[40]
private

Definition at line 152 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthbx

int DTTrigTest::scthbx[40]
private

Definition at line 171 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthcode

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

Definition at line 172 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthpos

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

Definition at line 173 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthqual

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

Definition at line 174 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthsect

int DTTrigTest::scthsect[40]
private

Definition at line 170 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthstat

int DTTrigTest::scthstat[40]
private

Definition at line 169 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ scthwh

int DTTrigTest::scthwh[40]
private

Definition at line 168 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdirx

float DTTrigTest::sdirx[100]
private

Definition at line 136 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdiry

float DTTrigTest::sdiry[100]
private

Definition at line 137 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sdirz

float DTTrigTest::sdirz[100]
private

Definition at line 138 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sphi

int DTTrigTest::sphi[40]
private

Definition at line 131 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sphib

int DTTrigTest::sphib[40]
private

Definition at line 132 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposx

float DTTrigTest::sposx[100]
private

Definition at line 133 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposy

float DTTrigTest::sposy[100]
private

Definition at line 134 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sposz

float DTTrigTest::sposz[100]
private

Definition at line 135 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ ssect

int DTTrigTest::ssect[40]
private

Definition at line 128 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ sstat

int DTTrigTest::sstat[40]
private

Definition at line 127 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ swh

int DTTrigTest::swh[40]
private

Definition at line 126 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tbx

int DTTrigTest::tbx[80]
private

Definition at line 113 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tcod

int DTTrigTest::tcod[80]
private

Definition at line 114 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdirx

float DTTrigTest::tdirx[100]
private

Definition at line 120 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdiry

float DTTrigTest::tdiry[100]
private

Definition at line 121 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tdirz

float DTTrigTest::tdirz[100]
private

Definition at line 122 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thbx

int DTTrigTest::thbx[40]
private

Definition at line 145 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thcode

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

Definition at line 146 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thpos

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

Definition at line 147 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thqual

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

Definition at line 148 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thsect

int DTTrigTest::thsect[40]
private

Definition at line 144 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thstat

int DTTrigTest::thstat[40]
private

Definition at line 143 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ thwh

int DTTrigTest::thwh[40]
private

Definition at line 142 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tk

int DTTrigTest::tk[80]
private

Definition at line 115 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tnum

int DTTrigTest::tnum[80]
private

Definition at line 112 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposx

float DTTrigTest::tposx[100]
private

Definition at line 117 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposy

float DTTrigTest::tposy[100]
private

Definition at line 118 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tposz

float DTTrigTest::tposz[100]
private

Definition at line 119 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tsect

int DTTrigTest::tsect[80]
private

Definition at line 111 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tstat

int DTTrigTest::tstat[80]
private

Definition at line 110 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ twh

int DTTrigTest::twh[80]
private

Definition at line 109 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ tx

int DTTrigTest::tx[80]
private

Definition at line 116 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vxgen

float DTTrigTest::vxgen[10]
private

Definition at line 85 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vygen

float DTTrigTest::vygen[10]
private

Definition at line 86 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ vzgen

float DTTrigTest::vzgen[10]
private

Definition at line 87 of file DTTrigTest.h.

Referenced by analyze(), and beginJob().

◆ weight

float DTTrigTest::weight
private
Vector3DBase
Definition: Vector3DBase.h:8
DTTrigTest::scthsect
int scthsect[40]
Definition: DTTrigTest.h:170
DTTrigTest::tcod
int tcod[80]
Definition: DTTrigTest.h:114
DTTrigTest::tbx
int tbx[80]
Definition: DTTrigTest.h:113
writedatasetfile.outputfile
outputfile
Definition: writedatasetfile.py:27
DTTrig::TSThTrigs
std::vector< DTChambThSegm > TSThTrigs() const
Return a copy of all the Trigger Server (Theta) triggers.
Definition: DTTrig.cc:453
mps_fire.i
i
Definition: mps_fire.py:428
DTTrigTest::tposy
float tposy[100]
Definition: DTTrigTest.h:118
DTTrigTest::sposx
float sposx[100]
Definition: DTTrigTest.h:133
DTTrigTest::scphphib
int scphphib[40]
Definition: DTTrigTest.h:158
DTTrigTest::swh
int swh[40]
Definition: DTTrigTest.h:126
DTTrigTest::tdiry
float tdiry[100]
Definition: DTTrigTest.h:121
DTTrigTest::scphwh
int scphwh[40]
Definition: DTTrigTest.h:152
DTTrigTest::thqual
int thqual[40][7]
Definition: DTTrigTest.h:148
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
DTTrigTest::bnum
int bnum[100]
Definition: DTTrigTest.h:95
DTTrigTest::thstat
int thstat[40]
Definition: DTTrigTest.h:143
DTTrigTest::scphposz
float scphposz[100]
Definition: DTTrigTest.h:161
DTTrigTest::my_params
edm::ParameterSet my_params
Definition: DTTrigTest.h:64
DTTrigTest::scphdirz
float scphdirz[100]
Definition: DTTrigTest.h:164
DTTrigTest::runn
int runn
Definition: DTTrigTest.h:72
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
gather_cfg.cout
cout
Definition: gather_cfg.py:144
pos
Definition: PixelAliasList.h:18
DTTrigTest::sdirx
float sdirx[100]
Definition: DTTrigTest.h:136
DTTrigTest::bstat
int bstat[100]
Definition: DTTrigTest.h:92
DTTrigTest::scod
int scod[40]
Definition: DTTrigTest.h:130
DTTrigTest::vzgen
float vzgen[10]
Definition: DTTrigTest.h:87
DTTrigTest::scphposx
float scphposx[100]
Definition: DTTrigTest.h:159
DTTrigTest::nscphi
int nscphi
Definition: DTTrigTest.h:151
DTTrigTest::thwh
int thwh[40]
Definition: DTTrigTest.h:142
DTTrigTest::bwh
int bwh[100]
Definition: DTTrigTest.h:91
DTTrigTest::ngen
int ngen
Definition: DTTrigTest.h:77
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:46
DTTrig::SCPhTrigs
std::vector< DTSectCollPhSegm > SCPhTrigs() const
Return a copy of all the Sector Collector (Phi) triggers.
Definition: DTTrig.cc:466
bk
Definition: Breakpoints.cc:13
DTTrig::BtiTrigs
std::vector< DTBtiTrigData > BtiTrigs() const
Return a copy of all the BTI triggers.
Definition: DTTrig.cc:414
DTTrigTest::tnum
int tnum[80]
Definition: DTTrigTest.h:112
DTTrigTest::tposz
float tposz[100]
Definition: DTTrigTest.h:119
DTTrigTest::sstat
int sstat[40]
Definition: DTTrigTest.h:127
DTTrigTest::scphsect
int scphsect[40]
Definition: DTTrigTest.h:154
DTTrig::TracoTrigs
std::vector< DTTracoTrigData > TracoTrigs() const
Return a copy of all the TRACO triggers.
Definition: DTTrig.cc:427
edm::Handle
Definition: AssociativeIterator.h:50
DTTrigTest::my_rootfile
TFile * my_rootfile
Definition: DTTrigTest.h:69
DTTrigTest::sbx
int sbx[40]
Definition: DTTrigTest.h:129
DTTrigTest::etagen
float etagen[10]
Definition: DTTrigTest.h:82
DTTrigTest::nbti
int nbti
Definition: DTTrigTest.h:90
DTTrigTest::sphi
int sphi[40]
Definition: DTTrigTest.h:131
DTTrig::triggerReco
void triggerReco(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Run the whole trigger reconstruction chain.
Definition: DTTrig.cc:132
DTTrigTest::sposz
float sposz[100]
Definition: DTTrigTest.h:135
DTTrig::TSPhTrigs
std::vector< DTChambPhSegm > TSPhTrigs() const
Return a copy of all the Trigger Server (Phi) triggers.
Definition: DTTrig.cc:440
DTTrigTest::twh
int twh[80]
Definition: DTTrigTest.h:109
DTTrigTest::tdirx
float tdirx[100]
Definition: DTTrigTest.h:120
DTTrigTest::sphib
int sphib[40]
Definition: DTTrigTest.h:132
DTTrigTest::bsect
int bsect[100]
Definition: DTTrigTest.h:93
PVValHelper::eta
Definition: PVValidationHelpers.h:69
DTTrigTest::pzgen
float pzgen[10]
Definition: DTTrigTest.h:80
DTTrigTest::scphstat
int scphstat[40]
Definition: DTTrigTest.h:153
DTTrigTest::pxgen
float pxgen[10]
Definition: DTTrigTest.h:78
DTTrigTest::scphphi
int scphphi[40]
Definition: DTTrigTest.h:157
DTTrigTest::chagen
int chagen[10]
Definition: DTTrigTest.h:84
DTTrigTest::tdirz
float tdirz[100]
Definition: DTTrigTest.h:122
DTTrigTest::scphposy
float scphposy[100]
Definition: DTTrigTest.h:160
DTTrigTest::my_tree
TTree * my_tree
Definition: DTTrigTest.h:67
DTTrigTest::vygen
float vygen[10]
Definition: DTTrigTest.h:86
Point3DBase< float, GlobalTag >
DTTrig::CMSPosition
GlobalPoint CMSPosition(const DTTrigData *trig) const
Coordinate of a trigger-data object in CMS frame.
Definition: DTTrig.h:229
DTTrigTest::ssect
int ssect[40]
Definition: DTTrigTest.h:128
submitPVValidationJobs.ptcut
list ptcut
Definition: submitPVValidationJobs.py:682
DTTrigTest::tx
int tx[80]
Definition: DTTrigTest.h:116
DTTrigTest::tk
int tk[80]
Definition: DTTrigTest.h:115
DTTrigTest::scphbx
int scphbx[40]
Definition: DTTrigTest.h:155
DTTrigTest::sposy
float sposy[100]
Definition: DTTrigTest.h:134
DTTrigTest::ptgen
float ptgen[10]
Definition: DTTrigTest.h:81
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
DTTrigTest::scthstat
int scthstat[40]
Definition: DTTrigTest.h:169
DTTrigTest::nsctheta
int nsctheta
Definition: DTTrigTest.h:167
DTTrigTest::vxgen
float vxgen[10]
Definition: DTTrigTest.h:85
DTTrigTest::my_debug
bool my_debug
Definition: DTTrigTest.h:61
MAXGEN
const int MAXGEN
Definition: L1PromptAnalysis.h:49
DTTrigTest::thcode
int thcode[40][7]
Definition: DTTrigTest.h:146
DTTrigTest::bdirz
float bdirz[100]
Definition: DTTrigTest.h:105
iEvent
int iEvent
Definition: GenABIO.cc:224
DTTrigTest::thbx
int thbx[40]
Definition: DTTrigTest.h:145
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
DTTrigTest::sdiry
float sdiry[100]
Definition: DTTrigTest.h:137
DTTrig::SCThTrigs
std::vector< DTSectCollThSegm > SCThTrigs() const
Return a copy of all the Sector Collector (Theta) triggers.
Definition: DTTrig.cc:489
DTTrigTest::phigen
float phigen[10]
Definition: DTTrigTest.h:83
DTTrigTest::bdiry
float bdiry[100]
Definition: DTTrigTest.h:104
DTTrigTest::sdirz
float sdirz[100]
Definition: DTTrigTest.h:138
DTTrigTest::my_trig
DTTrig * my_trig
Definition: DTTrigTest.h:58
DTTrigTest::bcod
int bcod[100]
Definition: DTTrigTest.h:97
DDAxes::phi
DTTrigTest::bbx
int bbx[100]
Definition: DTTrigTest.h:96
DTTrigTest::ntsphi
int ntsphi
Definition: DTTrigTest.h:125
DTTrigTest::scphdiry
float scphdiry[100]
Definition: DTTrigTest.h:163
DTTrigTest::bdirx
float bdirx[100]
Definition: DTTrigTest.h:103
DTTrigTest::eventn
int eventn
Definition: DTTrigTest.h:73
DTTrigTest::pygen
float pygen[10]
Definition: DTTrigTest.h:79
DTTrig::createTUs
void createTUs(const edm::EventSetup &iSetup)
Create the trigger units and store them in the cache.
Definition: DTTrig.cc:63
DTTrigTest::bsl
int bsl[100]
Definition: DTTrigTest.h:94
DTTrigTest::tsect
int tsect[80]
Definition: DTTrigTest.h:111
DTTrigTest::scphdirx
float scphdirx[100]
Definition: DTTrigTest.h:162
DTTrig
Definition: DTTrig.h:59
DTTrigTest::bposy
float bposy[100]
Definition: DTTrigTest.h:101
DTTrigTest::scthbx
int scthbx[40]
Definition: DTTrigTest.h:171
DTTrigTest::thpos
int thpos[40][7]
Definition: DTTrigTest.h:147
DTChambPhSegm
Definition: DTChambPhSegm.h:41
DTTrigTest::thsect
int thsect[40]
Definition: DTTrigTest.h:144
DTTrigTest::tposx
float tposx[100]
Definition: DTTrigTest.h:117
DTTrigTest::scthqual
int scthqual[40][7]
Definition: DTTrigTest.h:174
DTTrigTest::bposx
float bposx[100]
Definition: DTTrigTest.h:100
DTTrigTest::bx
int bx[100]
Definition: DTTrigTest.h:99
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
DTTrig::CMSDirection
GlobalVector CMSDirection(const DTTrigData *trig) const
Direction of a trigger-data object in CMS frame.
Definition: DTTrig.h:237
DTTrigTest::ntstheta
int ntstheta
Definition: DTTrigTest.h:141
DTTrigTest::scthpos
int scthpos[40][7]
Definition: DTTrigTest.h:173
DTTrigTest::ntraco
int ntraco
Definition: DTTrigTest.h:108
DTTrigTest::bposz
float bposz[100]
Definition: DTTrigTest.h:102
DTTrigTest::scthwh
int scthwh[40]
Definition: DTTrigTest.h:168
DTTrigTest::scphcod
int scphcod[40]
Definition: DTTrigTest.h:156
weight
Definition: weight.py:1
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
DTTrigTest::scthcode
int scthcode[40][7]
Definition: DTTrigTest.h:172
DTTrigTest::tstat
int tstat[80]
Definition: DTTrigTest.h:110