CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZdcTBAnalysis.cc
Go to the documentation of this file.
2 #include <sstream>
3 #include <iostream>
4 #include <vector>
5 
7 
9  TString outName = outFileName;
10  outFile = new TFile(outName,"RECREATE");
11  ZdcAnalize = new TTree("ZdcAnaTree","ZdcAnaTree");
12  ZdcAnalize->Branch("Trigger",0,"run/I:event/I:beamTrigger/I:fakeTrigger/I:"
13  "pedestalTrigger/I:outSpillPedestalTrigger/I:inSpillPedestalTrigger/I:"
14  "laserTrigger/I:laserTrigger/I:ledTrigger/I:spillTrigger/I");
15  ZdcAnalize->Branch("TDC",0,"trigger/D:ttcL1/D:beamCoincidence/D:laserFlash/D:qiePhase/D:"
16  "TTOF1/D:TTOF2/D:m1[5]/D:m2[5]/D:m3[5]/D:"
17  "s1[5]/D:s2[5]/D:s3[5]/D:s4[5]/D:"
18  "bh1[5]/D:bh2[5]/D:bh3[5]/D:bh4[5]/D");
19  ZdcAnalize->Branch("ADC",0,"VM/D:V3/D:V6/D:VH1/D:VH2/D:VH3/D:VH4/D:Ecal7x7/D:"
20  "Sci521/D:Sci528/D:CK1/D:CK2/D:CK3/D:SciVLE/D:S1/D:S2/D:S3/D:S4/D:"
21  "VMF/D:VMB/D:VM1/D:VM2/D:VM3/D:VM4/D:VM5/D:VM6/D:VM7/D:VM8/D:"
22  "TOF1/D:TOF2/D:BH1/D:BH2/D:BH3/BH4/D");
23  ZdcAnalize->Branch("Chamb",0,"WCAx[5]/D:WCAy[5]/D:WCBx[5]/D:WCBy[5]/D:"
24  "WCCx[5]/D:WCCy[5]/D:WCDx[5]/D:WCDy[5]/D:WCEx[5]/D:WCEy[5]/D:"
25  "WCFx[5]/D:WCFy[5]/D:WCGx[5]/D:WCGy[5]/D:WCHx[5]/D:WCHy[5]/D");
26  ZdcAnalize->Branch("ZDCP",0,"zdcHAD1/D:zdcHAD2/D:zdcHAD3/D:zdcHAD4/D:"
27  "zdcEM1/D:zdcEM2/D:zdcEM3/D:zdcEM4/D:zdcEM5/D:"
28  "zdcScint1/D:zdcScint2/D:"
29  "zdcExtras[7]/D");
30  ZdcAnalize->Branch("ZDCN",0,"zdcHAD1/D:zdcHAD2/D:zdcHAD3/D:zdcHAD4/D:"
31  "zdcEM1/D:zdcEM2/D:zdcEM3/D:zdcEM4/D:zdcEM5/D:"
32  "zdcScint1/D:zdcScint2/D:"
33  "zdcExtras[7]/D");
34  ZdcAnalize->GetBranch("Trigger")->SetAddress(&trigger);
35  ZdcAnalize->GetBranch("TDC")->SetAddress(&tdc);
36  ZdcAnalize->GetBranch("ADC")->SetAddress(&adc);
37  ZdcAnalize->GetBranch("Chamb")->SetAddress(&chamb);
38  ZdcAnalize->GetBranch("ZDCP")->SetAddress(&zdcp);
39  ZdcAnalize->GetBranch("ZDCN")->SetAddress(&zdcn);
40  ZdcAnalize->SetAutoSave();
41 }
42 
43 
45  // trigger
55  isSpillTrigger = trg.wasInSpill();
56 
60 
69 }
70 
71 
73  //times
75  tdc.ttcL1 = ttc_L1a_time = times.ttcL1Atime();
77  tdc.qiePhase = qie_phase = times.qiePhase();
78  tdc.TOF1 = TOF1_time = times.TOF1Stime();
79  tdc.TOF2 = TOF2_time = times.TOF2Stime();
80 
81  // just take 5 first hits of multihit tdc (5 tick cycles)
82  int indx = 0;
83  int indTop = 5;
84  for (indx=0; indx<times.BeamCoincidenceCount(); indx++)
85  if (indx < indTop)tdc.beamCoincidence[indx] = beam_coincidence[indx] = times.BeamCoincidenceHits(indx);
86  for (indx=0; indx<times.M1Count(); indx++)
87  if (indx < indTop)tdc.m1[indx] = m1hits[indx] = times.M1Hits(indx);
88  for (indx=0; indx<times.M2Count(); indx++)
89  if (indx < indTop) tdc.m2[indx] = m2hits[indx] = times.M2Hits(indx);
90  for (indx=0; indx<times.M3Count(); indx++)
91  if (indx < indTop) tdc.m3[indx] = m3hits[indx] = times.M3Hits(indx);
92  for (indx=0; indx<times.S1Count(); indx++)
93  if (indx < indTop)tdc.s1[indx] = s1hits[indx]= times.S1Hits(indx);
94  for (indx=0; indx<times.S2Count(); indx++)
95  if (indx < indTop) tdc.s2[indx] = s2hits[indx] = times.S2Hits(indx);
96  for (indx=0; indx<times.S3Count() ; indx++)
97  if (indx < indTop) tdc.s3[indx] = s3hits[indx] = times.S3Hits(indx);
98  for (indx=0; indx<times.S4Count(); indx++)
99  if (indx < indTop) tdc.s4[indx] = s4hits[indx] = times.S4Hits(indx);
100  for (indx=0; indx<times.BH1Count(); indx++)
101  if (indx < indTop) tdc.bh1[indx] = bh1hits[indx] = times.BH1Hits(indx);
102  for (indx=0; indx<times.BH2Count(); indx++)
103  if (indx < indTop) tdc.bh2[indx] = bh2hits[indx] = times.BH2Hits(indx);
104  for (indx=0; indx<times.BH3Count() ; indx++)
105  if (indx < indTop) tdc.bh3[indx] = bh3hits[indx] = times.BH3Hits(indx);
106  for (indx=0; indx<times.BH4Count(); indx++)
107  if (indx < indTop) tdc.bh4[indx] = bh4hits[indx] = times.BH4Hits(indx);
108 }
109 
111  //beam counters
112  adc.VM = VMadc = bc.VMadc();
113  adc.V3 = V3adc = bc.V3adc();
114  adc.V6 = V6adc = bc.V6adc();
115  adc.VH1 = VH1adc = bc.VH1adc();
116  adc.VH2 = VH2adc = bc.VH2adc();
117  adc.VH3 = VH3adc = bc.VH3adc();
118  adc.VH4 = VH4adc = bc.VH4adc();
119  adc.Ecal7x7 = Ecal7x7adc = bc.Ecal7x7();
120  adc.Sci521 = Sci521adc = bc.Sci521adc();
121  adc.Sci528 = Sci528adc = bc.Sci528adc();
122  adc.CK1 = CK1adc = bc.CK1adc();
123  adc.CK2 = CK2adc = bc.CK2adc();
124  adc.CK3 = CK3adc = bc.CK3adc();
125  adc.SciVLE = SciVLEadc = bc.SciVLEadc();
126  adc.S1 = S1adc = bc.S1adc();
127  adc.S2 = S2adc = bc.S2adc();
128  adc.S3 = S3adc = bc.S3adc();
129  adc.S4 = S4adc = bc.S4adc();
130  adc.VMF = VMFadc = bc.VMFadc();
131  adc.VMB = VMBadc = bc.VMBadc();
132  adc.VM1 = VM1adc = bc.VM1adc();
133  adc.VM2 = VM2adc = bc.VM2adc();
134  adc.VM3 = VM3adc = bc.VM3adc();
135  adc.VM4 = VM4adc = bc.VM4adc();
136  adc.VM5 = VM5adc = bc.VM5adc();
137  adc.VM6 = VM6adc = bc.VM6adc();
138  adc.VM7 = VM7adc = bc.VM7adc();
139  adc.VM8 = VM8adc = bc.VM8adc();
140  adc.TOF1 = TOF1adc = bc.TOF1Sadc();
141  adc.TOF2 = TOF2adc = bc.TOF2Sadc();
142  adc.BH1 = BH1adc = bc.BH1adc();
143  adc.BH2 = BH2adc = bc.BH2adc();
144  adc.BH3 = BH3adc = bc.BH3adc();
145  adc.BH4 = BH4adc = bc.BH4adc();
146 }
147 
149  //chambers position
150  chpos.getChamberHits('A',wcax,wcay);
151  chpos.getChamberHits('B',wcbx,wcby);
152  chpos.getChamberHits('C',wccx,wccy);
153  chpos.getChamberHits('D',wcdx,wcdy);
154  chpos.getChamberHits('E',wcex,wcey);
155  chpos.getChamberHits('F',wcfx,wcfy);
156  chpos.getChamberHits('G',wcgx,wcgy);
157  chpos.getChamberHits('H',wchx,wchy);
158 
159  // just take 5 first hits of chambers (5 tick cycles)
160  unsigned int indTop = 5;
161  unsigned int indx = 0;
162  for (indx = 0; indx < wcax.size(); indx++)
163  if (indx < indTop)chamb.WCAx[indx] = wcax[indx];
164  for (indx = 0; indx < wcay.size(); indx++)
165  if (indx < indTop)chamb.WCAy[indx] = wcay[indx];
166  for (indx = 0; indx < wcbx.size(); indx++)
167  if (indx < indTop)chamb.WCBx[indx] = wcbx[indx];
168  for (indx = 0; indx < wcby.size(); indx++)
169  if (indx < indTop)chamb.WCBy[indx] = wcby[indx];
170  for (indx = 0; indx < wccx.size(); indx++)
171  if (indx < indTop)chamb.WCCx[indx] = wccx[indx];
172  for (indx = 0; indx < wccy.size(); indx++)
173  if (indx < indTop)chamb.WCCy[indx] = wccy[indx];
174  for (indx = 0; indx < wcdx.size(); indx++)
175  if (indx < indTop)chamb.WCDx[indx] = wcdx[indx];
176  for (indx = 0; indx < wcdy.size(); indx++)
177  if (indx < indTop)chamb.WCDy[indx] = wcdy[indx];
178  for (indx = 0; indx < wcdx.size(); indx++)
179  if (indx < indTop)chamb.WCEx[indx] = wcex[indx];
180  for (indx = 0; indx < wcey.size(); indx++)
181  if (indx < indTop)chamb.WCEy[indx] = wcey[indx];
182  for (indx = 0; indx < wcfx.size(); indx++)
183  if (indx < indTop)chamb.WCFx[indx] = wcfx[indx];
184  for (indx = 0; indx < wcfy.size(); indx++)
185  if (indx < indTop)chamb.WCFy[indx] = wcfy[indx];
186  for (indx = 0; indx < wcgx.size(); indx++)
187  if (indx < indTop)chamb.WCGx[indx] = wcgx[indx];
188  for (indx = 0; indx < wcgy.size(); indx++)
189  if (indx < indTop)chamb.WCGy[indx] = wcgy[indx];
190  for (indx = 0; indx < wchx.size(); indx++)
191  if (indx < indTop)chamb.WCHx[indx] = wchx[indx];
192  for (indx = 0; indx < wchy.size(); indx++)
193  if (indx < indTop)chamb.WCHy[indx] = wchy[indx];
194 }
195 
197  // zdc hits
198  std::cout<<"****************************************************"<<std::endl;
200  for(i = zdcHits.begin(); i!=zdcHits.end(); i++){
201  energy = i->energy();
202  detID = i->id();
203  iside= detID.zside();
204  isection = detID.section();
205  ichannel = detID.channel();
206  idepth = detID.depth();
207  std::cout<<"energy: "<<energy<<" detID: "<<detID
208  <<" side: "<<iside<<" section: "<<isection
209  <<" channel: "<<ichannel<< " depth: "<<idepth<<std::endl;
210 
211  if(iside>0){
212  if(ichannel ==1 && isection ==1)zdcp.zdcEMMod1 = energy;
213  if(ichannel ==2 && isection ==1)zdcp.zdcEMMod2 = energy;
214  if(ichannel ==3 && isection ==1)zdcp.zdcEMMod3 = energy;
215  if(ichannel ==4 && isection ==1)zdcp.zdcEMMod4 = energy;
216  if(ichannel ==5 && isection ==1)zdcp.zdcEMMod5 = energy;
217  if(ichannel ==1 && isection ==2)zdcp.zdcHADMod1 = energy;
218  if(ichannel ==2 && isection ==2)zdcp.zdcHADMod2 = energy;
219  if(ichannel ==3 && isection ==2)zdcp.zdcHADMod3 = energy;
220  if(ichannel ==4 && isection ==2)zdcp.zdcHADMod4 = energy;
221  if(ichannel ==1 && isection ==3)zdcp.zdcScint1 = energy;
222  }
223  if(iside<0){
224  if(ichannel ==1 && isection ==1)zdcn.zdcEMMod1 = energy;
225  if(ichannel ==2 && isection ==1)zdcn.zdcEMMod2 = energy;
226  if(ichannel ==3 && isection ==1)zdcn.zdcEMMod3 = energy;
227  if(ichannel ==4 && isection ==1)zdcn.zdcEMMod4 = energy;
228  if(ichannel ==5 && isection ==1)zdcn.zdcEMMod5 = energy;
229  if(ichannel ==1 && isection ==2)zdcn.zdcHADMod1 = energy;
230  if(ichannel ==2 && isection ==2)zdcn.zdcHADMod2 = energy;
231  if(ichannel ==3 && isection ==2)zdcn.zdcHADMod3 = energy;
232  if(ichannel ==4 && isection ==2)zdcn.zdcHADMod4 = energy;
233  if(ichannel ==1 && isection ==3)zdcn.zdcScint1 = energy;
234  }
235  }
236 }
237 
239  ZdcAnalize->Fill();
240 }
241 
243  ZdcAnalize->Print();
244  outFile->cd();
245  ZdcAnalize->Write();
246  outFile->Close();
247 }
248 
249 
double s2hits[5]
int ledTrigger
Definition: ZdcTBAnalysis.h:21
double VM4
Definition: ZdcTBAnalysis.h:70
double VH1adc() const
double WCFx[5]
Definition: ZdcTBAnalysis.h:94
double WCGy[5]
Definition: ZdcTBAnalysis.h:97
int i
Definition: DBlmapReader.cc:9
std::vector< double > wcfx
std::vector< double > wcgx
double VM4adc() const
double laser_flash
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:60
double VMadc() const
Muon Veto adc.
int outSpillPedestalTrigger
Definition: ZdcTBAnalysis.h:18
double zdcEMMod2
double S2
Definition: ZdcTBAnalysis.h:62
double BH3adc() const
double trigger
Definition: ZdcTBAnalysis.h:26
double bh1hits[5]
std::vector< double > wcex
double VM2adc() const
double S1adc() const
double BH2adc() const
double s4hits[5]
bool wasLEDTrigger() const
returns true if this was a LED trigger
std::vector< double > wchx
double S2adc() const
double zdcEMMod3
double WCBy[5]
Definition: ZdcTBAnalysis.h:87
double zdcHADMod3
double zdcEMMod3
std::vector< double > wcax
double Sci528adc() const
double Ecal7x7() const
double WCEy[5]
Definition: ZdcTBAnalysis.h:93
double CK1
Definition: ZdcTBAnalysis.h:57
double bh4hits[5]
double Sci528
Definition: ZdcTBAnalysis.h:56
std::vector< double > wccx
double VM
Definition: ZdcTBAnalysis.h:47
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
Definition: HcalTBTiming.h:76
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:34
std::vector< double > wchy
std::vector< ZDCRecHit >::const_iterator const_iterator
double s1[5]
Definition: ZdcTBAnalysis.h:36
double VH2
Definition: ZdcTBAnalysis.h:51
double beamCoincidence[5]
Definition: ZdcTBAnalysis.h:28
double trigger_time
double zdcEMMod5
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:81
double VH3
Definition: ZdcTBAnalysis.h:52
double zdcEMMod1
double beam_coincidence[5]
double VM1adc() const
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:56
double M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
Definition: HcalTBTiming.h:78
bool wasFakeTrigger() const
returns true if this trigger was fake (from a non-H2 manager)
double VM5
Definition: ZdcTBAnalysis.h:71
double zdcScint1
double S3adc() const
double VMF
Definition: ZdcTBAnalysis.h:65
double S4adc() const
void analyze(const ZDCRecHitCollection &hf)
double bh2hits[5]
int fakeTrigger
Definition: ZdcTBAnalysis.h:16
double WCCx[5]
Definition: ZdcTBAnalysis.h:88
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:58
double V3adc() const
std::vector< double > wcbx
double SciVLEadc() const
double S1
Definition: ZdcTBAnalysis.h:61
double WCHx[5]
Definition: ZdcTBAnalysis.h:98
int laserTrigger
Definition: ZdcTBAnalysis.h:20
std::vector< double > wccy
double triggerTime() const
Returns the trigger time in ns.
Definition: HcalTBTiming.h:25
double WCBx[5]
Definition: ZdcTBAnalysis.h:86
void setup(const std::string &histoFileName)
Definition: ZdcTBAnalysis.cc:8
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
Definition: HcalTBTiming.h:28
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:54
double TOF2
Definition: ZdcTBAnalysis.h:76
std::vector< double > wcgy
double CK2adc() const
std::vector< double > wcey
double VM2
Definition: ZdcTBAnalysis.h:68
double VH1
Definition: ZdcTBAnalysis.h:50
double m2[5]
Definition: ZdcTBAnalysis.h:34
double VM1
Definition: ZdcTBAnalysis.h:67
double m1[5]
Definition: ZdcTBAnalysis.h:33
double WCAx[5]
Definition: ZdcTBAnalysis.h:84
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
Definition: HcalTBTiming.h:90
double VM8
Definition: ZdcTBAnalysis.h:74
double WCEx[5]
Definition: ZdcTBAnalysis.h:92
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
Definition: HcalTBTiming.h:65
double s2[5]
Definition: ZdcTBAnalysis.h:37
double VM8adc() const
double V6
Definition: ZdcTBAnalysis.h:49
double m3hits[5]
std::vector< double > wcdy
double SciVLE
Definition: ZdcTBAnalysis.h:60
double VM3
Definition: ZdcTBAnalysis.h:69
double zdcEMMod1
double s4[5]
Definition: ZdcTBAnalysis.h:39
double zdcEMMod2
double WCDx[5]
Definition: ZdcTBAnalysis.h:90
double Sci521
Definition: ZdcTBAnalysis.h:55
double VM6adc() const
double VH4
Definition: ZdcTBAnalysis.h:53
double s1hits[5]
bool wasOutSpillPedestalTrigger() const
returns true if this was an out-of-spill pedestal trigger
int spillTrigger
Definition: ZdcTBAnalysis.h:22
double bh3hits[5]
double ttc_L1a_time
std::vector< double > wcfy
double VH2adc() const
bool wasInSpill() const
returns true if the &quot;spill&quot; bit was set
double VMFadc() const
double VM3adc() const
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
Definition: HcalTBTiming.h:40
double zdcHADMod3
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
Definition: HcalTBTiming.h:63
double bh4[5]
Definition: ZdcTBAnalysis.h:43
double bh1[5]
Definition: ZdcTBAnalysis.h:40
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:87
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
Definition: HcalTBTiming.h:96
double S3
Definition: ZdcTBAnalysis.h:63
double zdcHADMod2
double zdcScint1
double WCFy[5]
Definition: ZdcTBAnalysis.h:95
double VM5adc() const
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
Definition: HcalTBTiming.h:67
double CK3
Definition: ZdcTBAnalysis.h:59
double VM6
Definition: ZdcTBAnalysis.h:72
double VH4adc() const
double WCAy[5]
Definition: ZdcTBAnalysis.h:85
double Sci521adc() const
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:85
Section section() const
get the section
Definition: HcalZDCDetId.h:36
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
Definition: HcalTBTiming.h:72
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE&#39;S VIEW.
Definition: HcalTBTiming.h:94
double s3[5]
Definition: ZdcTBAnalysis.h:38
double zdcHADMod4
double Ecal7x7
Definition: ZdcTBAnalysis.h:54
double zdcEMMod4
const_iterator end() const
double CK3adc() const
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
Definition: HcalTBTiming.h:74
double VMB
Definition: ZdcTBAnalysis.h:66
double laserFlash() const
Returns the laser activation time in ns.
Definition: HcalTBTiming.h:31
double BH4
Definition: ZdcTBAnalysis.h:80
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
Definition: HcalTBTiming.h:36
double TOF1
Definition: ZdcTBAnalysis.h:75
uint16_t eventNumber() const
Returns the event number of this trigger.
double S4
Definition: ZdcTBAnalysis.h:64
int beamTrigger
Definition: ZdcTBAnalysis.h:15
double CK2
Definition: ZdcTBAnalysis.h:58
HcalZDCDetId detID
double m3[5]
Definition: ZdcTBAnalysis.h:35
double VMBadc() const
double bh3[5]
Definition: ZdcTBAnalysis.h:42
int depth() const
get the depth (1 for EM, channel + 1 for HAD, not sure yet for LUM, leave as default) ...
Definition: HcalZDCDetId.h:38
double m1hits[5]
std::vector< double > wcdx
double BH1adc() const
double BH3
Definition: ZdcTBAnalysis.h:79
int channel() const
get the channel
Definition: HcalZDCDetId.h:40
double bh2[5]
Definition: ZdcTBAnalysis.h:41
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
Definition: HcalTBTiming.h:45
double WCGx[5]
Definition: ZdcTBAnalysis.h:96
double TOF1
Definition: ZdcTBAnalysis.h:31
double zdcHADMod1
double V3
Definition: ZdcTBAnalysis.h:48
double zdcHADMod2
double VM7adc() const
double s3hits[5]
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
double VM7
Definition: ZdcTBAnalysis.h:73
double V6adc() const
double TOF2Sadc() const
int eventNum
Definition: ZdcTBAnalysis.h:14
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
Definition: HcalTBTiming.h:49
double VH3adc() const
int BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
Definition: HcalTBTiming.h:69
std::vector< double > wcby
TTree * ZdcAnalize
void getChamberHits(char chamberch, std::vector< double > &xvec, std::vector< double > &yvec) const
Get the wire chamber hits for the specified chamber For HB/HE/HO running, chambers A...
double TOF2
Definition: ZdcTBAnalysis.h:32
bool wasInSpillPedestalTrigger() const
returns true if this was an in-spill pedestal trigger
int calibTrigger
Definition: ZdcTBAnalysis.h:17
bool isOutSpillPedestalTrigger
tuple cout
Definition: gather_cfg.py:121
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
Definition: HcalTBTiming.h:51
double WCHy[5]
Definition: ZdcTBAnalysis.h:99
double laserFlash
Definition: ZdcTBAnalysis.h:29
double zdcHADMod4
bool wasBeamTrigger() const
returns true if this trigger came from beam data
double BH2
Definition: ZdcTBAnalysis.h:78
double WCDy[5]
Definition: ZdcTBAnalysis.h:91
double BH2Hits(int index) const
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE&#39;S VIEW...
Definition: HcalTBTiming.h:92
double ttcL1
Definition: ZdcTBAnalysis.h:27
int inSpillPedestalTrigger
Definition: ZdcTBAnalysis.h:19
bool wasLaserTrigger() const
returns true if this was a laser trigger
bool isInSpillPedestalTrigger
double zdcHADMod1
double zdcEMMod5
double m2hits[5]
double BH1
Definition: ZdcTBAnalysis.h:77
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:83
uint32_t runNumber() const
Returns the current run number.
double WCCy[5]
Definition: ZdcTBAnalysis.h:89
std::vector< double > wcay
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
Definition: HcalTBTiming.h:33
int M1Count() const
Returns the number of hits from muon veto scintillator M1.
Definition: HcalTBTiming.h:47
const_iterator begin() const
double CK1adc() const
double BH4adc() const
double zdcEMMod4
double qiePhase
Definition: ZdcTBAnalysis.h:30
double TOF1Sadc() const