Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
testbeam::TestBeamCommissioning Class Reference
Inheritance diagram for testbeam::TestBeamCommissioning:
art::EDAnalyzer art::EventObserverBase art::Consumer art::EngineCreator

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 TestBeamCommissioning (fhicl::ParameterSet const &p)
 
void analyze (art::Event const &e) override
 
void beginJob () override
 
void endJob () override
 
void reconfigure (const fhicl::ParameterSet &pset)
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProducts & cachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Private Attributes

TH1D * fPE
 
TH1D * freconP
 
TH1D * ftrueP
 
TH1D * ftrueE
 
TH2D * fMomentumHits
 
TH2D * fMomentumPE
 
TH2D * ftruePhits
 
TH2D * ftrueEhits
 
TH2D * ftrueRecoP
 
TH1D * fEndX
 
TH1D * fEndY
 
TH1D * fEndZ
 
TH1D * fendplane
 
TH2D * ftruePtof
 
std::string fRawDigitLabel
 
std::string fWCTrackLabel
 

Detailed Description

Definition at line 40 of file TestBeamCommissioning_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

testbeam::TestBeamCommissioning::TestBeamCommissioning ( fhicl::ParameterSet const &  p)
explicit

Definition at line 111 of file TestBeamCommissioning_module.cc.

References reconfigure().

111  : EDAnalyzer(p) {
112  this->reconfigure(p);
113  }
const char * p
Definition: xmltok.h:285
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
void reconfigure(const fhicl::ParameterSet &pset)

Member Function Documentation

void testbeam::TestBeamCommissioning::analyze ( art::Event const &  e)
overridevirtual

Implements art::EDAnalyzer.

Definition at line 122 of file TestBeamCommissioning_module.cc.

References om::cout, simb::MCParticle::E(), allTimeWatchdog::endl, simb::MCParticle::EndX(), simb::MCParticle::EndY(), simb::MCParticle::EndZ(), art::Event::event(), fendplane, fEndX, fEndY, fEndZ, art::fill_ptr_vector(), fMomentumHits, fMomentumPE, fPE, fRawDigitLabel, freconP, ftrueE, ftrueEhits, ftrueP, ftruePhits, ftruePtof, ftrueRecoP, fWCTrackLabel, art::DataViewImpl::getByLabel(), calib::j, simb::MCParticle::PdgCode(), and simb::MCParticle::Pz().

