CMS 3D CMS Logo

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

#include <CSCTriggerPrimitivesReader.h>

Public Member Functions

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

Public Attributes

Int_t bend_data
 
Int_t bend_emul
 
Int_t bend_pretrig
 
Int_t bx_corr_emul
 
Int_t bx_data
 
Int_t bx_emul
 
Int_t bx_pretrig
 
Int_t chamber
 
Int_t chambertype
 
Float_t dphi_data
 
Float_t dphi_emul
 
Int_t endcap
 
Float_t eta_data
 
Float_t eta_emul
 
Bool_t firstfill
 
Int_t fullbx_data
 
Int_t fullbx_emul
 
Bool_t has_data
 
Bool_t has_emul
 
Int_t key_hs_data
 
Int_t key_hs_emul
 
Int_t key_hs_pretrig
 
Int_t key_WG_data
 
Int_t key_WG_emul
 
Int_t maxpattern_pretrig
 
Int_t maxquality_pretrig
 
Int_t nEvent
 
Int_t nEvents
 
Int_t npretrig
 
Int_t nRUN
 
Int_t nStub_data
 
Int_t nStub_emul
 
Int_t pattern_data
 
Int_t pattern_emul
 
Int_t pattern_pretrig
 
Float_t phi_data
 
Float_t phi_emul
 
Int_t quality_data
 
Int_t quality_emul
 
Int_t quality_pretrig
 
Int_t ring
 
Int_t station
 
Int_t totStubs_data
 
Int_t totStubs_emul
 
Int_t totStubs_emul_readout
 
Int_t trknmb_data
 
Int_t trknmb_emul
 
Bool_t WGcrossHS_data
 
Bool_t WGcrossHS_emul
 

Detailed Description

Definition at line 66 of file CSCTriggerPrimitivesReader.h.

Member Function Documentation

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

Definition at line 239 of file CSCTriggerPrimitivesReader.cc.

References relativeConstraints::chamber, makeMuonMisalignmentScenario::endcap, TFileService::make(), nEvent, nEvents, relativeConstraints::ring, relativeConstraints::station, and lumiQTWidget::t.

Referenced by CSCTriggerPrimitivesReader::CSCTriggerPrimitivesReader().

240 {
242  t = fs->make<TTree>(name.c_str(), name.c_str());
243 
244  t->Branch("nEvents",&nEvents);
245  t->Branch("nRUN",&nRUN);
246  t->Branch("nEvent",&nEvent);
247  t->Branch("firstfill",&firstfill);
248  t->Branch("totStubs_data",&totStubs_data);
249  t->Branch("totStubs_emul",&totStubs_emul);
250  t->Branch("totStubs_emul_readout",&totStubs_emul_readout);
251  t->Branch("nStub_data",&nStub_data);
252  t->Branch("nStub_emul",&nStub_emul);
253 
254  t->Branch("chamber",&chamber);
255  t->Branch("ring",&ring);
256  t->Branch("endcap",&endcap);
257  t->Branch("station",&station);
258  t->Branch("chambertype",&chambertype);
259  t->Branch("has_data",&has_data);
260  t->Branch("has_emul",&has_emul);
261  t->Branch("quality_data",&quality_data);
262  t->Branch("quality_emul",&quality_emul);
263  t->Branch("npretrig",&npretrig);
264  t->Branch("quality_pretrig",&quality_pretrig);
265  t->Branch("maxquality_pretrig",&maxquality_pretrig);
266  t->Branch("pattern_data",&pattern_data);
267  t->Branch("pattern_emul",&pattern_emul);
268  t->Branch("pattern_pretrig",&pattern_pretrig);
269  t->Branch("maxpattern_pretrig",&maxpattern_pretrig);
270  t->Branch("bend_data",&bend_data);
271  t->Branch("bx_data",&bx_data);
272  t->Branch("fullbx_data",&fullbx_data);
273  t->Branch("bend_emul",&bend_emul);
274  t->Branch("bx_emul",&bx_emul);
275  t->Branch("fullbx_emul",&fullbx_emul);
276  t->Branch("bend_pretrig",&bend_pretrig);
277  t->Branch("bx_pretrig",&bx_pretrig);
278  t->Branch("bx_corr_emul",&bx_corr_emul);
279  t->Branch("WGcrossHS_data",&WGcrossHS_data);
280  t->Branch("WGcrossHS_emul",&WGcrossHS_emul);
281  t->Branch("key_WG_data",&key_WG_data);
282  t->Branch("key_WG_emul",&key_WG_emul);
283  t->Branch("key_hs_data",&key_hs_data);
284  t->Branch("key_hs_emul",&key_hs_emul);
285  t->Branch("key_hs_pretrig",&key_hs_pretrig);
286  t->Branch("trknmb_data",&trknmb_data);
287  t->Branch("trknmb_emul",&trknmb_emul);
288  t->Branch("dphi_data",&dphi_data);
289  t->Branch("dphi_emul",&dphi_emul);
290  t->Branch("eta_data",&eta_data);
291  t->Branch("eta_emul",&eta_emul);
292  t->Branch("phi_data", &phi_data);
293  t->Branch("phi_emul", &phi_emul);
294 
295  return t;
296 
297 }
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
void MyStubComparison::init ( int  run,
int  event 
)

