CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TreePerStub Struct Reference

#include <CSCTriggerPrimitivesReader.h>

Public Member Functions

TTree * bookTree (TTree *t, const std::string &name="TreePerStub")
 
void init (int run, int event)
 

Public Attributes

Int_t t_chamber
 
Int_t t_chambertype
 
Int_t t_endcap
 
Int_t t_Event
 
Int_t t_EventNumberAnalyzed
 
Int_t t_nStubs
 
Int_t t_nStubs_ME119
 
Int_t t_nStubs_ME11no911
 
Int_t t_nStubs_noMEpm11
 
Int_t t_nStubs_readout
 
Int_t t_ring
 
Int_t t_RUN
 
Int_t t_station
 

Detailed Description

Definition at line 45 of file CSCTriggerPrimitivesReader.h.

Member Function Documentation

TTree * TreePerStub::bookTree ( TTree *  t,
const std::string &  name = "TreePerStub" 
)

Definition at line 161 of file CSCTriggerPrimitivesReader.cc.

References TFileService::make(), and lumiQTWidget::t.

Referenced by CSCTriggerPrimitivesReader::CSCTriggerPrimitivesReader().

162 {
164  t = fs->make<TTree>(name.c_str(), name.c_str());
165 
166  t->Branch("t_EventNumberAnalyzed",&t_EventNumberAnalyzed,"t_EventNumberAnalyzed/I");
167  t->Branch("t_RUN",&t_RUN,"t_RUN/I");
168  t->Branch("t_Event",&t_Event,"t_Event/I");
169  t->Branch("t_nStubs",&t_nStubs,"t_nStubs/I");
170  t->Branch("t_nStubs_readout",&t_nStubs_readout,"t_nStubs_readout/I");
171  t->Branch("t_nStubs_ME119",&t_nStubs_ME119,"t_nStubs_ME119/I");
172  t->Branch("t_nStubs_ME11no911",&t_nStubs_ME11no911,"t_nStubs_ME11no911/I");
173  t->Branch("t_nStubs_noMEpm11",&t_nStubs_noMEpm11,"t_nStubs_noMEpm11/I");
174 
175  t->Branch("t_chamber", &t_chamber, "t_chamber/I");
176  t->Branch("t_ring", &t_ring, "t_ring/I");
177  t->Branch("t_endcap", &t_endcap, "t_endcap/I");
178  t->Branch("t_station", &t_station, "t_station/I");
179  t->Branch("t_chambertype", &t_chambertype, "t_chambertype/I");
180 
181  return t;
182 }
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
void TreePerStub::init ( int  run,
int  event 
)

Definition at line 146 of file CSCTriggerPrimitivesReader.cc.

References event(), and writedatasetfile::run.

Referenced by CSCTriggerPrimitivesReader::compareALCTs(), CSCTriggerPrimitivesReader::compareCLCTs(), and CSCTriggerPrimitivesReader::compareLCTs().

146  {
147 
149  t_RUN = run;
150  t_Event = event;
151  t_nStubs = 0;
152  t_nStubs_readout = 0;
153 
154  t_chamber = -1;
155  t_ring = -1;
156  t_station = -1;
157  t_chambertype = -1;
158  t_endcap = -2;
159 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past

Member Data Documentation

Int_t TreePerStub::t_chamber
Int_t TreePerStub::t_chambertype

Definition at line 62 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_endcap
Int_t TreePerStub::t_Event

Definition at line 51 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_EventNumberAnalyzed
Int_t TreePerStub::t_nStubs
Int_t TreePerStub::t_nStubs_ME119

Definition at line 54 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_nStubs_ME11no911

Definition at line 55 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_nStubs_noMEpm11

Definition at line 56 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_nStubs_readout
Int_t TreePerStub::t_ring
Int_t TreePerStub::t_RUN

Definition at line 50 of file CSCTriggerPrimitivesReader.h.

Int_t TreePerStub::t_station