1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesReader_h 2 #define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesReader_h 133 void endJob()
override;
203 enum { MAXPAGES = 20 };
215 static const int lut_wg_vs_hs_me1b[48][2];
216 static const int lut_wg_vs_hs_me1a[48][2];
217 static const int lut_wg_vs_hs_me1ag[48][2];
239 void bookHotWireHistos();
240 void bookALCTHistos();
241 void bookCLCTHistos();
242 void bookLCTTMBHistos();
243 void bookLCTMPCHistos();
248 void drawALCTHistos();
249 void drawCLCTHistos();
250 void drawLCTTMBHistos();
251 void drawLCTMPCHistos();
253 void bookResolHistos();
254 void drawResolHistos();
255 void bookEfficHistos();
256 void drawEfficHistos();
257 void drawHistosForTalks();
259 GlobalPoint getGlobalPosition(
unsigned int rawId,
int keWg,
int keyHS)
const;
260 bool doesALCTCrossCLCT(
CSCDetId id,
int key_wg,
int key_hs)
const;
262 double getHsPerRad(
const int idh);
273 void bookCompHistos();
286 int convertBXofLCT(
const int emul_bx,
290 void drawCompHistos();
311 TTree *event_tree[6];
320 TH1F *
hAlctValid, *hAlctQuality, *hAlctAccel, *hAlctCollis, *hAlctKeyGroup;
325 TH1F *
hClctValid, *hClctQuality, *hClctStripType, *hClctSign, *hClctCFEB;
327 TH1F *hClctKeyStrip[2], *hClctPattern[2];
333 TH1F *hLctTMBChamber[MAX_STATIONS], *hLctTMBCsc[MAX_ENDCAPS][
CSC_TYPES];
340 TH1F *hLctMPCChamber[MAX_STATIONS];
427 TH1F *hAlctVsEta[MAX_STATIONS];
428 TH1F *hEtaDiffVsEta[MAX_STATIONS];
435 TH1F *hClctVsPhi[MAX_STATIONS];
436 TH1F *hPhiDiffVsPhi[MAX_STATIONS];
442 TH1F *hEfficHitsEta[MAX_STATIONS];
443 TH1F *hEfficALCTEta[MAX_STATIONS], *hEfficCLCTEta[MAX_STATIONS];
TH1F * hLctTMBKeyGroupME11
const CSCBadChambers * badChambers_
bool compare(const P &i, const P &j)
static const double TWOPI
static bool bookedLCTMPCHistos
TH1F * hLctMPCKeyGroupME11
static bool bookedHotWireHistos
static bool bookedCLCTHistos
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_e_token_
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_tmb_e_token_
edm::EDGetTokenT< CSCWireDigiCollection > wireDigi_token_
edm::InputTag wireDigiProducer_
void init(int run, int event)
edm::EDGetTokenT< CSCCLCTDigiCollection > clcts_e_token_
Int_t t_EventNumberAnalyzed
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
static bool bookedLCTTMBHistos
std::string resultsFileNamesPrefix_
edm::InputTag simHitProducer_
static bool bookedEfficHistos
std::string lctProducerEmul_
TTree * bookTree(TTree *t, const std::string &name="TreePerStub")
Int_t totStubs_emul_readout
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_d_token_
TH1F * hLctMPCKeyStripME11
static bool bookedCompHistos
TH1F * hLctTMBKeyStripME11
const CSCGeometry * geom_
static bool bookedResolHistos
edm::EDGetTokenT< CSCComparatorDigiCollection > compDigi_token_
static bool bookedALCTHistos
std::string lctProducerData_
edm::InputTag compDigiProducer_
std::string mpclctProducerData_
edm::EDGetTokenT< CSCCLCTDigiCollection > clcts_d_token_
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_mpc_e_token_
edm::EDGetTokenT< edm::PSimHitContainer > simHit_token_
std::vector< PSimHit > PSimHitContainer
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_mpc_d_token_
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_tmb_d_token_
edm::EDGetTokenT< CSCCLCTPreTriggerDigiCollection > pretrigs_e_token_
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...