CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ZdcTBAnalysis Class Reference

#include <ZdcTBAnalysis.h>

Public Member Functions

void analyze (const HcalTBBeamCounters &bc)
 
void analyze (const HcalTBEventPosition &chpos)
 
void analyze (const HcalTBTiming &times)
 
void analyze (const HcalTBTriggerData &trg)
 
void analyze (const ZDCRecHitCollection &hf)
 
void done ()
 
void fillTree ()
 
void setup (const std::string &histoFileName)
 
 ZdcTBAnalysis ()
 

Private Attributes

ADC adc
 
double beam_coincidence [5]
 
double BH1adc
 
double bh1hits [5]
 
double BH2adc
 
double bh2hits [5]
 
double BH3adc
 
double bh3hits [5]
 
double BH4adc
 
double bh4hits [5]
 
CHAMB chamb
 
double CK1adc
 
double CK2adc
 
double CK3adc
 
HcalZDCDetId detID
 
double Ecal7x7adc
 
double energy
 
int eventNumber
 
int ichannel
 
int idepth
 
bool isBeamTrigger
 
bool isCalibTrigger
 
int isection
 
bool isFakeTrigger
 
int iside
 
bool isInSpillPedestalTrigger
 
bool isLaserTrigger
 
bool isLedTrigger
 
bool isOutSpillPedestalTrigger
 
bool isSpillTrigger
 
double laser_flash
 
double m1hits [5]
 
double m2hits [5]
 
double m3hits [5]
 
TFile * outFile
 
double qie_phase
 
int runNumber
 
double S1adc
 
double s1hits [5]
 
double S2adc
 
double s2hits [5]
 
double S3adc
 
double s3hits [5]
 
double S4adc
 
double s4hits [5]
 
double Sci521adc
 
double Sci528adc
 
double SciVLEadc
 
TDC tdc
 
double TOF1_time
 
double TOF1adc
 
double TOF2_time
 
double TOF2adc
 
TRIGGER trigger
 
double trigger_time
 
double ttc_L1a_time
 
double V3adc
 
double V6adc
 
double VH1adc
 
double VH2adc
 
double VH3adc
 
double VH4adc
 
double VM1adc
 
double VM2adc
 
double VM3adc
 
double VM4adc
 
double VM5adc
 
double VM6adc
 
double VM7adc
 
double VM8adc
 
double VMadc
 
double VMBadc
 
double VMFadc
 
std::vector< double > wcax
 
std::vector< double > wcay
 
std::vector< double > wcbx
 
std::vector< double > wcby
 
std::vector< double > wccx
 
std::vector< double > wccy
 
std::vector< double > wcdx
 
std::vector< double > wcdy
 
std::vector< double > wcex
 
std::vector< double > wcey
 
std::vector< double > wcfx
 
std::vector< double > wcfy
 
std::vector< double > wcgx
 
std::vector< double > wcgy
 
std::vector< double > wchx
 
std::vector< double > wchy
 
TTree * ZdcAnalize
 
ZDCN zdcn
 
ZDCP zdcp
 

Detailed Description

Definition at line 132 of file ZdcTBAnalysis.h.

Constructor & Destructor Documentation

◆ ZdcTBAnalysis()

ZdcTBAnalysis::ZdcTBAnalysis ( )

Definition at line 6 of file ZdcTBAnalysis.cc.

6 { ; }

Member Function Documentation

◆ analyze() [1/5]

void ZdcTBAnalysis::analyze ( const HcalTBBeamCounters bc)

Definition at line 139 of file ZdcTBAnalysis.cc.

139  {
140  //beam counters
141  adc.VM = VMadc = bc.VMadc();
142  adc.V3 = V3adc = bc.V3adc();
143  adc.V6 = V6adc = bc.V6adc();
144  adc.VH1 = VH1adc = bc.VH1adc();
145  adc.VH2 = VH2adc = bc.VH2adc();
146  adc.VH3 = VH3adc = bc.VH3adc();
147  adc.VH4 = VH4adc = bc.VH4adc();
148  adc.Ecal7x7 = Ecal7x7adc = bc.Ecal7x7();
149  adc.Sci521 = Sci521adc = bc.Sci521adc();
150  adc.Sci528 = Sci528adc = bc.Sci528adc();
151  adc.CK1 = CK1adc = bc.CK1adc();
152  adc.CK2 = CK2adc = bc.CK2adc();
153  adc.CK3 = CK3adc = bc.CK3adc();
154  adc.SciVLE = SciVLEadc = bc.SciVLEadc();
155  adc.S1 = S1adc = bc.S1adc();
156  adc.S2 = S2adc = bc.S2adc();
157  adc.S3 = S3adc = bc.S3adc();
158  adc.S4 = S4adc = bc.S4adc();
159  adc.VMF = VMFadc = bc.VMFadc();
160  adc.VMB = VMBadc = bc.VMBadc();
161  adc.VM1 = VM1adc = bc.VM1adc();
162  adc.VM2 = VM2adc = bc.VM2adc();
163  adc.VM3 = VM3adc = bc.VM3adc();
164  adc.VM4 = VM4adc = bc.VM4adc();
165  adc.VM5 = VM5adc = bc.VM5adc();
166  adc.VM6 = VM6adc = bc.VM6adc();
167  adc.VM7 = VM7adc = bc.VM7adc();
168  adc.VM8 = VM8adc = bc.VM8adc();
169  adc.TOF1 = TOF1adc = bc.TOF1Sadc();
170  adc.TOF2 = TOF2adc = bc.TOF2Sadc();
171  adc.BH1 = BH1adc = bc.BH1adc();
172  adc.BH2 = BH2adc = bc.BH2adc();
173  adc.BH3 = BH3adc = bc.BH3adc();
174  adc.BH4 = BH4adc = bc.BH4adc();
175 }

References adc, ADC::BH1, HcalTBBeamCounters::BH1adc(), BH1adc, ADC::BH2, HcalTBBeamCounters::BH2adc(), BH2adc, ADC::BH3, HcalTBBeamCounters::BH3adc(), BH3adc, ADC::BH4, HcalTBBeamCounters::BH4adc(), BH4adc, ADC::CK1, HcalTBBeamCounters::CK1adc(), CK1adc, ADC::CK2, HcalTBBeamCounters::CK2adc(), CK2adc, ADC::CK3, HcalTBBeamCounters::CK3adc(), CK3adc, HcalTBBeamCounters::Ecal7x7(), ADC::Ecal7x7, Ecal7x7adc, ADC::S1, HcalTBBeamCounters::S1adc(), S1adc, ADC::S2, HcalTBBeamCounters::S2adc(), S2adc, ADC::S3, HcalTBBeamCounters::S3adc(), S3adc, ADC::S4, HcalTBBeamCounters::S4adc(), S4adc, ADC::Sci521, HcalTBBeamCounters::Sci521adc(), Sci521adc, ADC::Sci528, HcalTBBeamCounters::Sci528adc(), Sci528adc, ADC::SciVLE, HcalTBBeamCounters::SciVLEadc(), SciVLEadc, ADC::TOF1, TOF1adc, HcalTBBeamCounters::TOF1Sadc(), ADC::TOF2, TOF2adc, HcalTBBeamCounters::TOF2Sadc(), ADC::V3, HcalTBBeamCounters::V3adc(), V3adc, ADC::V6, HcalTBBeamCounters::V6adc(), V6adc, ADC::VH1, HcalTBBeamCounters::VH1adc(), VH1adc, ADC::VH2, HcalTBBeamCounters::VH2adc(), VH2adc, ADC::VH3, HcalTBBeamCounters::VH3adc(), VH3adc, ADC::VH4, HcalTBBeamCounters::VH4adc(), VH4adc, ADC::VM, ADC::VM1, HcalTBBeamCounters::VM1adc(), VM1adc, ADC::VM2, HcalTBBeamCounters::VM2adc(), VM2adc, ADC::VM3, HcalTBBeamCounters::VM3adc(), VM3adc, ADC::VM4, HcalTBBeamCounters::VM4adc(), VM4adc, ADC::VM5, HcalTBBeamCounters::VM5adc(), VM5adc, ADC::VM6, HcalTBBeamCounters::VM6adc(), VM6adc, ADC::VM7, HcalTBBeamCounters::VM7adc(), VM7adc, ADC::VM8, HcalTBBeamCounters::VM8adc(), VM8adc, HcalTBBeamCounters::VMadc(), VMadc, ADC::VMB, HcalTBBeamCounters::VMBadc(), VMBadc, ADC::VMF, HcalTBBeamCounters::VMFadc(), and VMFadc.

