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 140 of file CSCTriggerPrimitivesReader.cc.

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

Referenced by CSCTriggerPrimitivesReader::CSCTriggerPrimitivesReader().

140  {
142  t = fs->make<TTree>(name.c_str(), name.c_str());
143 
144  t->Branch("t_EventNumberAnalyzed", &t_EventNumberAnalyzed, "t_EventNumberAnalyzed/I");
145  t->Branch("t_RUN", &t_RUN, "t_RUN/I");
146  t->Branch("t_Event", &t_Event, "t_Event/I");
147  t->Branch("t_nStubs", &t_nStubs, "t_nStubs/I");
148  t->Branch("t_nStubs_readout", &t_nStubs_readout, "t_nStubs_readout/I");
149  t->Branch("t_nStubs_ME119", &t_nStubs_ME119, "t_nStubs_ME119/I");
150  t->Branch("t_nStubs_ME11no911", &t_nStubs_ME11no911, "t_nStubs_ME11no911/I");
151  t->Branch("t_nStubs_noMEpm11", &t_nStubs_noMEpm11, "t_nStubs_noMEpm11/I");
152 
153  t->Branch("t_chamber", &t_chamber, "t_chamber/I");
154  t->Branch("t_ring", &t_ring, "t_ring/I");
155  t->Branch("t_endcap", &t_endcap, "t_endcap/I");
156  t->Branch("t_station", &t_station, "t_station/I");
157  t->Branch("t_chambertype", &t_chambertype, "t_chambertype/I");
158 
159  return t;
160 }
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
void TreePerStub::init ( int  run,
int  event 
)

Definition at line 126 of file CSCTriggerPrimitivesReader.cc.

References event(), and writedatasetfile::run.

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

126  {
128  t_RUN = run;
129  t_Event = event;
130  t_nStubs = 0;
131  t_nStubs_readout = 0;
132 
133  t_chamber = -1;
134  t_ring = -1;
135  t_station = -1;
136  t_chambertype = -1;
137  t_endcap = -2;
138 }
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