The LHCf (Large Hadron Collider forward) is a special-purpose Large Hadron Collider experiment for astroparticle (cosmic ray) physics, and one of nine detectors in the LHC accelerator at CERN. LHCf is designed to study the particles generated in the forward region of collisions, those almost directly in line with the colliding proton beams.