Definition at line 186 of file CSCTriggerPrimitivesReader.cc.

References relativeConstraints::chamber, makeMuonMisalignmentScenario::endcap, event(), nEvent, nEvents, relativeConstraints::ring, writedatasetfile::run, and relativeConstraints::station.

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

186  {
187 
188  nEvents = -1;
189  nRUN = run;
190  nEvent = event;
191  firstfill = false;
192  totStubs_data = -1;
193  totStubs_emul = -1;
195  nStub_data = 0;
196  nStub_emul = 0;
197  chamber = -1;
198  ring =-1;
199  endcap =-1;
200  station = -1;
201  chambertype = -1;
202  has_data = false;
203  has_emul = false;
204 
205  npretrig = 0;
206  quality_pretrig = -1;
207  maxquality_pretrig = -1;
208  bend_pretrig = -1;
209  bx_pretrig = -1;
210  key_hs_pretrig = -1;
211  pattern_pretrig = -1;
212  maxpattern_pretrig = -1;
213  quality_data = -1;
214  bend_data = -1;
215  bx_data = -1;
216  quality_emul = -1;
217  bend_emul = -1;
218  pattern_data = -1;
219  pattern_emul = -1;
220  bx_emul = -1;
221  bx_corr_emul = -1;//corrected
222  key_WG_data = -1;
223  key_WG_emul = -1;
224  key_hs_data = -1;
225  key_hs_emul = -1;
226  WGcrossHS_data = false;
227  WGcrossHS_emul = false;
228  trknmb_data = -1;
229  trknmb_emul = -1;
230  dphi_data = -1;
231  dphi_emul = -1;
232  eta_data = -1;
233  eta_emul = -1;
234  phi_data = -1;
235  phi_emul = -1;
236 }
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 MyStubComparison::bend_data
Int_t MyStubComparison::bend_emul
Int_t MyStubComparison::bend_pretrig
Int_t MyStubComparison::bx_corr_emul
Int_t MyStubComparison::bx_data
Int_t MyStubComparison::bx_emul
Int_t MyStubComparison::bx_pretrig
Int_t MyStubComparison::chamber
Int_t MyStubComparison::chambertype
Float_t MyStubComparison::dphi_data

Definition at line 114 of file CSCTriggerPrimitivesReader.h.

Float_t MyStubComparison::dphi_emul

Definition at line 115 of file CSCTriggerPrimitivesReader.h.

Int_t MyStubComparison::endcap
Float_t MyStubComparison::eta_data
Float_t MyStubComparison::eta_emul
Bool_t MyStubComparison::firstfill
Int_t MyStubComparison::fullbx_data
Int_t MyStubComparison::fullbx_emul
Bool_t MyStubComparison::has_data
Bool_t MyStubComparison::has_emul
Int_t MyStubComparison::key_hs_data
Int_t MyStubComparison::key_hs_emul
Int_t MyStubComparison::key_hs_pretrig
Int_t MyStubComparison::key_WG_data
Int_t MyStubComparison::key_WG_emul
Int_t MyStubComparison::maxpattern_pretrig
Int_t MyStubComparison::maxquality_pretrig
Int_t MyStubComparison::nEvent

Definition at line 72 of file CSCTriggerPrimitivesReader.h.

Int_t MyStubComparison::nEvents
Int_t MyStubComparison::npretrig
Int_t MyStubComparison::nRUN

Definition at line 71 of file CSCTriggerPrimitivesReader.h.

Int_t MyStubComparison::nStub_data
Int_t MyStubComparison::nStub_emul
Int_t MyStubComparison::pattern_data
Int_t MyStubComparison::pattern_emul
Int_t MyStubComparison::pattern_pretrig
Float_t MyStubComparison::phi_data
Float_t MyStubComparison::phi_emul
Int_t MyStubComparison::quality_data
Int_t MyStubComparison::quality_emul
Int_t MyStubComparison::quality_pretrig
Int_t MyStubComparison::ring
Int_t MyStubComparison::station
Int_t MyStubComparison::totStubs_data
Int_t MyStubComparison::totStubs_emul
Int_t MyStubComparison::totStubs_emul_readout
Int_t MyStubComparison::trknmb_data
Int_t MyStubComparison::trknmb_emul
Bool_t MyStubComparison::WGcrossHS_data
Bool_t MyStubComparison::WGcrossHS_emul