◆ analyze() [2/5]

void ZdcTBAnalysis::analyze ( const HcalTBEventPosition chpos)

Definition at line 177 of file ZdcTBAnalysis.cc.

177  {
178  //chambers position
179  chpos.getChamberHits('A', wcax, wcay);
180  chpos.getChamberHits('B', wcbx, wcby);
181  chpos.getChamberHits('C', wccx, wccy);
182  chpos.getChamberHits('D', wcdx, wcdy);
183  chpos.getChamberHits('E', wcex, wcey);
184  chpos.getChamberHits('F', wcfx, wcfy);
185  chpos.getChamberHits('G', wcgx, wcgy);
186  chpos.getChamberHits('H', wchx, wchy);
187 
188  // just take 5 first hits of chambers (5 tick cycles)
189  unsigned int indTop = 5;
190  unsigned int indx = 0;
191  for (indx = 0; indx < wcax.size(); indx++)
192  if (indx < indTop)
193  chamb.WCAx[indx] = wcax[indx];
194  for (indx = 0; indx < wcay.size(); indx++)
195  if (indx < indTop)
196  chamb.WCAy[indx] = wcay[indx];
197  for (indx = 0; indx < wcbx.size(); indx++)
198  if (indx < indTop)
199  chamb.WCBx[indx] = wcbx[indx];
200  for (indx = 0; indx < wcby.size(); indx++)
201  if (indx < indTop)
202  chamb.WCBy[indx] = wcby[indx];
203  for (indx = 0; indx < wccx.size(); indx++)
204  if (indx < indTop)
205  chamb.WCCx[indx] = wccx[indx];
206  for (indx = 0; indx < wccy.size(); indx++)
207  if (indx < indTop)
208  chamb.WCCy[indx] = wccy[indx];
209  for (indx = 0; indx < wcdx.size(); indx++)
210  if (indx < indTop)
211  chamb.WCDx[indx] = wcdx[indx];
212  for (indx = 0; indx < wcdy.size(); indx++)
213  if (indx < indTop)
214  chamb.WCDy[indx] = wcdy[indx];
215  for (indx = 0; indx < wcdx.size(); indx++)
216  if (indx < indTop)
217  chamb.WCEx[indx] = wcex[indx];
218  for (indx = 0; indx < wcey.size(); indx++)
219  if (indx < indTop)
220  chamb.WCEy[indx] = wcey[indx];
221  for (indx = 0; indx < wcfx.size(); indx++)
222  if (indx < indTop)
223  chamb.WCFx[indx] = wcfx[indx];
224  for (indx = 0; indx < wcfy.size(); indx++)
225  if (indx < indTop)
226  chamb.WCFy[indx] = wcfy[indx];
227  for (indx = 0; indx < wcgx.size(); indx++)
228  if (indx < indTop)
229  chamb.WCGx[indx] = wcgx[indx];
230  for (indx = 0; indx < wcgy.size(); indx++)
231  if (indx < indTop)
232  chamb.WCGy[indx] = wcgy[indx];
233  for (indx = 0; indx < wchx.size(); indx++)
234  if (indx < indTop)
235  chamb.WCHx[indx] = wchx[indx];
236  for (indx = 0; indx < wchy.size(); indx++)
237  if (indx < indTop)
238  chamb.WCHy[indx] = wchy[indx];
239 }

References chamb, HcalTBEventPosition::getChamberHits(), CHAMB::WCAx, wcax, CHAMB::WCAy, wcay, CHAMB::WCBx, wcbx, CHAMB::WCBy, wcby, CHAMB::WCCx, wccx, CHAMB::WCCy, wccy, CHAMB::WCDx, wcdx, CHAMB::WCDy, wcdy, CHAMB::WCEx, wcex, CHAMB::WCEy, wcey, CHAMB::WCFx, wcfx, CHAMB::WCFy, wcfy, CHAMB::WCGx, wcgx, CHAMB::WCGy, wcgy, CHAMB::WCHx, wchx, CHAMB::WCHy, and wchy.

◆ analyze() [3/5]

void ZdcTBAnalysis::analyze ( const HcalTBTiming times)

Definition at line 89 of file ZdcTBAnalysis.cc.

89  {
90  //times
91  tdc.trigger = trigger_time = times.triggerTime();
92  tdc.ttcL1 = ttc_L1a_time = times.ttcL1Atime();
94  tdc.qiePhase = qie_phase = times.qiePhase();
95  tdc.TOF1 = TOF1_time = times.TOF1Stime();
96  tdc.TOF2 = TOF2_time = times.TOF2Stime();
97 
98  // just take 5 first hits of multihit tdc (5 tick cycles)
99  int indx = 0;
100  int indTop = 5;
101  for (indx = 0; indx < times.BeamCoincidenceCount(); indx++)
102  if (indx < indTop)
103  tdc.beamCoincidence[indx] = beam_coincidence[indx] = times.BeamCoincidenceHits(indx);
104  for (indx = 0; indx < times.M1Count(); indx++)
105  if (indx < indTop)
106  tdc.m1[indx] = m1hits[indx] = times.M1Hits(indx);
107  for (indx = 0; indx < times.M2Count(); indx++)
108  if (indx < indTop)
109  tdc.m2[indx] = m2hits[indx] = times.M2Hits(indx);
110  for (indx = 0; indx < times.M3Count(); indx++)
111  if (indx < indTop)
112  tdc.m3[indx] = m3hits[indx] = times.M3Hits(indx);
113  for (indx = 0; indx < times.S1Count(); indx++)
114  if (indx < indTop)
115  tdc.s1[indx] = s1hits[indx] = times.S1Hits(indx);
116  for (indx = 0; indx < times.S2Count(); indx++)
117  if (indx < indTop)
118  tdc.s2[indx] = s2hits[indx] = times.S2Hits(indx);
119  for (indx = 0; indx < times.S3Count(); indx++)
120  if (indx < indTop)
121  tdc.s3[indx] = s3hits[indx] = times.S3Hits(indx);
122  for (indx = 0; indx < times.S4Count(); indx++)
123  if (indx < indTop)
124  tdc.s4[indx] = s4hits[indx] = times.S4Hits(indx);
125  for (indx = 0; indx < times.BH1Count(); indx++)
126  if (indx < indTop)
127  tdc.bh1[indx] = bh1hits[indx] = times.BH1Hits(indx);
128  for (indx = 0; indx < times.BH2Count(); indx++)
129  if (indx < indTop)
130  tdc.bh2[indx] = bh2hits[indx] = times.BH2Hits(indx);
131  for (indx = 0; indx < times.BH3Count(); indx++)
132  if (indx < indTop)
133  tdc.bh3[indx] = bh3hits[indx] = times.BH3Hits(indx);
134  for (indx = 0; indx < times.BH4Count(); indx++)
135  if (indx < indTop)
136  tdc.bh4[indx] = bh4hits[indx] = times.BH4Hits(indx);
137 }

