CMS 3D CMS Logo

CSCDigiValidator.h
Go to the documentation of this file.
1 
4 // Original Author: Lindsey Gray
5 // Created: Tue Jul 28 18:04:11 CEST 2009
6 
7 #include <memory>
8 #include <string>
9 
15 
25 
26 class CSCWireDigi;
27 class CSCStripDigi;
28 class CSCComparatorDigi;
29 class CSCCLCTDigi;
30 class CSCALCTDigi;
32 class CSCDetId;
33 class CSCChamberMap;
34 
36 public:
37  explicit CSCDigiValidator(const edm::ParameterSet&);
38  ~CSCDigiValidator() override;
39 
40 private:
41  void beginJob() override;
42  bool filter(edm::Event&, const edm::EventSetup&) override;
43  void endJob() override;
44 
45  std::vector<CSCWireDigi> sanitizeWireDigis(std::vector<CSCWireDigi>::const_iterator,
46  std::vector<CSCWireDigi>::const_iterator);
47  std::vector<CSCStripDigi> relabelStripDigis(const CSCChamberMap*,
48  CSCDetId,
49  std::vector<CSCStripDigi>::const_iterator,
50  std::vector<CSCStripDigi>::const_iterator);
51  std::vector<CSCStripDigi> sanitizeStripDigis(std::vector<CSCStripDigi>::const_iterator,
52  std::vector<CSCStripDigi>::const_iterator);
53  std::vector<CSCStripDigi> zeroSupStripDigis(std::vector<CSCStripDigi>::const_iterator,
54  std::vector<CSCStripDigi>::const_iterator);
55  std::vector<CSCComparatorDigi> relabelCompDigis(const CSCChamberMap* m,
56  CSCDetId _id,
57  std::vector<CSCComparatorDigi>::const_iterator b,
58  std::vector<CSCComparatorDigi>::const_iterator e);
59  std::vector<CSCComparatorDigi> zeroSupCompDigis(std::vector<CSCComparatorDigi>::const_iterator,
60  std::vector<CSCComparatorDigi>::const_iterator);
61 
62  // ----------member data ---------------------------
65 
67 
76 
85 };
CSCDigiValidator::reorderStrips
bool reorderStrips
Definition: CSCDigiValidator.h:66
CSCDigiValidator::wd1_token
edm::EDGetTokenT< CSCWireDigiCollection > wd1_token
Definition: CSCDigiValidator.h:68
CSCDigiValidator::alct1
edm::InputTag alct1
Definition: CSCDigiValidator.h:63
CSCCorrelatedLCTDigiCollection.h
CSCDigiValidator
Definition: CSCDigiValidator.h:35
CSCDigiValidator::strip1
edm::InputTag strip1
Definition: CSCDigiValidator.h:63
CSCDigiValidator::wd2_token
edm::EDGetTokenT< CSCWireDigiCollection > wd2_token
Definition: CSCDigiValidator.h:77
CSCDigiValidator::ts1_token
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > ts1_token
Definition: CSCDigiValidator.h:75
CSCDigiValidator::ts2_token
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > ts2_token
Definition: CSCDigiValidator.h:84
edm::EDGetTokenT< CSCWireDigiCollection >
CSCDigiValidator::sd2_token
edm::EDGetTokenT< CSCStripDigiCollection > sd2_token
Definition: CSCDigiValidator.h:78
CSCDigiValidator::co1_token
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co1_token
Definition: CSCDigiValidator.h:73
CSCDigiValidator::comp2
edm::InputTag comp2
Definition: CSCDigiValidator.h:64
EDFilter.h
CSCDigiValidator::CSCDigiValidator
CSCDigiValidator(const edm::ParameterSet &)
Definition: CSCDigiValidator.cc:25
CSCDigiValidator::lct1
edm::InputTag lct1
Definition: CSCDigiValidator.h:63
CSCDigiValidator::cd2_token
edm::EDGetTokenT< CSCComparatorDigiCollection > cd2_token
Definition: CSCDigiValidator.h:79
CSCDigiValidator::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition: CSCDigiValidator.cc:48
CSCDigiValidator::clct2
edm::InputTag clct2
Definition: CSCDigiValidator.h:64
CSCCLCTDigi
Definition: CSCCLCTDigi.h:17
CSCDigiValidator::clct1
edm::InputTag clct1
Definition: CSCDigiValidator.h:63
CSCDigiValidator::tr2_token
edm::EDGetTokenT< L1CSCTrackCollection > tr2_token
Definition: CSCDigiValidator.h:83
MakerMacros.h
CSCDigiValidator::sanitizeWireDigis
std::vector< CSCWireDigi > sanitizeWireDigis(std::vector< CSCWireDigi >::const_iterator, std::vector< CSCWireDigi >::const_iterator)
Definition: CSCDigiValidator.cc:681
CSCDigiValidator::csctf2
edm::InputTag csctf2
Definition: CSCDigiValidator.h:64
CSCDigiValidator::zeroSupStripDigis
std::vector< CSCStripDigi > zeroSupStripDigis(std::vector< CSCStripDigi >::const_iterator, std::vector< CSCStripDigi >::const_iterator)
Definition: CSCDigiValidator.cc:760
CSCDigiValidator::relabelStripDigis
std::vector< CSCStripDigi > relabelStripDigis(const CSCChamberMap *, CSCDetId, std::vector< CSCStripDigi >::const_iterator, std::vector< CSCStripDigi >::const_iterator)
Definition: CSCDigiValidator.cc:707
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
CSCDigiValidator::csctf1
edm::InputTag csctf1
Definition: CSCDigiValidator.h:63
CSCComparatorDigi
Definition: CSCComparatorDigi.h:16
CSCDigiValidator::strip2
edm::InputTag strip2
Definition: CSCDigiValidator.h:64
b
double b
Definition: hdecay.h:118
CSCDigiValidator::zeroSupCompDigis
std::vector< CSCComparatorDigi > zeroSupCompDigis(std::vector< CSCComparatorDigi >::const_iterator, std::vector< CSCComparatorDigi >::const_iterator)
Definition: CSCDigiValidator.cc:780
CSCDigiValidator::lct2
edm::InputTag lct2
Definition: CSCDigiValidator.h:64
edm::ParameterSet
Definition: ParameterSet.h:36
L1CSCTrackCollection.h
CSCDigiValidator::alct2
edm::InputTag alct2
Definition: CSCDigiValidator.h:64
CSCDigiValidator::csctfstubs2
edm::InputTag csctfstubs2
Definition: CSCDigiValidator.h:64
CSCTriggerContainer.h
CSCWireDigi
Definition: CSCWireDigi.h:14
CSCDigiValidator::cd1_token
edm::EDGetTokenT< CSCComparatorDigiCollection > cd1_token
Definition: CSCDigiValidator.h:70
CSCDetId
Definition: CSCDetId.h:26
CSCDigiValidator::~CSCDigiValidator
~CSCDigiValidator() override
Definition: CSCDigiValidator.cc:46
CSCChamberMap
Definition: CSCChamberMap.h:11
CSCDigiValidator::sanitizeStripDigis
std::vector< CSCStripDigi > sanitizeStripDigis(std::vector< CSCStripDigi >::const_iterator, std::vector< CSCStripDigi >::const_iterator)
Definition: CSCDigiValidator.cc:753
CSCDigiValidator::cl1_token
edm::EDGetTokenT< CSCCLCTDigiCollection > cl1_token
Definition: CSCDigiValidator.h:72
edm::EDFilter
Definition: EDFilter.h:39
CSCStripDigiCollection.h
edm::EventSetup
Definition: EventSetup.h:57
CSCDigiValidator::wire2
edm::InputTag wire2
Definition: CSCDigiValidator.h:64
CSCDigiValidator::relabelCompDigis
std::vector< CSCComparatorDigi > relabelCompDigis(const CSCChamberMap *m, CSCDetId _id, std::vector< CSCComparatorDigi >::const_iterator b, std::vector< CSCComparatorDigi >::const_iterator e)
Definition: CSCDigiValidator.cc:730
InputTag.h
CSCDigiValidator::sd1_token
edm::EDGetTokenT< CSCStripDigiCollection > sd1_token
Definition: CSCDigiValidator.h:69
CSCDigiValidator::endJob
void endJob() override
Definition: CSCDigiValidator.cc:799
CSCDigiValidator::csctfstubs1
edm::InputTag csctfstubs1
Definition: CSCDigiValidator.h:63
CSCDigiValidator::cl2_token
edm::EDGetTokenT< CSCCLCTDigiCollection > cl2_token
Definition: CSCDigiValidator.h:81
CSCStripDigi
Definition: CSCStripDigi.h:17
CSCDigiValidator::al1_token
edm::EDGetTokenT< CSCALCTDigiCollection > al1_token
Definition: CSCDigiValidator.h:71
CSCDigiValidator::co2_token
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co2_token
Definition: CSCDigiValidator.h:82
CSCDigiValidator::beginJob
void beginJob() override
Definition: CSCDigiValidator.cc:797
Frameworkfwd.h
CSCALCTDigi
Definition: CSCALCTDigi.h:16
CSCComparatorDigiCollection.h
CSCDigiValidator::al2_token
edm::EDGetTokenT< CSCALCTDigiCollection > al2_token
Definition: CSCDigiValidator.h:80
CSCDigiValidator::tr1_token
edm::EDGetTokenT< L1CSCTrackCollection > tr1_token
Definition: CSCDigiValidator.h:74
CSCWireDigiCollection.h
CSCDigiValidator::comp1
edm::InputTag comp1
Definition: CSCDigiValidator.h:63
CSCALCTDigiCollection.h
ConsumesCollector.h
CSCCLCTDigiCollection.h
CSCDigiValidator::wire1
edm::InputTag wire1
Definition: CSCDigiValidator.h:63
edm::Event
Definition: Event.h:73
TrackStub.h
edm::InputTag
Definition: InputTag.h:15
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37