123  {
125  std::vector<art::Ptr<simb::MCTruth> > mcTruths;
126  if (evt.getByLabel("generator", mcTruthHandle))
127  art::fill_ptr_vector(mcTruths, mcTruthHandle);
128 
129  std::cout << "There are " << mcTruths.size() << " mc truths in event " << evt.event() << std::endl;
130  int fparticles=0;
131  int fevent =0;
132  double totalPE=0;
133  double frecoP=0;
134  double truemomentum=0;
135  double trueenergy=0;
136  // int pdgid=0;
137  double endx=0;
138  double endy=0;
139  double endz=0;
140  int lastplane=0;
141  fevent=evt.event();
142  std::cout<<"event number "<<fevent<<std::endl;
143  double ftoftime=0;
144 
145  // print more stuff
146  std::cout << "There is " << mcTruths.size() << " MCTruth simulation-level objects in this event" << std::endl;
147 
148 // if (mcTruths.size()) {
149 // std::cout << "There are " << mcTruths[0]->NParticles() << " particles in this simulation" << std::endl;
150 // if (mcTruths[0]->NParticles()) {
151 // const simb::MCParticle& particle = mcTruths[0]->GetParticle(0);
152 // //std::cout << "Particle momentum " << particle.Momentum().Vect().Mag() << std::endl;
153 // std::cout << "Particle momentum " << particle.P() << std::endl;
154 // }
155 
156  for (std::vector<art::Ptr<simb::MCTruth> >::const_iterator mcTruthIt = mcTruths.begin(); mcTruthIt != mcTruths.end(); ++mcTruthIt)
157  {
158  std::cout << " There are " << (*mcTruthIt)->NParticles() << " particles in this MCTruth." << std::endl;
159  fparticles=(*mcTruthIt)->NParticles();
160  for(int j=0;j<(*mcTruthIt)->NParticles();j++)
161  {
162  simb::MCParticle particle=(*mcTruthIt)->simb::MCTruth::GetParticle(j);
163  std::cout<<"The particle "<<j<<" has momentum "<<particle.Pz()*1000<<std::endl;
164  std::cout<<"The particle "<<j<<" has energy "<<particle.E()*1000<<std::endl;
165  std::cout<<"The particle "<<j<<" has pdg code "<<particle.PdgCode()<<std::endl;
166  truemomentum=particle.Pz()*1000;
167  trueenergy=particle.E()*1000;
168  // pdgid=particle.PdgCode();
169  endx=particle.EndX();
170  endy=particle.EndY();
171  endz=particle.EndZ();
172  std::cout<<"The end z is "<<endz<<std::endl;
173  }
174 
175  }
176 
177 // art::Handle<std::vector<sim::Particle> > mcparticleHandle;
178 // std::vector<art::Ptr<sim::Particle> > mcparticle;
179 // if (evt.getByLabel("geantgen", mcparticleHandle))
180 // art::fill_ptr_vector(mcparticle, mcparticleHandle);
181 //
182 // for (std::vector<art::Ptr<simb::MCParticle> >::const_iterator mcparticleIt = mcparticle.begin(); mcparticleIt != mcparticle.end(); ++mcparticleIt)
183 // {
184 // //std::cout << " There are " << (*cellhitsIt)->PE() << " PE in this cellhit" << std::endl;
185 // truemomentum=(*mcparticleIt)->P();
186 // trueenergy=(*mcparticleIt)->E();
187 // std::cout<<"true momentum is "<<truemomentum<<std::endl;
188 // std::cout<<"true energy is "<<trueenergy<<std::endl;
189 // // fparticles=(*mcTruthIt)->NParticles();
190 // }
191 
192 
193  if (fparticles==1 ) {
194 
195  //truemomentum=mcparticle.P();
196  //trueenergy=mcparticle.E();
197  std::cout<<"true momentum is "<<truemomentum<<std::endl;
198  std::cout<<"true energy is "<<trueenergy<<std::endl;
199  //get PE from event
200 
202  std::vector<art::Ptr<rb::CellHit>> cellhits;
203  if(evt.getByLabel("calhit",cellhithandle))
204  {
205  art::fill_ptr_vector(cellhits,cellhithandle);
206  }
207 
208  //std::cout<<"there are "<<cellhits.PE()<<" photoelectrons"<<std::endl;
209  //std::cout<<"cell hit size "<< cellhithandle->size()<<std::endl;
210 
211  for (std::vector<art::Ptr<rb::CellHit> >::const_iterator cellhitsIt = cellhits.begin(); cellhitsIt != cellhits.end(); ++cellhitsIt)
212  {
213  // std::cout << " There are " << (*cellhitsIt)->PE() << " PE in this cellhit" << std::endl;
214  totalPE+=(*cellhitsIt)->PE();
215 // fparticles=(*mcTruthIt)->NParticles();
216  lastplane=(*cellhitsIt)->Plane();
217  std::cout<<" Current plane is "<<(*cellhitsIt)->Plane()<<std::endl;
218  }
219  fPE->Fill(totalPE);
220  //fPE->Fill(cellhits.PE());
221 
222 
224  std::vector<art::Ptr<brb::ToF>> toftime;
225  if(evt.getByLabel("beamlinesiminput",tofhandle))
226  {
227  art::fill_ptr_vector(toftime,tofhandle);
228  }
229 
230  for(std::vector<art::Ptr<brb::ToF>>::const_iterator tofIt=toftime.begin();tofIt !=toftime.end();++tofIt)
231  {
232  ftoftime=(*tofIt)->Time();
233  std::cout<<"tof time is "<<ftoftime<<std::endl;
234  }
235 
236 
237  // Get WC tracks from the event
239  std::vector<art::Ptr<brb::WCTrack> > wcTracks;
240  if (evt.getByLabel(fWCTrackLabel, wcTrackHandle))
241  art::fill_ptr_vector(wcTracks, wcTrackHandle);
242 
243 
244  // loop over the tracks
245  for (std::vector<art::Ptr<brb::WCTrack> >::const_iterator wcTrackIt = wcTracks.begin();wcTrackIt != wcTracks.end(); ++wcTrackIt)
246  {
247 // std::cout << "WC track has " << (*wcTrackIt)->NHits() << " and momentum " << (*wcTrackIt)->Momentum() << std::endl;
248  frecoP=(*wcTrackIt)->Momentum();
249  }
250 
251 
252 
253 
254  // Get the RawDigits from the event
256  evt.getByLabel(fRawDigitLabel, rawHits);
257  // How many are there in this event?
258  std::cout << "Event " << evt.event() << " has " << rawHits->size() << " raw digits." << std::endl;
259  // Now I have a rawdata::RawDigit vector and I can do whatever I want with it.
260  // let's loop over them all and get the ADC.
261  ftrueRecoP->Fill(truemomentum,frecoP);
262  ftrueP->Fill(truemomentum);
263  ftrueE->Fill(trueenergy);
264  fMomentumHits->Fill(frecoP,rawHits->size());
265  fMomentumPE->Fill(frecoP,totalPE);
266  freconP->Fill(frecoP);
267  ftruePhits->Fill(truemomentum,rawHits->size());
268  ftrueEhits->Fill(trueenergy,rawHits->size());
269  fEndX->Fill(endx);
270  fEndY->Fill(endy);
271  fEndZ->Fill(endz);
272  fendplane->Fill(lastplane);
273  ftruePtof->Fill(truemomentum,ftoftime);
274  }
275 
276 // // Get raw digits out of the event
277 // art::Handle<std::vector<rawdata::RawDigit> > rawDigitHandle;
278 // std::vector<art::Ptr<rawdata::RawDigit> > rawDigits;
279 // if (evt.getByLabel(fRawDigitLabel, rawDigitHandle))
280 // art::fill_ptr_vector(rawDigits, rawDigitHandle);
281 
282  // Print number of rawdigits
283  //std::cout << "Event " << evt.event() << " has " << rawHits->size() << " raw digits." << std::endl;
284 
285  }
double E(const int i=0) const
Definition: MCParticle.h:232
int PdgCode() const
Definition: MCParticle.h:211
double EndZ() const
Definition: MCParticle.h:227
double EndY() const
Definition: MCParticle.h:226
const double j
Definition: BetheBloch.cxx:29
OStream cout
Definition: OStream.cxx:6
double Pz(const int i=0) const
Definition: MCParticle.h:231
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Definition: Ptr.h:464
double EndX() const
Definition: MCParticle.h:225
void testbeam::TestBeamCommissioning::beginJob ( )
overridevirtual