References beam_coincidence, TDC::beamCoincidence, HcalTBTiming::BeamCoincidenceCount(), HcalTBTiming::BeamCoincidenceHits(), TDC::bh1, HcalTBTiming::BH1Count(), HcalTBTiming::BH1Hits(), bh1hits, TDC::bh2, HcalTBTiming::BH2Count(), HcalTBTiming::BH2Hits(), bh2hits, TDC::bh3, HcalTBTiming::BH3Count(), HcalTBTiming::BH3Hits(), bh3hits, TDC::bh4, HcalTBTiming::BH4Count(), HcalTBTiming::BH4Hits(), bh4hits, laser_flash, TDC::laserFlash, HcalTBTiming::laserFlash(), TDC::m1, HcalTBTiming::M1Count(), HcalTBTiming::M1Hits(), m1hits, TDC::m2, HcalTBTiming::M2Count(), HcalTBTiming::M2Hits(), m2hits, TDC::m3, HcalTBTiming::M3Count(), HcalTBTiming::M3Hits(), m3hits, qie_phase, TDC::qiePhase, HcalTBTiming::qiePhase(), TDC::s1, HcalTBTiming::S1Count(), HcalTBTiming::S1Hits(), s1hits, TDC::s2, HcalTBTiming::S2Count(), HcalTBTiming::S2Hits(), s2hits, TDC::s3, HcalTBTiming::S3Count(), HcalTBTiming::S3Hits(), s3hits, TDC::s4, HcalTBTiming::S4Count(), HcalTBTiming::S4Hits(), s4hits, tdc, TDC::TOF1, TOF1_time, HcalTBTiming::TOF1Stime(), TDC::TOF2, TOF2_time, HcalTBTiming::TOF2Stime(), TDC::trigger, trigger_time, HcalTBTiming::triggerTime(), ttc_L1a_time, TDC::ttcL1, and HcalTBTiming::ttcL1Atime().

◆ analyze() [4/5]

void ZdcTBAnalysis::analyze ( const HcalTBTriggerData trg)

Definition at line 55 of file ZdcTBAnalysis.cc.

55  {
56  // trigger
57  trigger.runNum = runNumber = trg.runNumber();
58  trigger.eventNum = eventNumber = trg.eventNumber();
66  isSpillTrigger = trg.wasInSpill();
67 
68  trigger.beamTrigger = trigger.fakeTrigger = trigger.calibTrigger = trigger.outSpillPedestalTrigger =
69  trigger.inSpillPedestalTrigger = trigger.laserTrigger = trigger.ledTrigger = trigger.spillTrigger = 0;
70 
71  if (isBeamTrigger)
72  trigger.beamTrigger = 1;
73  if (isFakeTrigger)
74  trigger.fakeTrigger = 1;
75  if (isCalibTrigger)
76  trigger.calibTrigger = 1;
78  trigger.outSpillPedestalTrigger = 1;
80  trigger.inSpillPedestalTrigger = 1;
81  if (isLaserTrigger)
82  trigger.laserTrigger = 1;
83  if (isLedTrigger)
84  trigger.ledTrigger = 1;
85  if (isSpillTrigger)
86  trigger.spillTrigger = 1;
87 }

References HcalTBTriggerData::eventNumber(), eventNumber, isBeamTrigger, isCalibTrigger, isFakeTrigger, isInSpillPedestalTrigger, isLaserTrigger, isLedTrigger, isOutSpillPedestalTrigger, isSpillTrigger, HcalTBTriggerData::runNumber(), runNumber, HcalTBTriggerData::wasBeamTrigger(), HcalTBTriggerData::wasFakeTrigger(), HcalTBTriggerData::wasInSpill(), HcalTBTriggerData::wasInSpillPedestalTrigger(), HcalTBTriggerData::wasLaserTrigger(), HcalTBTriggerData::wasLEDTrigger(), HcalTBTriggerData::wasOutSpillPedestalTrigger(), and HcalTBTriggerData::wasSpillIgnorantPedestalTrigger().

◆ analyze() [5/5]

void ZdcTBAnalysis::analyze ( const ZDCRecHitCollection hf)

Definition at line 241 of file ZdcTBAnalysis.cc.

241  {
242  // zdc hits
243  std::cout << "****************************************************" << std::endl;
245  for (i = zdcHits.begin(); i != zdcHits.end(); i++) {
246  energy = i->energy();
247  detID = i->id();
248  iside = detID.zside();
249  isection = detID.section();
250  ichannel = detID.channel();
251  idepth = detID.depth();
252  std::cout << "energy: " << energy << " detID: " << detID << " side: " << iside << " section: " << isection
253  << " channel: " << ichannel << " depth: " << idepth << std::endl;
254 
255  if (iside > 0) {
256  if (ichannel == 1 && isection == 1)
258  if (ichannel == 2 && isection == 1)
260  if (ichannel == 3 && isection == 1)
262  if (ichannel == 4 && isection == 1)
264  if (ichannel == 5 && isection == 1)
266  if (ichannel == 1 && isection == 2)
268  if (ichannel == 2 && isection == 2)
270  if (ichannel == 3 && isection == 2)
272  if (ichannel == 4 && isection == 2)
274  if (ichannel == 1 && isection == 3)
276  }
277  if (iside < 0) {
278  if (ichannel == 1 && isection == 1)
280  if (ichannel == 2 && isection == 1)
282  if (ichannel == 3 && isection == 1)
284  if (ichannel == 4 && isection == 1)
286  if (ichannel == 5 && isection == 1)
288  if (ichannel == 1 && isection == 2)
290  if (ichannel == 2 && isection == 2)
292  if (ichannel == 3 && isection == 2)
294  if (ichannel == 4 && isection == 2)
296  if (ichannel == 1 && isection == 3)
298  }
299  }
300 }

References edm::SortedCollection< T, SORT >::begin(), HcalZDCDetId::channel(), gather_cfg::cout, HcalZDCDetId::depth(), detID, edm::SortedCollection< T, SORT >::end(), energy, mps_fire::i, ichannel, idepth, isection, iside, HcalZDCDetId::section(), ZDCN::zdcEMMod1, ZDCP::zdcEMMod1, ZDCN::zdcEMMod2, ZDCP::zdcEMMod2, ZDCN::zdcEMMod3, ZDCP::zdcEMMod3, ZDCN::zdcEMMod4, ZDCP::zdcEMMod4, ZDCN::zdcEMMod5, ZDCP::zdcEMMod5, ZDCN::zdcHADMod1, ZDCP::zdcHADMod1, ZDCN::zdcHADMod2, ZDCP::zdcHADMod2, ZDCN::zdcHADMod3, ZDCP::zdcHADMod3, ZDCN::zdcHADMod4, ZDCP::zdcHADMod4, zdcn, zdcp, ZDCN::zdcScint1, ZDCP::zdcScint1, and HcalZDCDetId::zside().

Referenced by ZdcTBAnalyzer::analyze().

◆ done()

void ZdcTBAnalysis::done ( )

Definition at line 304 of file ZdcTBAnalysis.cc.

304  {
305  ZdcAnalize->Print();
306  outFile->cd();
307  ZdcAnalize->Write();
308  outFile->Close();
309 }

References outFile, and ZdcAnalize.

Referenced by ZdcTBAnalyzer::endJob().

◆ fillTree()

void ZdcTBAnalysis::fillTree ( )

Definition at line 302 of file ZdcTBAnalysis.cc.

302 { ZdcAnalize->Fill(); }

References ZdcAnalize.

Referenced by ZdcTBAnalyzer::analyze().

◆ setup()

void ZdcTBAnalysis::setup ( const std::string &  histoFileName)

Definition at line 8 of file ZdcTBAnalysis.cc.

