#include <ZdcTBAnalysis.h>
Public Member Functions | |
void | analyze (const ZDCRecHitCollection &hf) |
void | analyze (const HcalTBTriggerData &trg) |
void | analyze (const HcalTBBeamCounters &bc) |
void | analyze (const HcalTBTiming ×) |
void | analyze (const HcalTBEventPosition &chpos) |
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 |
Definition at line 133 of file ZdcTBAnalysis.h.
ZdcTBAnalysis::ZdcTBAnalysis | ( | ) |
Definition at line 6 of file ZdcTBAnalysis.cc.
void ZdcTBAnalysis::analyze | ( | const ZDCRecHitCollection & | hf | ) |
Definition at line 196 of file ZdcTBAnalysis.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalZDCDetId::channel(), gather_cfg::cout, HcalZDCDetId::depth(), detID, edm::SortedCollection< T, SORT >::end(), energy, 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().
void ZdcTBAnalysis::analyze | ( | const HcalTBTriggerData & | trg | ) |
Definition at line 44 of file ZdcTBAnalysis.cc.
References TRIGGGER::beamTrigger, TRIGGGER::calibTrigger, TRIGGGER::eventNum, HcalTBTriggerData::eventNumber(), eventNumber, TRIGGGER::fakeTrigger, TRIGGGER::inSpillPedestalTrigger, isBeamTrigger, isCalibTrigger, isFakeTrigger, isInSpillPedestalTrigger, isLaserTrigger, isLedTrigger, isOutSpillPedestalTrigger, isSpillTrigger, TRIGGGER::laserTrigger, TRIGGGER::ledTrigger, TRIGGGER::outSpillPedestalTrigger, TRIGGGER::runNum, HcalTBTriggerData::runNumber(), runNumber, TRIGGGER::spillTrigger, trigger, HcalTBTriggerData::wasBeamTrigger(), HcalTBTriggerData::wasFakeTrigger(), HcalTBTriggerData::wasInSpill(), HcalTBTriggerData::wasInSpillPedestalTrigger(), HcalTBTriggerData::wasLaserTrigger(), HcalTBTriggerData::wasLEDTrigger(), HcalTBTriggerData::wasOutSpillPedestalTrigger(), and HcalTBTriggerData::wasSpillIgnorantPedestalTrigger().
void ZdcTBAnalysis::analyze | ( | const HcalTBBeamCounters & | bc | ) |
Definition at line 110 of file ZdcTBAnalysis.cc.
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.
void ZdcTBAnalysis::analyze | ( | const HcalTBTiming & | times | ) |
Definition at line 72 of file ZdcTBAnalysis.cc.
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().
void ZdcTBAnalysis::analyze | ( | const HcalTBEventPosition & | chpos | ) |
Definition at line 148 of file ZdcTBAnalysis.cc.
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.
void ZdcTBAnalysis::done | ( | ) |
Definition at line 242 of file ZdcTBAnalysis.cc.
References outFile, and ZdcAnalize.
Referenced by ZdcTBAnalyzer::endJob().
void ZdcTBAnalysis::fillTree | ( | ) |
Definition at line 238 of file ZdcTBAnalysis.cc.
References ZdcAnalize.
Referenced by ZdcTBAnalyzer::analyze().
void ZdcTBAnalysis::setup | ( | const std::string & | histoFileName | ) |
Definition at line 8 of file ZdcTBAnalysis.cc.
References adc, chamb, outFile, TreeWriterForEcalCorrection_cfg::outFileName, tdc, trigger, ZdcAnalize, zdcn, and zdcp.
Referenced by ZdcTBAnalyzer::ZdcTBAnalyzer().
|
private |
Definition at line 240 of file ZdcTBAnalysis.h.
|
private |
Definition at line 166 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 216 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 179 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 217 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 180 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 218 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 181 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 219 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 182 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 241 of file ZdcTBAnalysis.h.
|
private |
Definition at line 195 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 196 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 197 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 151 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 191 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 150 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 154 of file ZdcTBAnalysis.h.
Referenced by analyze(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
|
private |
Definition at line 148 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 149 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 155 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 157 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 147 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 156 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 146 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 159 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 160 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 161 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 158 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 162 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 167 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 172 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 173 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 174 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 245 of file ZdcTBAnalysis.h.
|
private |
Definition at line 168 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 153 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 199 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 175 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 200 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 176 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 201 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 177 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 202 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 178 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 192 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 193 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 198 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 239 of file ZdcTBAnalysis.h.
|
private |
Definition at line 169 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 214 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 170 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 215 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 238 of file ZdcTBAnalysis.h.
|
private |
Definition at line 164 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 165 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 185 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 186 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 187 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 188 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 189 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 190 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 206 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 207 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 208 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 209 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 210 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 211 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 212 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 213 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 184 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 205 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 204 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 221 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 222 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 223 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 224 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 225 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 226 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 227 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 228 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 229 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 230 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 231 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 232 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 233 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 234 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 235 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 236 of file ZdcTBAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 246 of file ZdcTBAnalysis.h.
Referenced by done(), fillTree(), and setup().
|
private |
Definition at line 243 of file ZdcTBAnalysis.h.
|
private |
Definition at line 242 of file ZdcTBAnalysis.h.