Reimplemented from art::EDAnalyzer.

Definition at line 79 of file TestBeamCommissioning_module.cc.

References fendplane, fEndX, fEndY, fEndZ, fMomentumHits, fMomentumPE, fPE, freconP, ftrueE, ftrueEhits, ftrueP, ftruePhits, ftruePtof, ftrueRecoP, and art::TFileDirectory::make().

79  {
81 
82  fPE = tfs->make<TH1D>("PE ","PE",100,0,15000);
83  freconP=tfs->make<TH1D>("RecoMomentum","RecoMomentum",100,700,1300);
84  ftrueP = tfs->make<TH1D>("trueP ","trueP",100,700,1300);
85  ftrueE=tfs->make<TH1D>("trueE","trueE",100,0,2000);
86 
87  fMomentumHits = tfs->make<TH2D>("reco momentum vs hits",";momentum vs hits;",500,700,1300,100,0,100);
88  fMomentumPE =tfs->make<TH2D>("recomomentum vs summed PE",";recomomentum vs summed PE;",500,700,1300,100,0,12000);
89  ftruePhits =tfs->make<TH2D>("true momentum vs hits ",";true momentum vs hits;",500,700,1300,100,0,100);
90  ftrueEhits =tfs->make<TH2D>("true energy vs hits",";true energy vs hits;",500,700,1800,100,0,100);
91  ftrueRecoP=tfs->make<TH2D>("true vs reco momentum",";true vs reco momentum;",500,700,1400,500,700,1400);
92  fEndX=tfs->make<TH1D>("End Position X",";End Position X;",100,0,10);
93  fEndY=tfs->make<TH1D>("End Position Y",";End Position Y;",100,0,10);
94  fEndZ=tfs->make<TH1D>("End Position Z",";End Position Z;",100,-10,0);
95  fendplane=tfs->make<TH1D>("End plane",";End plane;",65,0,65);
96  ftruePtof=tfs->make<TH2D>("True momentum vs tof","True momentum vs tof",500,700,1400,100,0,100);
97 
98  fMomentumHits->GetXaxis()->SetTitle("reco momentum (MeV)");
99  fMomentumHits->GetYaxis()->SetTitle("hits (RawDigitsize)");
100  fMomentumPE->GetXaxis()->SetTitle("Momentum (GeV)");
101  fMomentumPE->GetYaxis()->SetTitle("Total PE");
102  ftruePhits->GetXaxis()->SetTitle("True momentum (MeV)");
103  ftruePhits->GetYaxis()->SetTitle("hits (RawDigitsize)");
104 
105 
106 
107  }
T * make(ARGS...args) const
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protectedinherited
void testbeam::TestBeamCommissioning::endJob ( )
overridevirtual