8  {
9  TString outName = outFileName;
10  outFile = new TFile(outName, "RECREATE");
11  ZdcAnalize = new TTree("ZdcAnaTree", "ZdcAnaTree");
12  ZdcAnalize->Branch("Trigger",
13  0,
14  "run/I:event/I:beamTrigger/I:fakeTrigger/I:"
15  "pedestalTrigger/I:outSpillPedestalTrigger/I:inSpillPedestalTrigger/I:"
16  "laserTrigger/I:laserTrigger/I:ledTrigger/I:spillTrigger/I");
17  ZdcAnalize->Branch("TDC",
18  0,
19  "trigger/D:ttcL1/D:beamCoincidence/D:laserFlash/D:qiePhase/D:"
20  "TTOF1/D:TTOF2/D:m1[5]/D:m2[5]/D:m3[5]/D:"
21  "s1[5]/D:s2[5]/D:s3[5]/D:s4[5]/D:"
22  "bh1[5]/D:bh2[5]/D:bh3[5]/D:bh4[5]/D");
23  ZdcAnalize->Branch("ADC",
24  0,
25  "VM/D:V3/D:V6/D:VH1/D:VH2/D:VH3/D:VH4/D:Ecal7x7/D:"
26  "Sci521/D:Sci528/D:CK1/D:CK2/D:CK3/D:SciVLE/D:S1/D:S2/D:S3/D:S4/D:"
27  "VMF/D:VMB/D:VM1/D:VM2/D:VM3/D:VM4/D:VM5/D:VM6/D:VM7/D:VM8/D:"
28  "TOF1/D:TOF2/D:BH1/D:BH2/D:BH3/BH4/D");
29  ZdcAnalize->Branch("Chamb",
30  0,
31  "WCAx[5]/D:WCAy[5]/D:WCBx[5]/D:WCBy[5]/D:"
32  "WCCx[5]/D:WCCy[5]/D:WCDx[5]/D:WCDy[5]/D:WCEx[5]/D:WCEy[5]/D:"
33  "WCFx[5]/D:WCFy[5]/D:WCGx[5]/D:WCGy[5]/D:WCHx[5]/D:WCHy[5]/D");
34  ZdcAnalize->Branch("ZDCP",
35  0,
36  "zdcHAD1/D:zdcHAD2/D:zdcHAD3/D:zdcHAD4/D:"
37  "zdcEM1/D:zdcEM2/D:zdcEM3/D:zdcEM4/D:zdcEM5/D:"
38  "zdcScint1/D:zdcScint2/D:"
39  "zdcExtras[7]/D");
40  ZdcAnalize->Branch("ZDCN",
41  0,
42  "zdcHAD1/D:zdcHAD2/D:zdcHAD3/D:zdcHAD4/D:"
43  "zdcEM1/D:zdcEM2/D:zdcEM3/D:zdcEM4/D:zdcEM5/D:"
44  "zdcScint1/D:zdcScint2/D:"
45  "zdcExtras[7]/D");
46  ZdcAnalize->GetBranch("Trigger")->SetAddress(&trigger);
47  ZdcAnalize->GetBranch("TDC")->SetAddress(&tdc);
48  ZdcAnalize->GetBranch("ADC")->SetAddress(&adc);
49  ZdcAnalize->GetBranch("Chamb")->SetAddress(&chamb);
50  ZdcAnalize->GetBranch("ZDCP")->SetAddress(&zdcp);
51  ZdcAnalize->GetBranch("ZDCN")->SetAddress(&zdcn);
52  ZdcAnalize->SetAutoSave();
53 }

References adc, chamb, outFile, DeadROC_duringRun::outFileName, dataset::outName, tdc, ZdcAnalize, zdcn, and zdcp.

Referenced by ZdcTBAnalyzer::ZdcTBAnalyzer().

Member Data Documentation

◆ adc

ADC ZdcTBAnalysis::adc
private

Definition at line 239 of file ZdcTBAnalysis.h.

Referenced by analyze(), and setup().

◆ beam_coincidence

double ZdcTBAnalysis::beam_coincidence[5]
private

Definition at line 165 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ BH1adc

double ZdcTBAnalysis::BH1adc
private

Definition at line 215 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ bh1hits

double ZdcTBAnalysis::bh1hits[5]
private

Definition at line 178 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ BH2adc

double ZdcTBAnalysis::BH2adc
private

Definition at line 216 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ bh2hits

double ZdcTBAnalysis::bh2hits[5]
private

Definition at line 179 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ BH3adc

double ZdcTBAnalysis::BH3adc
private

Definition at line 217 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ bh3hits

double ZdcTBAnalysis::bh3hits[5]
private

Definition at line 180 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ BH4adc

double ZdcTBAnalysis::BH4adc
private

Definition at line 218 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ bh4hits

double ZdcTBAnalysis::bh4hits[5]
private

Definition at line 181 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ chamb

CHAMB ZdcTBAnalysis::chamb
private

Definition at line 240 of file ZdcTBAnalysis.h.

Referenced by analyze(), and setup().

◆ CK1adc

double ZdcTBAnalysis::CK1adc
private

Definition at line 194 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ CK2adc

double ZdcTBAnalysis::CK2adc
private

Definition at line 195 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ CK3adc

double ZdcTBAnalysis::CK3adc
private

Definition at line 196 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ detID

HcalZDCDetId ZdcTBAnalysis::detID
private

Definition at line 150 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ Ecal7x7adc

double ZdcTBAnalysis::Ecal7x7adc
private

Definition at line 190 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ energy

double ZdcTBAnalysis::energy
private

Definition at line 149 of file ZdcTBAnalysis.h.

Referenced by analyze(), and Jet.Jet::rawEnergy().

◆ eventNumber

int ZdcTBAnalysis::eventNumber
private

Definition at line 153 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ ichannel

int ZdcTBAnalysis::ichannel
private

Definition at line 147 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ idepth

int ZdcTBAnalysis::idepth
private

Definition at line 148 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isBeamTrigger

bool ZdcTBAnalysis::isBeamTrigger
private

Definition at line 154 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isCalibTrigger

bool ZdcTBAnalysis::isCalibTrigger
private

Definition at line 156 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isection

int ZdcTBAnalysis::isection
private

Definition at line 146 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isFakeTrigger

bool ZdcTBAnalysis::isFakeTrigger
private

Definition at line 155 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ iside

int ZdcTBAnalysis::iside
private

Definition at line 145 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isInSpillPedestalTrigger

bool ZdcTBAnalysis::isInSpillPedestalTrigger
private

Definition at line 158 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isLaserTrigger

bool ZdcTBAnalysis::isLaserTrigger
private

Definition at line 159 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isLedTrigger

bool ZdcTBAnalysis::isLedTrigger
private

Definition at line 160 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isOutSpillPedestalTrigger

bool ZdcTBAnalysis::isOutSpillPedestalTrigger
private

Definition at line 157 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ isSpillTrigger

bool ZdcTBAnalysis::isSpillTrigger
private

Definition at line 161 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ laser_flash

double ZdcTBAnalysis::laser_flash
private

Definition at line 166 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ m1hits

double ZdcTBAnalysis::m1hits[5]
private

Definition at line 171 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ m2hits

double ZdcTBAnalysis::m2hits[5]
private

Definition at line 172 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ m3hits

double ZdcTBAnalysis::m3hits[5]
private

Definition at line 173 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ outFile

TFile* ZdcTBAnalysis::outFile
private

◆ qie_phase

double ZdcTBAnalysis::qie_phase
private

Definition at line 167 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ runNumber

int ZdcTBAnalysis::runNumber
private

Definition at line 152 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ S1adc

double ZdcTBAnalysis::S1adc
private

Definition at line 198 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ s1hits

double ZdcTBAnalysis::s1hits[5]
private

Definition at line 174 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ S2adc

double ZdcTBAnalysis::S2adc
private

Definition at line 199 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ s2hits

double ZdcTBAnalysis::s2hits[5]
private

Definition at line 175 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ S3adc

double ZdcTBAnalysis::S3adc
private

Definition at line 200 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ s3hits

double ZdcTBAnalysis::s3hits[5]
private

Definition at line 176 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ S4adc

double ZdcTBAnalysis::S4adc
private

Definition at line 201 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ s4hits

double ZdcTBAnalysis::s4hits[5]
private

Definition at line 177 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ Sci521adc

double ZdcTBAnalysis::Sci521adc
private

Definition at line 191 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ Sci528adc

double ZdcTBAnalysis::Sci528adc
private

Definition at line 192 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ SciVLEadc

double ZdcTBAnalysis::SciVLEadc
private

Definition at line 197 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ tdc

TDC ZdcTBAnalysis::tdc
private

Definition at line 238 of file ZdcTBAnalysis.h.

Referenced by analyze(), and setup().

◆ TOF1_time

double ZdcTBAnalysis::TOF1_time
private

Definition at line 168 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ TOF1adc

