Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
calhit::CalHitAna Class Reference
Inheritance diagram for calhit::CalHitAna:
art::EDAnalyzer art::detail::Analyzer art::detail::LegacyModule art::Observer art::ModuleBase

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 CalHitAna (fhicl::ParameterSet const &pset)
 
virtual ~CalHitAna ()
 
void analyze (art::Event const &evt)
 
void beginJob ()
 
void reconfigure (const fhicl::ParameterSet &pset)
 
std::string workerType () const
 
void doBeginJob ()
 
void doEndJob ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenOutputFiles (FileBlock const &fb)
 
void doRespondToCloseOutputFiles (FileBlock const &fb)
 
bool doBeginRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doEndRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed)
 
void registerProducts (ProductDescriptions &, ModuleDescription const &)
 
void fillDescriptions (ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
Handle< TriggerResults > getTriggerResults (Event const &e) const
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables () const
 
void sortConsumables (std::string const &current_process_name)
 
template<typename T , BranchType BT>
ViewToken< TconsumesView (InputTag const &tag)
 
template<typename T , BranchType BT>
ViewToken< TmayConsumeView (InputTag const &tag)
 

Protected Member Functions

detail::ProcessAndEventSelectors & processAndEventSelectors ()
 
ConsumesCollector & consumesCollector ()
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 

Private Member Functions

void FillTruthInfo (const art::Ptr< rb::CellHit > &hit)
 

Private Attributes

TTree * fHitTree
 Tree that gets filled for every hit. More...
 
TTree * fNonNoiseHitTree
 Tree that gets filled for every hit. More...
 
TTree * fEvtTree
 Tree that gets filled for every event. More...
 
float fPe
 PE of the CellHit. More...
 
int fAdc
 ADC0 of the CellHit. More...
 
int fTdc
 TDC0 of the CellHit. More...
 
float fTns
 TNS of the CellHit. More...
 
float fFLSTime
 Energy weighted time of energy deposit in cell. More...
 
float fReadDist
 Distance to readout APD from energy deposit (with pigtail) More...
 
float fFLSEnergy
 FLS Energy in this hit. More...
 
int fIsNoise
 Is this hit a noise? More...
 
int fIsGoodTiming
 Good timing for this hit? More...
 
float fNFLSHits
 Number of FLSHits in this hit. More...
 
unsigned int fPlane
 Plane of the CellHit. More...
 
unsigned int fCell
 Cell of the CellHit. More...
 
int fNoise
 Number of noise hits in event. More...
 
int fPhysics
 Number of physics hits in event. More...
 
int fAllHits
 Number of all hits in event. More...
 
float fPePerTrueE
 PE per True Energy in event. More...
 
float fAdcPerTrueE
 ADC per True Energy in event. More...
 
std::string fCellHitLabel
 Module label name from where to grab CellHits. More...
 
std::string fSlicerLabel
 Module label for slices. More...
 

Detailed Description

Definition at line 29 of file CalHitAna_module.cc.

Member Typedef Documentation

Definition at line 25 of file EDAnalyzer.h.

using art::EDAnalyzer::WorkerType = WorkerT<EDAnalyzer>
inherited

Definition at line 24 of file EDAnalyzer.h.

Constructor & Destructor Documentation

calhit::CalHitAna::CalHitAna ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 79 of file CalHitAna_module.cc.

References reconfigure().

80  : EDAnalyzer(pset)
81  {
82  this->reconfigure(pset);
83  }
void reconfigure(const fhicl::ParameterSet &pset)
EDAnalyzer(fhicl::ParameterSet const &pset)
Definition: EDAnalyzer.h:27
calhit::CalHitAna::~CalHitAna ( )
virtual

Definition at line 90 of file CalHitAna_module.cc.

90 { }

Member Function Documentation

void calhit::CalHitAna::analyze ( art::Event const &  evt)
virtual

Implements art::EDAnalyzer.

Definition at line 155 of file CalHitAna_module.cc.

References rawdata::RawDigit::ADC(), rb::CellHit::Cell(), fAdc, fAdcPerTrueE, fAllHits, fCell, fCellHitLabel, fEvtTree, fFLSEnergy, fFLSTime, fHitTree, FillTruthInfo(), fIsGoodTiming, fIsNoise, fNFLSHits, fNoise, fNonNoiseHitTree, fPe, fPePerTrueE, fPhysics, fPlane, fReadDist, fSlicerLabel, fTdc, fTns, geom(), art::DataViewImpl::getByLabel(), rb::CellHit::GoodTiming(), cheat::BackTracker::HaveTruthInfo(), cheat::BackTracker::HitToFLSHit(), MECModelEnuComparisons::i, makeTrainCVSamples::int, cheat::BackTracker::IsNoise(), calib::j, rb::CellHit::PE(), rb::CellHit::Plane(), rawdata::RawDigit::TDC(), and rb::CellHit::TNS().

155  {
156 
158 
160  evt.getByLabel(fCellHitLabel, cHitCol);
161 
163  evt.getByLabel(fSlicerLabel, sliceHandle);
164 
165  // Set default values
166 
167  fPlane = -5;
168  fCell = -5;
169  fPe = -5;
170  fTdc = -5;
171  fTns = -5;
172  fAdc = -5;
173  fNoise = -5;
174  fPePerTrueE = -5;
175 
177 
178  // Fill the hit tree
179  for(int i = 0; i < (int)cHitCol->size(); ++i){
180  art::Ptr< rb::CellHit> hit(cHitCol, i);
181  fPlane = hit->Plane();
182  fCell = hit->Cell();
183  fPe = hit->PE();
184  fAdc = hit->ADC();
185  fTdc = hit->TDC();
186  fTns = hit->TNS();
187  fIsGoodTiming = hit->GoodTiming();
188 
189  if(bt->HaveTruthInfo())
191  else{
192  fFLSEnergy = -5;
193  fIsNoise = -5;
194  fFLSTime = -5;
195  fReadDist = -5;
196  fNFLSHits = -5;
197  }
198  fHitTree->Fill();
199  }
200 
201  // Fill tree for non-noise slices
202  int nsli = sliceHandle->size();
203  for(int isli = 0; isli < nsli; isli++){
204  if(sliceHandle->at(isli).IsNoise() )
205  continue;
206 
207  // Fill the non-noise hit tree
208  int nhits = sliceHandle->at(isli).NCell();
209  for(int ic = 0; ic < nhits; ++ic){
210  art::Ptr< rb::CellHit> hit = sliceHandle->at(isli).Cell(ic);
211  fPlane = hit->Plane();
212  fCell = hit->Cell();
213  fPe = hit->PE();
214  fAdc = hit->ADC();
215  fTdc = hit->TDC();
216  fTns = hit->TNS();
217  fIsGoodTiming = hit->GoodTiming();
218 
219  if(bt->HaveTruthInfo())
220  FillTruthInfo(hit);
221  else{
222  fFLSEnergy = -5;
223  fIsNoise = -5;
224  fFLSTime = -5;
225  fReadDist = -5;
226  fNFLSHits = -5;
227  }
228  fNonNoiseHitTree->Fill();
229  }// end loop over slice hits
230 
231  }// end loop over slices
232  // If truth information is available, fill event tree
233  if( bt->HaveTruthInfo()){
234  fNoise = 0;
235  fPePerTrueE = 0;
236  float totPe = 0;
237  float totAdc= 0;
238  float totE = 0;
239  fAllHits = cHitCol->size();
240 
241  for(int i = 0; i < fAllHits; ++i){
242  art::Ptr< rb::CellHit> hit(cHitCol, i);
243 
244  if( bt->IsNoise(hit) ){
245  fNoise += 1;
246  continue;
247  }
248  else
249  fPhysics += 1;
250 
251  const std::vector< sim::FLSHit > flsHits = bt->HitToFLSHit(hit);
252  for(int j = 0; j < (int)flsHits.size(); j++){
253  totE += flsHits[j].GetEdep();
254  }//End loop over flshits in hit
255 
256  totPe += hit->PE();
257  totAdc+= hit->ADC();
258  }// End loop over hits
259 
260  if( totE != 0){
261  fPePerTrueE = totPe/totE;
262  fAdcPerTrueE = totAdc/totE;
263  }
264  fEvtTree->Fill();
265  }// EndIf HaveTruthInfo
266 
267  }// End of analyser
float TNS() const
Definition: CellHit.h:46
unsigned int fPlane
Plane of the CellHit.
float fPe
PE of the CellHit.
int fIsNoise
Is this hit a noise?
int32_t TDC() const
The time of the last baseline sample.
Definition: RawDigit.h:94
int fTdc
TDC0 of the CellHit.
unsigned short Plane() const
Definition: CellHit.h:39
unsigned int fCell
Cell of the CellHit.
TTree * fEvtTree
Tree that gets filled for every event.
float fReadDist
Distance to readout APD from energy deposit (with pigtail)
int fIsGoodTiming
Good timing for this hit?
std::string fCellHitLabel
Module label name from where to grab CellHits.
int fAdc
ADC0 of the CellHit.
bool IsNoise(const art::Ptr< rb::CellHit > &hit) const
Is this hit not associated with any particles?
unsigned short Cell() const
Definition: CellHit.h:40
float fFLSEnergy
FLS Energy in this hit.
TTree * fHitTree
Tree that gets filled for every hit.
std::vector< sim::FLSHit > HitToFLSHit(const rb::CellHit &hit) const
All the FLSHits that contributed to this hit, sorted from most to least light.
int evt
float PE() const
Definition: CellHit.h:42
int fNoise
Number of noise hits in event.
const double j
Definition: BetheBloch.cxx:29
float fTns
TNS of the CellHit.
float fFLSTime
Energy weighted time of energy deposit in cell.
float fPePerTrueE
PE per True Energy in event.
std::string fSlicerLabel
Module label for slices.
int16_t ADC(uint32_t i) const
Definition: RawDigit.cxx:58
Definition: structs.h:12
void geom(int which=0)
Definition: geom.C:163
bool HaveTruthInfo() const
Is this a file with truth info in? (Is BackTracker going to be any use to you?)
Definition: BackTracker.h:137
void FillTruthInfo(const art::Ptr< rb::CellHit > &hit)
float fNFLSHits
Number of FLSHits in this hit.
int fPhysics
Number of physics hits in event.
TTree * fNonNoiseHitTree
Tree that gets filled for every hit.
float fAdcPerTrueE
ADC per True Energy in event.
bool GoodTiming() const
Definition: CellHit.h:48
int fAllHits
Number of all hits in event.
void calhit::CalHitAna::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 107 of file CalHitAna_module.cc.

References fAdc, fAdcPerTrueE, fAllHits, fCell, fEvtTree, fFLSEnergy, fFLSTime, fHitTree, fIsGoodTiming, fIsNoise, fNFLSHits, fNoise, fNonNoiseHitTree, fPe, fPePerTrueE, fPhysics, fPlane, fReadDist, fTdc, and fTns.

107  {
108 
110 
111  fHitTree = tfs->make<TTree>("fHitTree","fHitTree");
112 
113  fHitTree->Branch("Pe", &fPe);
114  fHitTree->Branch("Adc", &fAdc);
115  fHitTree->Branch("Tdc", &fTdc);
116  fHitTree->Branch("Tns" , &fTns);
117  fHitTree->Branch("FlsTime", &fFLSTime);
118  fHitTree->Branch("ReadDist", &fReadDist);
119  fHitTree->Branch("Plane", &fPlane);
120  fHitTree->Branch("Cell", &fCell);
121  fHitTree->Branch("NFlsHits", &fNFLSHits);
122  fHitTree->Branch("FlsEnergy", &fFLSEnergy);
123  fHitTree->Branch("IsNoise", &fIsNoise);
124  fHitTree->Branch("IsGoodTiming", &fIsGoodTiming);
125 
126  fNonNoiseHitTree = tfs->make<TTree>("fNonNoiseHitTree","fNonNoiseHitTree");
127 
128  fNonNoiseHitTree->Branch("Pe", &fPe);
129  fNonNoiseHitTree->Branch("Adc", &fAdc);
130  fNonNoiseHitTree->Branch("Tdc", &fTdc);
131  fNonNoiseHitTree->Branch("Tns" , &fTns);
132  fNonNoiseHitTree->Branch("FlsTime", &fFLSTime);
133  fNonNoiseHitTree->Branch("ReadDist", &fReadDist);
134  fNonNoiseHitTree->Branch("Plane", &fPlane);
135  fNonNoiseHitTree->Branch("Cell", &fCell);
136  fNonNoiseHitTree->Branch("NFlsHits", &fNFLSHits);
137  fNonNoiseHitTree->Branch("FlsEnergy", &fFLSEnergy);
138  fNonNoiseHitTree->Branch("IsNoise", &fIsNoise);
139  fNonNoiseHitTree->Branch("IsGoodTiming", &fIsGoodTiming);
140 
141  fEvtTree = tfs->make<TTree>("fEvtTree","fEvtTree");
142 
143  fEvtTree->Branch("Noise", &fNoise);
144  fEvtTree->Branch("PePerTrueE", &fPePerTrueE);
145  fEvtTree->Branch("AdcPerTrueE",&fAdcPerTrueE);
146  fEvtTree->Branch("Physics", &fPhysics);
147  fEvtTree->Branch("AllHits", &fAllHits);
148  }
unsigned int fPlane
Plane of the CellHit.
float fPe
PE of the CellHit.
int fIsNoise
Is this hit a noise?
int fTdc
TDC0 of the CellHit.
unsigned int fCell
Cell of the CellHit.
TTree * fEvtTree
Tree that gets filled for every event.
float fReadDist
Distance to readout APD from energy deposit (with pigtail)
int fIsGoodTiming
Good timing for this hit?
int fAdc
ADC0 of the CellHit.
float fFLSEnergy
FLS Energy in this hit.
TTree * fHitTree
Tree that gets filled for every hit.
int fNoise
Number of noise hits in event.
float fTns
TNS of the CellHit.
float fFLSTime
Energy weighted time of energy deposit in cell.
float fPePerTrueE
PE per True Energy in event.
float fNFLSHits
Number of FLSHits in this hit.
int fPhysics
Number of physics hits in event.
TTree * fNonNoiseHitTree
Tree that gets filled for every hit.
float fAdcPerTrueE
ADC per True Energy in event.
int fAllHits
Number of all hits in event.
template<typename T , BranchType BT>
ProductToken< T > art::ModuleBase::consumes ( InputTag const &  tag)
protectedinherited

Definition at line 55 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::consumes(), T, and getGoodRuns4SAM::tag.

56  {
57  return collector_.consumes<T, BT>(tag);
58  }
ConsumesCollector collector_
Definition: ModuleBase.h:50
ProductToken< T > consumes(InputTag const &)
double T
Definition: Xdiff_gwt.C:5
ConsumesCollector& art::ModuleBase::consumesCollector ( )
protectedinherited
template<typename T , BranchType BT>
void art::ModuleBase::consumesMany ( )
protectedinherited

Definition at line 69 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::consumesMany(), and T.

70  {
71  collector_.consumesMany<T, BT>();
72  }
ConsumesCollector collector_
Definition: ModuleBase.h:50
double T
Definition: Xdiff_gwt.C:5
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::ModuleBase::consumesView ( InputTag const &  )
protectedinherited
template<typename T , BranchType BT>
ViewToken<T> art::ModuleBase::consumesView ( InputTag const &  tag)
inherited

Definition at line 62 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::consumesView(), T, and getGoodRuns4SAM::tag.

63  {
64  return collector_.consumesView<T, BT>(tag);
65  }
ConsumesCollector collector_
Definition: ModuleBase.h:50
ViewToken< Element > consumesView(InputTag const &)
double T
Definition: Xdiff_gwt.C:5
void art::detail::Analyzer::doBeginJob ( )
inherited
bool art::detail::Analyzer::doBeginRun ( RunPrincipal rp,
ModuleContext const &  mc 
)
inherited
bool art::detail::Analyzer::doBeginSubRun ( SubRunPrincipal srp,
ModuleContext const &  mc 
)
inherited
void art::detail::Analyzer::doEndJob ( )
inherited
bool art::detail::Analyzer::doEndRun ( RunPrincipal rp,
ModuleContext const &  mc 
)
inherited
bool art::detail::Analyzer::doEndSubRun ( SubRunPrincipal srp,
ModuleContext const &  mc 
)
inherited
bool art::detail::Analyzer::doEvent ( EventPrincipal ep,
ModuleContext const &  mc,
std::atomic< std::size_t > &  counts_run,
std::atomic< std::size_t > &  counts_passed,
std::atomic< std::size_t > &  counts_failed 
)
inherited
void art::detail::Analyzer::doRespondToCloseInputFile ( FileBlock const &  fb)
inherited
void art::detail::Analyzer::doRespondToCloseOutputFiles ( FileBlock const &  fb)
inherited
void art::detail::Analyzer::doRespondToOpenInputFile ( FileBlock const &  fb)
inherited
void art::detail::Analyzer::doRespondToOpenOutputFiles ( FileBlock const &  fb)
inherited
void art::Observer::fillDescriptions ( ModuleDescription const &  )
inherited
void calhit::CalHitAna::FillTruthInfo ( const art::Ptr< rb::CellHit > &  hit)
private

Definition at line 271 of file CalHitAna_module.cc.

References DEFINE_ART_MODULE(), fFLSEnergy, fFLSTime, fIsNoise, fNFLSHits, fReadDist, calib::GetXYZD(), cheat::BackTracker::HitToFLSHit(), cheat::BackTracker::IsNoise(), geo::kX, geo::kY, rb::CellHit::OfflineChan(), rb::CellHit::View(), and w.

Referenced by analyze().

272  {
274  const std::vector< sim::FLSHit> flsHits = bt->HitToFLSHit(hit);
275  fNFLSHits = flsHits.size();
276  fIsNoise = bt->IsNoise(hit);
277  fFLSEnergy= 0;
278  fFLSTime = 0;
279 
280  // calculate the total FLS energy, energy weighted time
281  // and distance from readout.
282  double w = 0.0;
283  for( int ifls = 0; ifls < fNFLSHits; ifls++){
284  fFLSEnergy += flsHits[ifls].GetEdepBirks();
285  fFLSTime += flsHits[ifls].GetEdepBirks()*
286  (flsHits[0].GetEntryT() +flsHits[0].GetExitT())/2.0;
287 
288  if (hit->View() == geo::kX)
289  w = flsHits[ifls].GetEdepBirks()*
290  (flsHits[0].GetEntryY() + flsHits[0].GetExitY())/2.0;
291 
292  if (hit->View() == geo::kY)
293  w = flsHits[ifls].GetEdepBirks()*
294  (flsHits[0].GetEntryX() + flsHits[0].GetExitX())/2.0;
295 
296  }// end loop over FLS Hits
297 
298  if(fFLSEnergy > 0){
300  double xyzd[4];
301  w = w/fFLSEnergy;
302  calib::GetXYZD(hit->OfflineChan(),w,xyzd);
303  fReadDist = xyzd[3];
304 
305  }
306 
307  }
int fIsNoise
Is this hit a noise?
geo::View_t View() const
Definition: CellHit.h:41
Vertical planes which measure X.
Definition: PlaneGeo.h:28
float fReadDist
Distance to readout APD from energy deposit (with pigtail)
geo::OfflineChan OfflineChan() const
Definition: CellHit.h:49
Horizontal planes which measure Y.
Definition: PlaneGeo.h:29
bool IsNoise(const art::Ptr< rb::CellHit > &hit) const
Is this hit not associated with any particles?
float fFLSEnergy
FLS Energy in this hit.
std::vector< sim::FLSHit > HitToFLSHit(const rb::CellHit &hit) const
All the FLSHits that contributed to this hit, sorted from most to least light.
void GetXYZD(geo::OfflineChan chan, double w, double *xyzd)
Return position in world coordninates and distance to the readout.
Definition: CalibUtil.cxx:294
float fFLSTime
Energy weighted time of energy deposit in cell.
float fNFLSHits
Number of FLSHits in this hit.
Float_t w
Definition: plot.C:20
std::array<std::vector<ProductInfo>, NumBranchTypes> const& art::ModuleBase::getConsumables ( ) const
inherited
Handle<TriggerResults> art::Observer::getTriggerResults ( Event const &  e) const
inherited
template<typename T , BranchType BT>
ProductToken< T > art::ModuleBase::mayConsume ( InputTag const &  tag)
protectedinherited

Definition at line 76 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::mayConsume(), T, and getGoodRuns4SAM::tag.

77  {
78  return collector_.mayConsume<T, BT>(tag);
79  }
ProductToken< T > mayConsume(InputTag const &)
ConsumesCollector collector_
Definition: ModuleBase.h:50
double T
Definition: Xdiff_gwt.C:5
template<typename T , BranchType BT>
void art::ModuleBase::mayConsumeMany ( )
protectedinherited

Definition at line 90 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::mayConsumeMany(), and T.

91  {
93  }
ConsumesCollector collector_
Definition: ModuleBase.h:50
double T
Definition: Xdiff_gwt.C:5
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::ModuleBase::mayConsumeView ( InputTag const &  )
protectedinherited
template<typename T , BranchType BT>
ViewToken<T> art::ModuleBase::mayConsumeView ( InputTag const &  tag)
inherited

Definition at line 83 of file ModuleBase.h.

References art::ModuleBase::collector_, art::ConsumesCollector::mayConsumeView(), T, and getGoodRuns4SAM::tag.

84  {
85  return collector_.mayConsumeView<T, BT>(tag);
86  }
ConsumesCollector collector_
Definition: ModuleBase.h:50
ViewToken< Element > mayConsumeView(InputTag const &)
double T
Definition: Xdiff_gwt.C:5
ModuleDescription const& art::ModuleBase::moduleDescription ( ) const
inherited
detail::ProcessAndEventSelectors& art::Observer::processAndEventSelectors ( )
protectedinherited
std::string const& art::Observer::processName ( ) const
inherited
void calhit::CalHitAna::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 97 of file CalHitAna_module.cc.

References fCellHitLabel, fSlicerLabel, fhicl::ParameterSet::get(), and string.

Referenced by CalHitAna().

98  {
99  fCellHitLabel = pset.get<std::string>("CellHitLabel");
100  fSlicerLabel = pset.get<std::string>("SlicerLabel");
101  }
std::string fCellHitLabel
Module label name from where to grab CellHits.
T get(std::string const &key) const
Definition: ParameterSet.h:231
std::string fSlicerLabel
Module label for slices.
enum BeamMode string
void art::Observer::registerProducts ( ProductDescriptions ,
ModuleDescription const &   
)
inherited
fhicl::ParameterSetID art::Observer::selectorConfig ( ) const
inherited
void art::ModuleBase::setModuleDescription ( ModuleDescription const &  )
inherited
void art::ModuleBase::sortConsumables ( std::string const &  current_process_name)
inherited
bool art::Observer::wantAllEvents ( ) const
inherited
bool art::Observer::wantEvent ( Event const &  e)
inherited
std::string art::EDAnalyzer::workerType ( ) const
inherited

Member Data Documentation

int calhit::CalHitAna::fAdc
private

ADC0 of the CellHit.

Definition at line 48 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fAdcPerTrueE
private

ADC per True Energy in event.

Definition at line 66 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

int calhit::CalHitAna::fAllHits
private

Number of all hits in event.

Definition at line 64 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

unsigned int calhit::CalHitAna::fCell
private

Cell of the CellHit.

Definition at line 58 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

std::string calhit::CalHitAna::fCellHitLabel
private

Module label name from where to grab CellHits.

Definition at line 68 of file CalHitAna_module.cc.

Referenced by analyze(), and reconfigure().

TTree* calhit::CalHitAna::fEvtTree
private

Tree that gets filled for every event.

Definition at line 45 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fFLSEnergy
private

FLS Energy in this hit.

Definition at line 53 of file CalHitAna_module.cc.

Referenced by analyze(), beginJob(), and FillTruthInfo().

float calhit::CalHitAna::fFLSTime
private

Energy weighted time of energy deposit in cell.

Definition at line 51 of file CalHitAna_module.cc.

Referenced by analyze(), beginJob(), and FillTruthInfo().

TTree* calhit::CalHitAna::fHitTree
private

Tree that gets filled for every hit.

Definition at line 43 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

int calhit::CalHitAna::fIsGoodTiming
private

Good timing for this hit?

Definition at line 55 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

int calhit::CalHitAna::fIsNoise
private

Is this hit a noise?

Definition at line 54 of file CalHitAna_module.cc.

Referenced by analyze(), beginJob(), and FillTruthInfo().

float calhit::CalHitAna::fNFLSHits
private

Number of FLSHits in this hit.

Definition at line 56 of file CalHitAna_module.cc.

Referenced by analyze(), beginJob(), and FillTruthInfo().

int calhit::CalHitAna::fNoise
private

Number of noise hits in event.

Definition at line 62 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

TTree* calhit::CalHitAna::fNonNoiseHitTree
private

Tree that gets filled for every hit.

Definition at line 44 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fPe
private

PE of the CellHit.

Definition at line 47 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fPePerTrueE
private

PE per True Energy in event.

Definition at line 65 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

int calhit::CalHitAna::fPhysics
private

Number of physics hits in event.

Definition at line 63 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

unsigned int calhit::CalHitAna::fPlane
private

Plane of the CellHit.

Definition at line 57 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fReadDist
private

Distance to readout APD from energy deposit (with pigtail)

Definition at line 52 of file CalHitAna_module.cc.

Referenced by analyze(), beginJob(), and FillTruthInfo().

std::string calhit::CalHitAna::fSlicerLabel
private

Module label for slices.

Definition at line 69 of file CalHitAna_module.cc.

Referenced by analyze(), and reconfigure().

int calhit::CalHitAna::fTdc
private

TDC0 of the CellHit.

Definition at line 49 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().

float calhit::CalHitAna::fTns
private

TNS of the CellHit.

Definition at line 50 of file CalHitAna_module.cc.

Referenced by analyze(), and beginJob().


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