Reimplemented from art::EDAnalyzer.

Definition at line 289 of file TestBeamCommissioning_module.cc.

References DEFINE_ART_MODULE().

290  {
291  // Implementation of optional member function here.
292  }
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void testbeam::TestBeamCommissioning::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 116 of file TestBeamCommissioning_module.cc.

References fRawDigitLabel, fWCTrackLabel, and fhicl::ParameterSet::get().

Referenced by TestBeamCommissioning().

116  {
117  fRawDigitLabel = pset.get<std::string>("RawDigitLabel");
118  fWCTrackLabel = pset.get<std::string>("WCTrackLabel");
119  }
T get(std::string const &key) const
Definition: ParameterSet.h:231
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

36  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inlineinherited

Definition at line 109 of file EDAnalyzer.h.

References art::EDAnalyzer::currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Member Data Documentation

TH1D* testbeam::TestBeamCommissioning::fendplane
private

Definition at line 70 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::fEndX
private

Definition at line 67 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::fEndY
private

Definition at line 68 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::fEndZ
private

Definition at line 69 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::fMomentumHits
private

Definition at line 62 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::fMomentumPE
private

Definition at line 63 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::fPE
private

Definition at line 58 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

std::string testbeam::TestBeamCommissioning::fRawDigitLabel
private

Definition at line 72 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and reconfigure().

TH1D* testbeam::TestBeamCommissioning::freconP
private

Definition at line 59 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::ftrueE
private

Definition at line 61 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::ftrueEhits
private

Definition at line 65 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH1D* testbeam::TestBeamCommissioning::ftrueP
private

Definition at line 60 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::ftruePhits
private

Definition at line 64 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::ftruePtof
private

Definition at line 71 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

TH2D* testbeam::TestBeamCommissioning::ftrueRecoP
private

Definition at line 66 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and beginJob().

std::string testbeam::TestBeamCommissioning::fWCTrackLabel
private

Definition at line 73 of file TestBeamCommissioning_module.cc.

Referenced by analyze(), and reconfigure().


The documentation for this class was generated from the following file: