1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesReader_h 2 #define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesReader_h 206 enum {MAXPAGES = 20};
218 static const int lut_wg_vs_hs_me1b[48][2];
219 static const int lut_wg_vs_hs_me1a[48][2];
220 static const int lut_wg_vs_hs_me1ag[48][2];
243 void bookHotWireHistos();
244 void bookALCTHistos();
245 void bookCLCTHistos();
246 void bookLCTTMBHistos();
247 void bookLCTMPCHistos();
252 void drawALCTHistos();
253 void drawCLCTHistos();
254 void drawLCTTMBHistos();
255 void drawLCTMPCHistos();
257 void bookResolHistos();
258 void drawResolHistos();
259 void bookEfficHistos();
260 void drawEfficHistos();
261 void drawHistosForTalks();
263 GlobalPoint getGlobalPosition(
unsigned int rawId,
int keWg,
int keyHS)
const;
264 bool doesALCTCrossCLCT(
CSCDetId id,
int key_wg,
int key_hs)
const;
266 double getHsPerRad(
const int idh);
277 void bookCompHistos();
291 int convertBXofLCT(
const int emul_bx,
const CSCDetId& detid,
294 void drawCompHistos();
318 TTree *event_tree[6];
327 TH1F *
hAlctValid, *hAlctQuality, *hAlctAccel, *hAlctCollis, *hAlctKeyGroup;
332 TH1F *
hClctValid, *hClctQuality, *hClctStripType, *hClctSign, *hClctCFEB;
334 TH1F *hClctKeyStrip[2], *hClctPattern[2];
340 TH1F *hLctTMBChamber[MAX_STATIONS], *hLctTMBCsc[MAX_ENDCAPS][
CSC_TYPES];
347 TH1F *hLctMPCChamber[MAX_STATIONS];
434 TH1F *hAlctVsEta[MAX_STATIONS];
435 TH1F *hEtaDiffVsEta[MAX_STATIONS];
442 TH1F *hClctVsPhi[MAX_STATIONS];
443 TH1F *hPhiDiffVsPhi[MAX_STATIONS];
449 TH1F *hEfficHitsEta[MAX_STATIONS];
450 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_
def setup(process, global_tag, zero_tesla=False)
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...