double ZdcTBAnalysis::TOF1adc
private

Definition at line 213 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ TOF2_time

double ZdcTBAnalysis::TOF2_time
private

Definition at line 169 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ TOF2adc

double ZdcTBAnalysis::TOF2adc
private

Definition at line 214 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ trigger

TRIGGER ZdcTBAnalysis::trigger
private

Definition at line 237 of file ZdcTBAnalysis.h.

◆ trigger_time

double ZdcTBAnalysis::trigger_time
private

Definition at line 163 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ ttc_L1a_time

double ZdcTBAnalysis::ttc_L1a_time
private

Definition at line 164 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ V3adc

double ZdcTBAnalysis::V3adc
private

Definition at line 184 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ V6adc

double ZdcTBAnalysis::V6adc
private

Definition at line 185 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VH1adc

double ZdcTBAnalysis::VH1adc
private

Definition at line 186 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VH2adc

double ZdcTBAnalysis::VH2adc
private

Definition at line 187 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VH3adc

double ZdcTBAnalysis::VH3adc
private

Definition at line 188 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VH4adc

double ZdcTBAnalysis::VH4adc
private

Definition at line 189 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM1adc

double ZdcTBAnalysis::VM1adc
private

Definition at line 205 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM2adc

double ZdcTBAnalysis::VM2adc
private

Definition at line 206 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM3adc

double ZdcTBAnalysis::VM3adc
private

Definition at line 207 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM4adc

double ZdcTBAnalysis::VM4adc
private

Definition at line 208 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM5adc

double ZdcTBAnalysis::VM5adc
private

Definition at line 209 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM6adc

double ZdcTBAnalysis::VM6adc
private

Definition at line 210 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM7adc

double ZdcTBAnalysis::VM7adc
private

Definition at line 211 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VM8adc

double ZdcTBAnalysis::VM8adc
private

Definition at line 212 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VMadc

double ZdcTBAnalysis::VMadc
private

Definition at line 183 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VMBadc

double ZdcTBAnalysis::VMBadc
private

Definition at line 204 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ VMFadc

double ZdcTBAnalysis::VMFadc
private

Definition at line 203 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcax

std::vector<double> ZdcTBAnalysis::wcax
private

Definition at line 220 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcay

std::vector<double> ZdcTBAnalysis::wcay
private

Definition at line 221 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcbx

std::vector<double> ZdcTBAnalysis::wcbx
private

Definition at line 222 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcby

std::vector<double> ZdcTBAnalysis::wcby
private

Definition at line 223 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wccx

std::vector<double> ZdcTBAnalysis::wccx
private

Definition at line 224 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wccy

std::vector<double> ZdcTBAnalysis::wccy
private

Definition at line 225 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcdx

std::vector<double> ZdcTBAnalysis::wcdx
private

Definition at line 226 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcdy

std::vector<double> ZdcTBAnalysis::wcdy
private

Definition at line 227 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcex

std::vector<double> ZdcTBAnalysis::wcex
private

Definition at line 228 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcey

std::vector<double> ZdcTBAnalysis::wcey
private

Definition at line 229 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcfx

std::vector<double> ZdcTBAnalysis::wcfx
private

Definition at line 230 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcfy

std::vector<double> ZdcTBAnalysis::wcfy
private

Definition at line 231 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcgx

std::vector<double> ZdcTBAnalysis::wcgx
private

Definition at line 232 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wcgy

std::vector<double> ZdcTBAnalysis::wcgy
private

Definition at line 233 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wchx

std::vector<double> ZdcTBAnalysis::wchx
private

Definition at line 234 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ wchy

std::vector<double> ZdcTBAnalysis::wchy
private

Definition at line 235 of file ZdcTBAnalysis.h.

Referenced by analyze().

◆ ZdcAnalize

TTree* ZdcTBAnalysis::ZdcAnalize
private

Definition at line 245 of file ZdcTBAnalysis.h.

Referenced by done(), fillTree(), and setup().

◆ zdcn

ZDCN ZdcTBAnalysis::zdcn
private

Definition at line 242 of file ZdcTBAnalysis.h.

Referenced by analyze(), and setup().

◆ zdcp

ZDCP ZdcTBAnalysis::zdcp
private

Definition at line 241 of file ZdcTBAnalysis.h.

Referenced by analyze(), and setup().

