CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTGetRaw.cc
Go to the documentation of this file.
1 
14 
15 //
16 // constructors and destructor
17 //
19  rawDataCollection_( ps.getParameter<edm::InputTag>("RawDataCollection") ),
20  rawDataToken_( consumes<FEDRawDataCollection>(rawDataCollection_) )
21 {
22 }
23 
25 {
26 }
27 
28 void
31  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
32  descriptions.add("hltGetRaw", desc);
33 }
34 
35 //
36 // member functions
37 //
38 
39 // ------------ method called to analyze the data ------------
40 void
42 {
43  edm::Handle<FEDRawDataCollection> rawDataHandle ;
44  event.getByToken(rawDataToken_, rawDataHandle );
45 
46  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
47 }
#define LogDebug(id)
HLTGetRaw(const edm::ParameterSet &)
Definition: HLTGetRaw.cc:18
~HLTGetRaw()
Definition: HLTGetRaw.cc:24
ParameterDescriptionBase * add(U const &iLabel, T const &value)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const overridefinal
Definition: HLTGetRaw.cc:41
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetRaw.cc:29
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:39
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:38
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")