ZDCP::zdcHADMod4
double zdcHADMod4
Definition: ZdcTBAnalysis.h:121
ADC::VMF
double VMF
Definition: ZdcTBAnalysis.h:65
CHAMB::WCEy
double WCEy[5]
Definition: ZdcTBAnalysis.h:93
HcalTBTriggerData::wasLEDTrigger
bool wasLEDTrigger() const
returns true if this was a LED trigger
Definition: HcalTBTriggerData.h:93
ZdcTBAnalysis::wcgy
std::vector< double > wcgy
Definition: ZdcTBAnalysis.h:233
HcalTBTiming::M2Count
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
Definition: HcalTBTiming.h:48
ZdcTBAnalysis::eventNumber
int eventNumber
Definition: ZdcTBAnalysis.h:153
HcalTBBeamCounters::Ecal7x7
double Ecal7x7() const
Definition: HcalTBBeamCounters.h:22
ZdcTBAnalysis::qie_phase
double qie_phase
Definition: ZdcTBAnalysis.h:167
HcalTBBeamCounters::VM4adc
double VM4adc() const
Definition: HcalTBBeamCounters.h:38
ADC::TOF1
double TOF1
Definition: ZdcTBAnalysis.h:75
ZdcTBAnalysis::TOF2_time
double TOF2_time
Definition: ZdcTBAnalysis.h:169
ZdcTBAnalysis::chamb
CHAMB chamb
Definition: ZdcTBAnalysis.h:240
ZdcTBAnalysis::isSpillTrigger
bool isSpillTrigger
Definition: ZdcTBAnalysis.h:161
ZdcTBAnalysis::VH2adc
double VH2adc
Definition: ZdcTBAnalysis.h:187
ADC::Sci528
double Sci528
Definition: ZdcTBAnalysis.h:56
ZdcTBAnalysis::bh3hits
double bh3hits[5]
Definition: ZdcTBAnalysis.h:180
ZdcTBAnalysis::wcex
std::vector< double > wcex
Definition: ZdcTBAnalysis.h:228
HcalTBTiming::BH3Count
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
Definition: HcalTBTiming.h:66
mps_fire.i
i
Definition: mps_fire.py:428
TDC::ttcL1
double ttcL1
Definition: ZdcTBAnalysis.h:27
ADC::CK1
double CK1
Definition: ZdcTBAnalysis.h:57
ZdcTBAnalysis::isBeamTrigger
bool isBeamTrigger
Definition: ZdcTBAnalysis.h:154
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
ZdcTBAnalysis::VM8adc
double VM8adc
Definition: ZdcTBAnalysis.h:212
ZDCN::zdcHADMod1
double zdcHADMod1
Definition: ZdcTBAnalysis.h:103
ZdcTBAnalysis::isCalibTrigger
bool isCalibTrigger
Definition: ZdcTBAnalysis.h:156
TDC::qiePhase
double qiePhase
Definition: ZdcTBAnalysis.h:30
CHAMB::WCDx
double WCDx[5]
Definition: ZdcTBAnalysis.h:90
ZdcTBAnalysis::zdcp
ZDCP zdcp
Definition: ZdcTBAnalysis.h:241
ZdcTBAnalysis::beam_coincidence
double beam_coincidence[5]
Definition: ZdcTBAnalysis.h:165
ADC::S2
double S2
Definition: ZdcTBAnalysis.h:62
ZDCN::zdcScint1
double zdcScint1
Definition: ZdcTBAnalysis.h:112
ZDCN::zdcEMMod2
double zdcEMMod2
Definition: ZdcTBAnalysis.h:108
CHAMB::WCAy
double WCAy[5]
Definition: ZdcTBAnalysis.h:85
HcalTBBeamCounters::VM2adc
double VM2adc() const
Definition: HcalTBBeamCounters.h:36
CHAMB::WCBx
double WCBx[5]
Definition: ZdcTBAnalysis.h:86
ZdcTBAnalysis::V3adc
double V3adc
Definition: ZdcTBAnalysis.h:184
ZdcTBAnalysis::wcax
std::vector< double > wcax
Definition: ZdcTBAnalysis.h:220
HcalZDCDetId::depth
int depth() const
get the depth (1 for EM, channel + 1 for HAD, 2 for RPD, not sure yet for LUM, leave as default)
Definition: HcalZDCDetId.cc:51
ZDCN::zdcEMMod3
double zdcEMMod3
Definition: ZdcTBAnalysis.h:109
HcalTBBeamCounters::TOF2Sadc
double TOF2Sadc() const
Definition: HcalTBBeamCounters.h:45
HcalTBBeamCounters::S1adc
double S1adc() const
Definition: HcalTBBeamCounters.h:29
ADC::VM5
double VM5
Definition: ZdcTBAnalysis.h:71
HcalTBTiming::S1Hits
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:80
HcalTBTriggerData::eventNumber
uint16_t eventNumber() const
Returns the event number of this trigger.
Definition: HcalTBTriggerData.h:40
ZDCP::zdcEMMod4
double zdcEMMod4
Definition: ZdcTBAnalysis.h:125
ZdcTBAnalysis::wchy
std::vector< double > wchy
Definition: ZdcTBAnalysis.h:235
ZdcTBAnalysis::zdcn
ZDCN zdcn
Definition: ZdcTBAnalysis.h:242
ZdcTBAnalysis::VMadc
double VMadc
Definition: ZdcTBAnalysis.h:183
ZdcTBAnalysis::bh2hits
double bh2hits[5]
Definition: ZdcTBAnalysis.h:179
ZdcTBAnalysis::wcbx
std::vector< double > wcbx
Definition: ZdcTBAnalysis.h:222
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HcalTBBeamCounters::BH1adc
double BH1adc() const
Definition: HcalTBBeamCounters.h:47
HcalZDCDetId::channel
int channel() const
get the channel
Definition: HcalZDCDetId.cc:63
HcalTBTiming::S2Count
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:55
ADC::Sci521
double Sci521
Definition: ZdcTBAnalysis.h:55
ZDCP::zdcHADMod3
double zdcHADMod3
Definition: ZdcTBAnalysis.h:120
HcalTBBeamCounters::VMadc
double VMadc() const
Muon Veto adc.
Definition: HcalTBBeamCounters.h:15
ZDCP::zdcEMMod1
double zdcEMMod1
Definition: ZdcTBAnalysis.h:122
ZdcTBAnalysis::S3adc
double S3adc
Definition: ZdcTBAnalysis.h:200
HcalTBTriggerData::runNumber
uint32_t runNumber() const
Returns the current run number.
Definition: HcalTBTriggerData.h:26
ZdcTBAnalysis::bh1hits
double bh1hits[5]
Definition: ZdcTBAnalysis.h:178
ZdcTBAnalysis::s1hits
double s1hits[5]
Definition: ZdcTBAnalysis.h:174
HcalTBBeamCounters::VMBadc
double VMBadc() const
Definition: HcalTBBeamCounters.h:34
ZdcTBAnalysis::ichannel
int ichannel
Definition: ZdcTBAnalysis.h:147
HcalTBBeamCounters::VMFadc
double VMFadc() const
Definition: HcalTBBeamCounters.h:33
HcalTBBeamCounters::V6adc
double V6adc() const
Definition: HcalTBBeamCounters.h:17
ZdcTBAnalysis::VM1adc
double VM1adc
Definition: ZdcTBAnalysis.h:205
TDC::trigger
double trigger
Definition: ZdcTBAnalysis.h:26
ZdcTBAnalysis::energy
double energy
Definition: ZdcTBAnalysis.h:149
HcalTBTiming::S2Hits
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:82
HcalTBBeamCounters::TOF1Sadc
double TOF1Sadc() const
Definition: HcalTBBeamCounters.h:43
ADC::VM8
double VM8
Definition: ZdcTBAnalysis.h:74
ZdcTBAnalysis::TOF1adc
double TOF1adc
Definition: ZdcTBAnalysis.h:213
ZdcTBAnalysis::s3hits
double s3hits[5]
Definition: ZdcTBAnalysis.h:176
ADC::VH3
double VH3
Definition: ZdcTBAnalysis.h:52
DeadROC_duringRun.outFileName
outFileName
Definition: DeadROC_duringRun.py:215
ZdcTBAnalysis::VM2adc
double VM2adc
Definition: ZdcTBAnalysis.h:206
HcalTBBeamCounters::CK1adc
double CK1adc() const
Definition: HcalTBBeamCounters.h:23
CHAMB::WCCx
double WCCx[5]
Definition: ZdcTBAnalysis.h:88
ADC::BH1
double BH1
Definition: ZdcTBAnalysis.h:77
ZdcTBAnalysis::BH3adc
double BH3adc
Definition: ZdcTBAnalysis.h:217
CHAMB::WCGx
double WCGx[5]
Definition: ZdcTBAnalysis.h:96
ADC::TOF2
double TOF2
Definition: ZdcTBAnalysis.h:76
TDC::m2
double m2[5]
Definition: ZdcTBAnalysis.h:34
ADC::V6
double V6
Definition: ZdcTBAnalysis.h:49
ADC::VM
double VM
Definition: ZdcTBAnalysis.h:47
ZdcTBAnalysis::SciVLEadc
double SciVLEadc
Definition: ZdcTBAnalysis.h:197
TDC::beamCoincidence
double beamCoincidence[5]
Definition: ZdcTBAnalysis.h:28
HcalTBTriggerData::wasSpillIgnorantPedestalTrigger
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
Definition: HcalTBTriggerData.h:79
ADC::VM2
double VM2
Definition: ZdcTBAnalysis.h:68
HcalTBTiming::M1Count
int M1Count() const
Returns the number of hits from muon veto scintillator M1.
Definition: HcalTBTiming.h:46
ADC::VM3
double VM3
Definition: ZdcTBAnalysis.h:69
ADC::VH4
double VH4
Definition: ZdcTBAnalysis.h:53
ADC::S4
double S4
Definition: ZdcTBAnalysis.h:64
ZdcTBAnalysis::BH2adc
double BH2adc
Definition: ZdcTBAnalysis.h:216
ZdcTBAnalysis::bh4hits
double bh4hits[5]
Definition: ZdcTBAnalysis.h:181
ZdcTBAnalysis::isOutSpillPedestalTrigger
bool isOutSpillPedestalTrigger
Definition: ZdcTBAnalysis.h:157
HcalTBTiming::BH2Count
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
Definition: HcalTBTiming.h:64
HcalTBTiming::S1Count
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:53
TDC::s2
double s2[5]
Definition: ZdcTBAnalysis.h:37
ZdcTBAnalysis::runNumber
int runNumber
Definition: ZdcTBAnalysis.h:152
HcalTBTiming::S4Count
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:59
HcalTBBeamCounters::SciVLEadc
double SciVLEadc() const
Definition: HcalTBBeamCounters.h:26
ADC::VH2
double VH2
Definition: ZdcTBAnalysis.h:51
ZdcTBAnalysis::adc
ADC adc
Definition: ZdcTBAnalysis.h:239
TDC::bh1
double bh1[5]
Definition: ZdcTBAnalysis.h:40
ZdcTBAnalysis::wcfy
std::vector< double > wcfy
Definition: ZdcTBAnalysis.h:231
HcalTBBeamCounters::Sci528adc
double Sci528adc() const
Definition: HcalTBBeamCounters.h:28
ZdcTBAnalysis::outFile
TFile * outFile
Definition: ZdcTBAnalysis.h:244
TDC::s1
double s1[5]
Definition: ZdcTBAnalysis.h:36
ZdcTBAnalysis::wcay
std::vector< double > wcay
Definition: ZdcTBAnalysis.h:221
CHAMB::WCFy
double WCFy[5]
Definition: ZdcTBAnalysis.h:95
HcalTBTiming::BeamCoincidenceHits
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
Definition: HcalTBTiming.h:71
ZdcTBAnalysis::VM7adc
double VM7adc
Definition: ZdcTBAnalysis.h:211
ZdcTBAnalysis::trigger_time
double trigger_time
Definition: ZdcTBAnalysis.h:163
ADC::VH1
double VH1
Definition: ZdcTBAnalysis.h:50
ZDCN::zdcEMMod5
double zdcEMMod5
Definition: ZdcTBAnalysis.h:111
ZdcTBAnalysis::VM6adc
double VM6adc
Definition: ZdcTBAnalysis.h:210
HcalTBBeamCounters::VM3adc
double VM3adc() const
Definition: HcalTBBeamCounters.h:37
ADC::VMB
double VMB
Definition: ZdcTBAnalysis.h:66
ZdcTBAnalysis::isInSpillPedestalTrigger
bool isInSpillPedestalTrigger
Definition: ZdcTBAnalysis.h:158
ZdcTBAnalysis::m1hits
double m1hits[5]
Definition: ZdcTBAnalysis.h:171
HcalTBTiming::S4Hits
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:86
ZdcTBAnalysis::wcey
std::vector< double > wcey
Definition: ZdcTBAnalysis.h:229
HcalTBTiming::qiePhase
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
Definition: HcalTBTiming.h:32
ZdcTBAnalysis::VH4adc
double VH4adc
Definition: ZdcTBAnalysis.h:189
ADC::V3
double V3
Definition: ZdcTBAnalysis.h:48
HcalTBTriggerData::wasInSpillPedestalTrigger
bool wasInSpillPedestalTrigger() const
returns true if this was an in-spill pedestal trigger
Definition: HcalTBTriggerData.h:87
TDC::s3
double s3[5]
Definition: ZdcTBAnalysis.h:38
ZDCN::zdcHADMod4
double zdcHADMod4
Definition: ZdcTBAnalysis.h:106
CHAMB::WCAx
double WCAx[5]
Definition: ZdcTBAnalysis.h:84
ZdcTBAnalysis::s2hits
double s2hits[5]
Definition: ZdcTBAnalysis.h:175
HcalTBBeamCounters::Sci521adc
double Sci521adc() const
Definition: HcalTBBeamCounters.h:27
HcalTBBeamCounters::V3adc
double V3adc() const
Definition: HcalTBBeamCounters.h:16
ZdcTBAnalysis::wchx
std::vector< double > wchx
Definition: ZdcTBAnalysis.h:234
TDC::bh4
double bh4[5]
Definition: ZdcTBAnalysis.h:43
TDC::m1
double m1[5]
Definition: ZdcTBAnalysis.h:33
ZDCN::zdcHADMod3
double zdcHADMod3
Definition: ZdcTBAnalysis.h:105
HcalTBTiming::BH4Hits
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
Definition: HcalTBTiming.h:95
ZdcTBAnalysis::VM5adc
double VM5adc
Definition: ZdcTBAnalysis.h:209
ZdcTBAnalysis::VMFadc
double VMFadc
Definition: ZdcTBAnalysis.h:203
ZdcTBAnalysis::detID
HcalZDCDetId detID
Definition: ZdcTBAnalysis.h:150
HcalTBTiming::laserFlash
double laserFlash() const
Returns the laser activation time in ns.
Definition: HcalTBTiming.h:30
dataset.outName
outName
Definition: dataset.py:938
ZDCN::zdcEMMod4
double zdcEMMod4
Definition: ZdcTBAnalysis.h:110
ZdcTBAnalysis::S1adc
double S1adc
Definition: ZdcTBAnalysis.h:198
HcalTBBeamCounters::CK3adc
double CK3adc() const
Definition: HcalTBBeamCounters.h:25
ZDCP::zdcScint1
double zdcScint1
Definition: ZdcTBAnalysis.h:127
ZDCN::zdcEMMod1
double zdcEMMod1
Definition: ZdcTBAnalysis.h:107
HcalTBTiming::S3Hits
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:84
ZDCP::zdcHADMod2
double zdcHADMod2
Definition: ZdcTBAnalysis.h:119
HcalTBBeamCounters::VM7adc
double VM7adc() const
Definition: HcalTBBeamCounters.h:41
HcalTBTriggerData::wasInSpill
bool wasInSpill() const
returns true if the "spill" bit was set
Definition: HcalTBTriggerData.h:96
CHAMB::WCEx
double WCEx[5]
Definition: ZdcTBAnalysis.h:92
ZDCP::zdcEMMod2
double zdcEMMod2
Definition: ZdcTBAnalysis.h:123
HcalTBBeamCounters::VM5adc
double VM5adc() const
Definition: HcalTBBeamCounters.h:39
ZdcTBAnalysis::S4adc
double S4adc
Definition: ZdcTBAnalysis.h:201
ZdcTBAnalysis::TOF1_time
double TOF1_time
Definition: ZdcTBAnalysis.h:168
CHAMB::WCHx
double WCHx[5]
Definition: ZdcTBAnalysis.h:98
HcalZDCDetId::zside
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:39
ZdcTBAnalysis::VMBadc
double VMBadc
Definition: ZdcTBAnalysis.h:204
TDC::m3
double m3[5]
Definition: ZdcTBAnalysis.h:35
ADC::BH4
double BH4
Definition: ZdcTBAnalysis.h:80
HcalTBTiming::BH1Count
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
Definition: HcalTBTiming.h:62
HcalTBEventPosition::getChamberHits
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,...
Definition: HcalTBEventPosition.cc:29
HcalTBTiming::M1Hits
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
Definition: HcalTBTiming.h:73
ADC::S1
double S1
Definition: ZdcTBAnalysis.h:61
HcalTBTiming::M3Count
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
Definition: HcalTBTiming.h:50
ADC::CK2
double CK2
Definition: ZdcTBAnalysis.h:58
ADC::VM7
double VM7
Definition: ZdcTBAnalysis.h:73
ADC::CK3
double CK3
Definition: ZdcTBAnalysis.h:59
TDC::bh2
double bh2[5]
Definition: ZdcTBAnalysis.h:41
HcalTBBeamCounters::VH1adc
double VH1adc() const
Definition: HcalTBBeamCounters.h:18
HcalTBTriggerData::wasFakeTrigger
bool wasFakeTrigger() const
returns true if this trigger was fake (from a non-H2 manager)
Definition: HcalTBTriggerData.h:76
ZdcTBAnalysis::m3hits
double m3hits[5]
Definition: ZdcTBAnalysis.h:173
ZdcTBAnalysis::laser_flash
double laser_flash
Definition: ZdcTBAnalysis.h:166
ADC::VM6
double VM6
Definition: ZdcTBAnalysis.h:72
CHAMB::WCDy
double WCDy[5]
Definition: ZdcTBAnalysis.h:91
ZdcTBAnalysis::isection
int isection
Definition: ZdcTBAnalysis.h:146
HcalTBTiming::BH3Hits
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE'S VIEW.
Definition: HcalTBTiming.h:93
HcalTBBeamCounters::CK2adc
double CK2adc() const
Definition: HcalTBBeamCounters.h:24
ZdcTBAnalysis::CK2adc
double CK2adc
Definition: ZdcTBAnalysis.h:195
HcalTBBeamCounters::S4adc
double S4adc() const
Definition: HcalTBBeamCounters.h:32
TDC::TOF1
double TOF1
Definition: ZdcTBAnalysis.h:31
TDC::s4
double s4[5]
Definition: ZdcTBAnalysis.h:39
ZdcTBAnalysis::V6adc
double V6adc
Definition: ZdcTBAnalysis.h:185
CHAMB::WCFx
double WCFx[5]
Definition: ZdcTBAnalysis.h:94
HcalTBTiming::triggerTime
double triggerTime() const
Returns the trigger time in ns.
Definition: HcalTBTiming.h:24
ADC::Ecal7x7
double Ecal7x7
Definition: ZdcTBAnalysis.h:54
ZdcTBAnalysis::VM4adc
double VM4adc
Definition: ZdcTBAnalysis.h:208
HcalTBTiming::S3Count
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:57
CHAMB::WCCy
double WCCy[5]
Definition: ZdcTBAnalysis.h:89
HcalTBBeamCounters::VM1adc
double VM1adc() const
Definition: HcalTBBeamCounters.h:35
ZdcTBAnalysis::wcdx
std::vector< double > wcdx
Definition: ZdcTBAnalysis.h:226
HcalTBBeamCounters::S3adc
double S3adc() const
Definition: HcalTBBeamCounters.h:31
HcalTBTiming::M2Hits
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
Definition: HcalTBTiming.h:75
ZdcTBAnalysis::iside
int iside
Definition: ZdcTBAnalysis.h:145
HcalTBBeamCounters::VH2adc
double VH2adc() const
Definition: HcalTBBeamCounters.h:19
HcalTBBeamCounters::BH2adc
double BH2adc() const
Definition: HcalTBBeamCounters.h:48
ZdcTBAnalysis::idepth
int idepth
Definition: ZdcTBAnalysis.h:148
ZdcTBAnalysis::wccx
std::vector< double > wccx
Definition: ZdcTBAnalysis.h:224
HcalTBBeamCounters::BH3adc
double BH3adc() const
Definition: HcalTBBeamCounters.h:49
TDC::laserFlash
double laserFlash
Definition: ZdcTBAnalysis.h:29
ZDCP::zdcHADMod1
double zdcHADMod1
Definition: ZdcTBAnalysis.h:118
ZdcTBAnalysis::Sci521adc
double Sci521adc
Definition: ZdcTBAnalysis.h:191
CHAMB::WCGy
double WCGy[5]
Definition: ZdcTBAnalysis.h:97
ADC::VM1
double VM1
Definition: ZdcTBAnalysis.h:67
ZdcTBAnalysis::BH1adc
double BH1adc
Definition: ZdcTBAnalysis.h:215
HcalTBTriggerData::wasOutSpillPedestalTrigger
bool wasOutSpillPedestalTrigger() const
returns true if this was an out-of-spill pedestal trigger
Definition: HcalTBTriggerData.h:84
HcalTBTiming::BH1Hits
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
Definition: HcalTBTiming.h:89
ZdcTBAnalysis::VM3adc
double VM3adc
Definition: ZdcTBAnalysis.h:207
ZdcTBAnalysis::wcfx
std::vector< double > wcfx
Definition: ZdcTBAnalysis.h:230
ADC::BH2
double BH2
Definition: ZdcTBAnalysis.h:78
ADC::SciVLE
double SciVLE
Definition: ZdcTBAnalysis.h:60
ZDCP::zdcEMMod5
double zdcEMMod5
Definition: ZdcTBAnalysis.h:126
TDC::TOF2
double TOF2
Definition: ZdcTBAnalysis.h:32
ZdcTBAnalysis::CK3adc
double CK3adc
Definition: ZdcTBAnalysis.h:196
ADC::S3
double S3
Definition: ZdcTBAnalysis.h:63
HcalTBTiming::M3Hits
double M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
Definition: HcalTBTiming.h:77
ZdcTBAnalysis::wcby
std::vector< double > wcby
Definition: ZdcTBAnalysis.h:223
HcalTBTriggerData::wasLaserTrigger
bool wasLaserTrigger() const
returns true if this was a laser trigger
Definition: HcalTBTriggerData.h:90
HcalTBTiming::ttcL1Atime
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
Definition: HcalTBTiming.h:27
ZdcTBAnalysis::m2hits
double m2hits[5]
Definition: ZdcTBAnalysis.h:172
CHAMB::WCHy
double WCHy[5]
Definition: ZdcTBAnalysis.h:99
ZDCN::zdcHADMod2
double zdcHADMod2
Definition: ZdcTBAnalysis.h:104
ZdcTBAnalysis::isLedTrigger
bool isLedTrigger
Definition: ZdcTBAnalysis.h:160
ZdcTBAnalysis::Sci528adc
double Sci528adc
Definition: ZdcTBAnalysis.h:192
HcalTBTiming::BeamCoincidenceCount
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
Definition: HcalTBTiming.h:44
ZdcTBAnalysis::S2adc
double S2adc
Definition: ZdcTBAnalysis.h:199
ZdcTBAnalysis::isFakeTrigger
bool isFakeTrigger
Definition: ZdcTBAnalysis.h:155
ZdcTBAnalysis::BH4adc
double BH4adc
Definition: ZdcTBAnalysis.h:218
trigger
Definition: HLTPrescaleTableCond.h:8
TDC::bh3
double bh3[5]
Definition: ZdcTBAnalysis.h:42
ZdcTBAnalysis::tdc
TDC tdc
Definition: ZdcTBAnalysis.h:238
ZdcTBAnalysis::VH3adc
double VH3adc
Definition: ZdcTBAnalysis.h:188
ZdcTBAnalysis::wcgx
std::vector< double > wcgx
Definition: ZdcTBAnalysis.h:232
ZdcTBAnalysis::wcdy
std::vector< double > wcdy
Definition: ZdcTBAnalysis.h:227
HcalTBTriggerData::wasBeamTrigger
bool wasBeamTrigger() const
returns true if this trigger came from beam data
Definition: HcalTBTriggerData.h:73
HcalTBBeamCounters::VH4adc
double VH4adc() const
Definition: HcalTBBeamCounters.h:21
HcalTBBeamCounters::VM8adc
double VM8adc() const
Definition: HcalTBBeamCounters.h:42
HcalZDCDetId::section
Section section() const
get the section
Definition: HcalZDCDetId.cc:44
HcalTBBeamCounters::BH4adc
double BH4adc() const
Definition: HcalTBBeamCounters.h:50
HcalTBTiming::TOF2Stime
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
Definition: HcalTBTiming.h:39
ZdcTBAnalysis::ZdcAnalize
TTree * ZdcAnalize
Definition: ZdcTBAnalysis.h:245
ZdcTBAnalysis::isLaserTrigger
bool isLaserTrigger
Definition: ZdcTBAnalysis.h:159
HcalTBBeamCounters::VM6adc
double VM6adc() const
Definition: HcalTBBeamCounters.h:40
HcalTBTiming::BH4Count
int BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
Definition: HcalTBTiming.h:68
ADC::BH3
double BH3
Definition: ZdcTBAnalysis.h:79
ZdcTBAnalysis::Ecal7x7adc
double Ecal7x7adc
Definition: ZdcTBAnalysis.h:190
ADC::VM4
double VM4
Definition: ZdcTBAnalysis.h:70
ZdcTBAnalysis::VH1adc
double VH1adc
Definition: ZdcTBAnalysis.h:186
ZdcTBAnalysis::wccy
std::vector< double > wccy
Definition: ZdcTBAnalysis.h:225
ZdcTBAnalysis::ttc_L1a_time
double ttc_L1a_time
Definition: ZdcTBAnalysis.h:164
HcalTBTiming::TOF1Stime
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
Definition: HcalTBTiming.h:35
HcalTBBeamCounters::S2adc
double S2adc() const
Definition: HcalTBBeamCounters.h:30
HcalTBBeamCounters::VH3adc
double VH3adc() const
Definition: HcalTBBeamCounters.h:20
HcalTBTiming::BH2Hits
double BH2Hits(int index) const
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE'S VIEW.
Definition: HcalTBTiming.h:91
CHAMB::WCBy
double WCBy[5]
Definition: ZdcTBAnalysis.h:87
ZdcTBAnalysis::s4hits
double s4hits[5]
Definition: ZdcTBAnalysis.h:177
ZdcTBAnalysis::CK1adc
double CK1adc
Definition: ZdcTBAnalysis.h:194
ZDCP::zdcEMMod3
double zdcEMMod3
Definition: ZdcTBAnalysis.h:124
ZdcTBAnalysis::TOF2adc
double TOF2adc
Definition: ZdcTBAnalysis.h:214